Created
May 27, 2011 22:19
-
-
Save zed9h/996313 to your computer and use it in GitHub Desktop.
Boot USB pendrive with multiple CD ISO images
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
# http://www.panticz.de/MultiBootUSB | |
sudo mkfs.vfat -n zed9h /dev/sdb1 | |
mount /dev/sdb1 /mnt/ | |
grub-install --no-floppy --root-directory=/mnt /dev/sdb1 | |
cat <<EOF> /mnt/boot/grub/grub.cfg | |
menuentry "Ubuntu Live 10.10 32bit" { | |
loopback loop /boot/iso/ubuntu-10.10-desktop-i386.iso | |
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/ubuntu-10.10-desktop-i386.iso noeject noprompt -- | |
initrd (loop)/casper/initrd.lz | |
} | |
EOF | |
mkdir /mnt/boot/iso | |
wget http://ftp.uni-kl.de/pub/linux/ubuntu.iso/10.10/ubuntu-10.10-desktop-i386.iso -P /mnt/boot/iso | |
sync | |
umount /mnt/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment