Last active
May 14, 2020 16:28
-
-
Save Lewiscowles1986/ca07d7b6a39e36115b103daab40d67d0 to your computer and use it in GitHub Desktop.
multiboot USB Linux goodness
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
# This grub.cfg file was created by Lance http://www.pendrivelinux.com | |
# Suggested Entries and the suggestor, if available, will also be noted. | |
set timeout=10 | |
set default=0 | |
set gfxpayload=keep | |
submenu "Ubuntu" { | |
menuentry "Ubuntu Desktop ISO" { | |
set isofile=/ubuntu.iso | |
loopback loop $isofile | |
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noeject noprompt splash -- | |
initrd (loop)/casper/initrd.lz | |
} | |
menuentry "Ubuntu Server ISO" { | |
set isofile=/ubuntu-server.iso | |
loopback loop $isofile | |
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noeject noprompt splash -- | |
initrd (loop)/casper/initrd | |
} | |
menuentry "Ubuntu Server ISO - OEM install (for manufacturers)" { | |
set isofile=/ubuntu-server.iso | |
loopback loop $isofile | |
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noeject only-ubiquity quiet splash oem-config/enable=true --- | |
initrd (loop)/casper/initrd | |
} | |
} | |
menuentry "OpenSUSE Leap ISO - Blacklist + Nomodeset nouveau" { | |
set isofile=/openSUSE-Leap.iso | |
set root=(hd0,1) | |
loopback loop $isofile | |
echo 'Loading kernel ...' | |
linux (loop)/boot/x86_64/loader/linux iso-scan/filename=$isofile noeject install=hd:$isofile rd.driver.blacklist=nouveau nouveau.modeset=0 splash=silent | |
echo 'Loading initial ramdisk ...' | |
initrd (loop)/boot/x86_64/loader/initrd | |
} | |
submenu "Fedora" { | |
menuentry "Fedora Desktop ISO" { | |
set isofile=/fedora.iso | |
loopback loop $isofile | |
linux (loop)/images/pxeboot/vmlinuz iso-scan/filename=$isofile noeject root=live:CDLABEL=Fedora-WS-Live-28-1-1 rd.live.image quiet | |
initrd (loop)/images/pxeboot/initrd.img | |
} | |
menuentry "Fedora Server ISO" { | |
set isofile=/fedora-server.iso | |
loopback loop $isofile | |
linux /images/pxeboot/vmlinuz iso-scan/filename=$isofile noeject inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-28 quiet | |
initrd /images/pxeboot/initrd.img | |
} | |
} | |
submenu "Debian" { | |
menuentry "Debian ISO - Gnome Live" { | |
set isofile=/debian-live-gnome.iso | |
loopback loop $isofile | |
set root=(hd0,1) | |
linux (loop)/live/vmlinuz-4.9.0-7-amd64 findiso=$isofile boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal | |
initrd (loop)/live/initrd.img-4.9.0-7-amd64 | |
} | |
menuentry "Debian ISO - KDE Live" { | |
set isofile=/debian-live-kde.iso | |
loopback loop $isofile | |
set root=(hd0,1) | |
linux (loop)/live/vmlinuz-4.9.0-7-amd64 findiso=$isofile boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal | |
initrd (loop)/live/initrd.img-4.9.0-7-amd64 | |
} | |
menuentry "Debian ISO - Mate Live" { | |
set isofile=/debian-live-mate.iso | |
loopback loop $isofile | |
set root=(hd0,1) | |
linux (loop)/live/vmlinuz-4.9.0-7-amd64 findiso=$isofile boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal | |
initrd (loop)/live/initrd.img-4.9.0-7-amd64 | |
} | |
menuentry "Debian ISO - LXDE Live" { | |
set isofile=/debian-live-lxde.iso | |
loopback loop $isofile | |
set root=(hd0,1) | |
linux (loop)/live/vmlinuz-4.9.0-7-amd64 findiso=$isofile boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal | |
initrd (loop)/live/initrd.img-4.9.0-7-amd64 | |
} | |
menuentry "Debian ISO - XFCE Live" { | |
set isofile=/debian-live-xfce.iso | |
loopback loop $isofile | |
set root=(hd0,1) | |
linux (loop)/live/vmlinuz-4.9.0-7-amd64 findiso=$isofile boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal | |
initrd (loop)/live/initrd.img-4.9.0-7-amd64 | |
} | |
} | |
menuentry "Arch" { | |
set isofile=/archlinux.iso | |
loopback loop $isofile | |
set root=(hd0,1) | |
linux (loop)/arch/boot/x86_64/vmlinuz img_dev=/dev/sda1 img_loop=$isofile earlymodules=loop noeject | |
initrd (loop)/arch/boot/intel_ucode.img (loop)/arch/boot/x86_64/archiso.img | |
} | |
menuentry "Memtest 86+" { | |
linux16 /memtest86+.bin | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment