Last active
December 12, 2025 14:14
-
-
Save jamiekurtz/26c46b3e594f8cdd453a to your computer and use it in GitHub Desktop.
Grub config for creating my own bootable USB stick
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
| # This grub.cfg file was created by Jamie Kurtz | |
| # Sample grub entries... https://wiki.archlinux.org/index.php/Multiboot_USB_drive | |
| # Goes into /boot/grub2 folder | |
| # Some tips here: http://www.pendrivelinux.com/boot-multiple-iso-from-usb-via-grub2-using-linux/ | |
| set timeout=10 | |
| set default=0 | |
| menuentry '[loopback]kali-linux-1.1.0-amd64' { | |
| set isofile='/boot/iso/kali-linux-1.1.0a-amd64.iso' | |
| loopback loop $isofile | |
| linux (loop)/live/vmlinuz boot=live findiso=$isofile noconfig=sudo username=root hostname=kali | |
| initrd (loop)/live/initrd.img | |
| } | |
| menuentry '[loopback]ubuntu-14.04.2-server-amd64' { | |
| set isofile='/boot/iso/ubuntu-14.04.2-server-amd64.iso' | |
| loopback loop $isofile | |
| linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile locale=en_US.UTF-8 | |
| initrd (loop)/casper/initrd.lz | |
| } | |
| menuentry '[loopback]Fedora-Live-Workstation-x86_64-21-5' { | |
| set isofile='/boot/iso/Fedora-Live-Workstation-x86_64-21-5.iso' | |
| loopback loop $isofile | |
| linux (loop)/isolinux/vmlinuz0 root=live:CDLABEL=Fedora-Live-WS-x86_64-21-5 iso-scan/filename=$isofile rd.live.image | |
| initrd (loop)/isolinux/initrd0.img | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jackpot.