Source: http://www.panticz.de/MultiBootUSB
gedit-usb-multiboot-builder.sh isofile
| # / bin / bash # After editing do: # chmod + x -usb-multiboot-builder.sh isofile # sudo ln-s / home / # # # Source http://www.panticz.de/MultiBootUSB # # # # # http://tesla-arg.blogspot.com/ links # https: / / bugs.launchpad.net / ubuntu / + bug/94204 # # http://michael- http://debianforum.de/forum/viewtopic.php?f=32&t=111249 prokop.at/blog/2009/05/25/boot-an-iso-via-grub2 / # https: / / wiki.edubuntu.org/Grub2 # # # Variables # modify whichever is applicable DEVICE = / dev / sdb VOLUME = MultiBootUSB # Creating filesystem on the USB PEN mkfs.vfat sudo-n $ {VOLUME} $ {DEVICE} 1 USB Mounting # mount $ {DEVICE} 1 / media / grub2 # Installing the USB PEN grub-install - no-floppy - root-directory = / mnt $ {DEVICE} # create grub config cat \u0026lt; menuentry "Ubuntu 9.10 Live 32bit" { loopback loop / boot/iso/ubuntu-9.10-desktop-i386.iso linux (loop) / casper / vmlinuz boot = casper iso-scan/filename = / boot / iso/ubuntu-9.10-desktop-i386.iso noeject noprompt - initrd (loop) / casper / initrd.lz } menuentry "Ubuntu Live 9.10 64bit" { loopback loop /boot/iso/ubuntu-9.10-desktop-amd64.iso linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/ubuntu-9.10-desktop-amd64.iso noeject noprompt -- initrd (loop)/casper/initrd.lz } menuentry "Grml small 2009.10" { loopback loop /boot/iso/grml-small_2009.10.iso linux (loop)/boot/grmlsmall/linux26 findiso=/boot/iso/grml-small_2009.10.iso apm=power-off lang=us vga=791 boot=live nomce noeject noprompt -- initrd (loop)/boot/grmlsmall/initrd.gz } menuentry "tinycore" { loopback loop /boot/iso/tinycore_2.3.1.iso linux (loop)/boot/bzImage -- initrd (loop)/boot/tinycore.gz } menuentry "Netinstall 32 preseed" { loopback loop /boot/iso/mini.iso linux (loop)/linux auto url=http://www.panticz.de/pxe/preseed/preseed.seed locale=en_US console-setup/layoutcode=de netcfg/choose_interface=eth0 debconf/priority=critical -- initrd (loop)/initrd.gz } menuentry "debian-installer-amd64.iso" { loopback loop /boot/iso/debian-installer-amd64.iso linux (loop)/linux vga=normal -- initrd (loop)/initrd.gz } menuentry "BackTrack 4" { linux /boot/bt4/boot/vmlinuz BOOT=casper boot=casper nopersistent rw vga=0x317 -- initrd /boot/bt4/boot/initrd.gz } menuentry "Memory test (memtest86+)" { linux16 /boot/img/memtest86+.bin } menuentry "BackTrack ERR" { loopback loop /boot/iso/bt4-pre-final.iso linux (loop)/boot/vmlinuz find_iso/filename=/boot/iso/bt4-pre-final.iso BOOT=casper boot=casper nopersistent rw vga=0x317-- initrd (loop)/boot/initrd.gz } menuentry "XBMC ERR" { loopback loop /boot/iso/XBMCLive.iso linux (loop)/vmlinuz boot=cd isofrom=/dev/sda1/boot/iso/XBMCLive.iso xbmc=nvidia,nodiskmount,tempfs,setvolume loglevel = 0 - initrd (loop) / initrd0.img } menuentry "netboot.me" { loopback loop / boot / iso / netbootme.iso linux16 (loop) / GPXE.KRN menuentry} "debian netboot installer amd64 XEN pressed" { linux / boot / debian / linux auto preseed / url = http://www.panticz.de/pxe/preseed/xen.seed locale = en_US netcfg console-setup/layoutcode = of / choose_interface = eth0 debconf / priority = critical - initrd / boot / debian / initrd.gz EOF } # Creating ISO directory mkdir / media / boot / iso # # # Downloading Images # Live Ubuntu 9.10 32bit wget http://ftp.uni-kl.de/pub/linux/ubuntu.iso/9.10/ubuntu-9.10-desktop-i386.iso -P /media/boot/iso # Ubuntu Live 9.10 64bit wget http://ftp.uni-kl.de/pub/linux/ubuntu.iso/9.10/ubuntu-9.10-desktop-amd64.iso -P /media/boot/iso # grml wget http://grml.deb.at/grml-small_2009.10.iso -P /media/boot/iso # tinycore wget http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/tinycore_2.3.1.iso -P /media/boot/iso # netinstall wget http://archive.ubuntu.com/ubuntu/dists/jaunty/main/installer-i386/current/images/netboot/mini.iso -P /media/boot/iso # xbmc # unzip http://downloads.sourceforge.net/sourceforge/xbmc/XBMC_Live-9.04.1.zip # debian wget http://ftp.debian.org/debian/dists/etch/main/installer-amd64/current/images/netboot/mini.iso -O /media/boot/iso/debian-installer-amd64.iso # netboot.me wget http://static.netboot.me/gpxe/netbootme.iso -P /media/boot/iso # umount sync umount /media/ # test # debian wget http://cdimage.debian.org/debian-cd/5.0.2/amd64/iso-cd/debian-502-amd64-netinst.iso menuentry "debian-502-amd64-netinst.iso" { loopback loop /boot/iso/debian-502-amd64-netinst.iso linux (loop)/install.amd/vmlinuz vga=normal -- initrd (loop)/install.amd/initrd.gz } menuentry "debian installer amd64 netboot" { linux /boot/debian/linux auto=true priority=critical vga=normal -- initrd /boot/debian/initrd.gz } # update debian installation files (/media/boot/debian/update.sh) wget http://ftp.de.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz -O initrd.gz wget http://ftp.de.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux -O linux |
| ## 3 ## |
0 comments:
Post a Comment