Last active
August 29, 2015 14:08
-
-
Save noisufnoc/e0053d738f5fbb679535 to your computer and use it in GitHub Desktop.
usb stick grub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Config for GNU GRand Unified Bootloader (GRUB) | |
# /boot/grub/grub.cfg | |
# Timeout for menu | |
set timeout=30 | |
# Default boot entry | |
set default=0 | |
# Menu Colours | |
set menu_color_normal=white/black | |
set menu_color_highlight=white/cyan | |
# ISOs | |
submenu 'Arch Linux' { | |
menuentry "ArchLinux x86_64" { | |
set iso="/iso/archlinux-2014.06.01-dual.iso" | |
loopback loop $iso | |
linux (loop)/arch/boot/x86_64/vmlinuz archisolabel=ARCH_201406 img_dev=/dev/disk/by-label/UNJEB img_loop=$iso earlymodules=loop | |
initrd (loop)/arch/boot/x86_64/archiso.img | |
} | |
menuentry "ArchLinux 32 Bit" { | |
set iso="/iso/archlinux-2014.06.01-dual.iso" | |
loopback loop $iso | |
linux (loop)/arch/boot/i686/vmlinuz archisolabel=ARCH_201406 img_dev=/dev/disk/by-label/UNJEB img_loop=$iso earlymodules=loop | |
initrd (loop)/arch/boot/i686/archiso.img | |
} | |
} | |
submenu 'CentOS Linux' { | |
menuentry "CentOS 6 x86_64 minimal" { | |
set iso="/iso/CentOS-6.5-x86_64-minimal.iso" | |
loopback loop $iso | |
linux (loop)/isolinux/vmlinuz noeject inst.stage2=hd:LABEL=UNJEB:/$iso | |
initrd (loop)/isolinux/initrd.img | |
} | |
menuentry "CentOS 6 x86_64 minimal with basic video driver" { | |
set iso="/iso/CentOS-6.5-x86_64-minimal.iso" | |
loopback loop $iso | |
linux (loop)/isolinux/vmlinuz noeject inst.stage2=hd:LABEL=UNJEB:/$iso xdriver=vesa nomodset askmethod | |
initrd (loop)/isolinux/initrd.img | |
} | |
} | |
submenu 'Ubuntu Linux' { | |
menuentry "Ubuntu 13.10 Saucy Salamander - 64bit Mini-Installer" { | |
set iso="/iso/ubuntu-13.10-amd64-mini.iso" | |
loopback loop $iso | |
linux (loop)/linux boot=casper iso-scan/filename=$iso noprompt noeject | |
initrd (loop)/initrd.gz | |
} | |
} | |
submenu 'Xbuntu Linux' { | |
menuentry "Xbuntu 14.04 Beta - 64bit" { | |
set iso="/iso/xubuntu-14.04-beta1-desktop-amd64.iso" | |
loopback loop $iso | |
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$iso noprompt noeject splash -- | |
initrd (loop)/casper/initrd.lz | |
} | |
} | |
submenu 'Finnix Linux Rescue' { | |
menuentry "Boot Finnix 109 (64-bit)" { | |
set iso="/iso/finnix-109.iso" | |
loopback loop $iso | |
linux (loop)/boot/x86/linux64 findiso=$iso vga=791 nomodeset quiet -- | |
initrd (loop)/boot/x86/initrd.xz | |
} | |
menuentry "Boot Finnix 109 (64-bit, text mode)" { | |
set iso="/iso/finnix-109.iso" | |
loopback loop $iso | |
linux /boot/x86/linux64 findiso=$iso vga=normal nomodeset quiet -- | |
initrd /boot/x86/initrd.xz | |
} | |
menuentry "Boot Finnix 109 (32-bit)" { | |
set iso="/iso/finnix-109.iso" | |
loopback loop $iso | |
linux /boot/x86/linux findiso=$iso vga=791 nomodeset quiet -- | |
initrd /boot/x86/initrd.xz | |
} | |
menuentry "Boot Finnix 109 (32-bit, text mode)" { | |
set iso="/iso/finnix-109.iso" | |
loopback loop $iso | |
linux /boot/x86/linux findiso=${iso_path} vga=normal nomodeset quiet -- | |
initrd /boot/x86/initrd.xz | |
} | |
} | |
submenu 'Utils' { | |
menuentry "Memtest 86+" { | |
linux16 /iso/memtest86+.bin | |
} | |
menuentry "GParted Live - Partition Editor" { | |
set iso="/iso/gparted-live.iso" | |
loopback loop $iso | |
linux (loop)/live/vmlinuz boot=live config union=aufs noswap noprompt ip=frommedia toram=filesystem.squashfs findiso=$iso | |
initrd (loop)/live/initrd.img | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jackpot.