Created
June 15, 2016 16:54
-
-
Save andrewbates09/33fb770763e573bea93e19e3398a2506 to your computer and use it in GitHub Desktop.
Multiboot GRUB config
This file contains 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 | |
insmod part_gpt | |
insmod part_msdos | |
set imgdevpath="/dev/disk/by-uuid/UUID" | |
# Menu Colours | |
set menu_color_normal=light-gray/black | |
set menu_color_highlight=green/black | |
function load_video { | |
if [ x$feature_all_video_module = xy ]; then | |
insmod all_video | |
else | |
insmod efi_gop | |
insmod efi_uga | |
insmod ieee1275_fb | |
insmod vbe | |
insmod vga | |
insmod video_bochs | |
insmod video_cirrus | |
fi | |
} | |
if loadfont unicode ; then | |
set gfxmode=auto | |
load_video | |
insmod gfxterm | |
set locale_dir=$prefix/locale | |
set lang=en_US | |
insmod gettext | |
fi | |
terminal_input console | |
terminal_output gfxterm | |
# Menu entries | |
menuentry "Tiny Core - Lite Linux" { | |
set iso="/iso/TinyCore-current.iso" | |
loopback loop $iso | |
linux (loop)/boot/vmlinuz cde waitusb=5 iso=/mnt/sdb1$iso | |
initrd (loop)/boot/core.gz | |
} | |
menuentry "Tiny Core Plus- Lite Linux" { | |
set iso="/iso/CorePlus-current.iso" | |
loopback loop $iso | |
linux (loop)/boot/vmlinuz cde waitusb=5 iso=/mnt/sdb1$iso | |
initrd (loop)/boot/core.gz | |
} | |
menuentry "TAILS - The Amnesic Incognito Live System" { | |
set iso="/iso/tails-i386-1.5.1.iso" | |
loopback loop $iso | |
linux (loop)/live/vmlinuz boot=live config live-media=removable nopersistent noprompt quiet timezone=America/Toronto block.events_dfl_poll_msecs=1000 splash nox11autologin module=Tails findiso=$iso quiet_ | |
initrd (loop)/live/initrd.img | |
} | |
menuentry "Debian 8.2.0 i386 install" { | |
set iso="/iso/debian-live-8.2.0-i386-standard.iso" | |
loopback loop $iso | |
linux (loop)/install/vmlinuz iso-scan/filename=$iso shared/ask_device=manual shared/enter_device=$imgdevpath no-prompt no-eject | |
initrd (loop)/install/initrd.gz | |
} | |
menuentry "Debian 8.2.0 i386 live - user:live" { | |
set iso="/iso/debian-live-8.2.0-i386-standard.iso" | |
loopback loop $iso | |
linux (loop)/live/vmlinuz2 boot=live components quiet splash toram=filesystem.squashfs findiso=$iso | |
initrd (loop)/live/initrd2.img | |
} | |
menuentry "Debian 8.2.0 amd64 live - user:live" { | |
set iso="/iso/debian-live-8.2.0-amd64-standard.iso" | |
loopback loop $iso | |
linux (loop)/live/vmlinuz boot=live components quiet splash toram=filesystem.squashfs findiso=$iso | |
initrd (loop)/live/initrd.img | |
} | |
menuentry "Centos 7 Minimal - iso loop" { | |
set iso="/iso/CentOS-7-x86_64-Minimal-1503-01.iso" | |
loopback loop $iso | |
linux (loop)/isolinux/vmlinuz ro liveimg quiet nodiskmount nolvmmount live_dir=/LiveOS | |
linux (loop)/isolinux/initrd.img | |
} | |
menuentry "Linux Mint 17 xfce x86" { | |
set iso="/iso/linuxmint-17.2-xfce-32bit.iso" | |
loopback loop $iso | |
set gfxpayload=keep | |
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$iso noprompt noeject quiet splash -- | |
#linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper findiso=$iso quiet splash -- | |
initrd (loop)/casper/initrd.lz | |
} | |
menuentry "Linux Mint 17 xfce x86 (compatibility)" { | |
set iso="/iso/linuxmint-17.2-xfce-32bit.iso" | |
loopback loop $iso | |
linux (loop)/casper/vmlinuz boot=casper xforcevesa iso-scan/filename=$iso ramdisk_size=1048576 root=/dev/ram rw noapic noapci nosplash irqpoll -- | |
#linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper xforcevesa iso-scan/filename=${iso_path} ramdisk_size=1048576 root=/dev/ram rw noapic noapci nosplash irqpoll -- | |
initrd (loop)/casper/initrd.lz | |
} | |
menuentry "Ubuntu 14.04 Bloaty Buffalo x86" { | |
set iso="/iso/ubuntu-14.04.3-desktop-i386.iso" | |
loopback loop $iso | |
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$iso noprompt noeject quiet splash -- | |
initrd (loop)/casper/initrd.lz | |
} | |
menuentry "GParted" { | |
set iso="/iso/gparted-live-0.23.0-1-i586.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 | |
} | |
menuentry "" { | |
linux16 /boot/memtest86+-5.01.iso | |
} | |
menuentry "panic" { | |
echo "System shutting down..." | |
halt | |
} | |
menuentry "tl’dr" { | |
echo "System rebooting..." | |
reboot | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment