gedit multiboot-usb-isofile-builder.sh
# !/bin/bash # Despues de editar hacer: # chmod +x multiboot-usb-isofile-builder.sh # sudo ln -s /home/ ### Fuente # http://www.panticz.de/MultiBootUSB # http://tesla-arg.blogspot.com/ ### links # https://bugs.launchpad.net/ubuntu/+bug/94204 # http://debianforum.de/forum/viewtopic.php?f=32&t=111249 # http://michael-prokop.at/blog/2009/05/25/boot-an-iso-via-grub2/ # https://wiki.edubuntu.org/Grub2 ### Variables # modificar segun corresponda DEVICE=/dev/sdb VOLUME=MultiBootUSB # Creando filesystem en el PEN USB sudo mkfs.vfat -n ${VOLUME} ${DEVICE}1 # Montando USB mount ${DEVICE}1 /media/ # Instalando grub2 en el PEN USB grub-install --no-floppy --root-directory=/mnt ${DEVICE} # creando grub config cat < menuentry "Ubuntu Live 9.10 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 installer amd64 netboot XEN pressed" { linux /boot/debian/linux auto preseed/url=http://www.panticz.de/pxe/preseed/xen.seed locale=en_US console-setup/layoutcode=de netcfg/choose_interface=eth0 debconf/priority=critical -- initrd /boot/debian/initrd.gz } EOF # Creando Directorio ISO mkdir /media/boot/iso # # Descargando Imagenes # # Ubuntu Live 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 ## |
A mi no me funciona en Ubuntu 10.10
ResponderEliminarHabría que adaptarlo un poco ¿no?
Yo lo he intentado con eso de /media/MultiISO
pero nada de nada.
Si hay que tunearlo un poco.
ResponderEliminar