This entry is obsolete!
Just use http://www.paranoids.at/?page=grub2stick
Hi
Here my nice grub.cfg to boot some isos from an usb-stick…
I think you know where to get the iso images from :-)
menuentry "Debian Lenny NetBoot amd64" { loopback loop /boot/iso/debian-lenny-mini-amd64.iso linux (loop)/linux -- initrd (loop)/initrd.gz } menuentry "Debian Lenny NetBoot i386" { loopback loop /boot/iso/debian-lenny-mini-i386.iso linux (loop)/linux -- initrd (loop)/initrd.gz } menuentry "Ubuntu 10.4 Desktop amd64" { loopback loop /boot/iso/ubuntu-10.04-desktop-amd64.iso linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/ubuntu-10.04-desktop-amd64.iso noeject noprompt -- initrd (loop)/casper/initrd.lz } menuentry "Ubuntu 10.4 Desktop i386" { loopback loop /boot/iso/ubuntu-10.04-desktop-i386.iso linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/ubuntu-10.04-desktop-i386.iso noeject noprompt -- initrd (loop)/casper/initrd.lz } menuentry "Ubuntu 10.4 Server NetBoot amd64" { loopback loop /boot/iso/ubuntu-10.04-server-amd64-mini.iso linux (loop)/linux -- initrd (loop)/initrd.gz } menuentry "Ubuntu 10.4 Server NetBoot i386" { loopback loop /boot/iso/ubuntu-10.04-server-i386-mini.iso linux (loop)/linux -- initrd (loop)/initrd.gz } menuentry "Netboot.ME" { loopback loop /boot/iso/netbootme.iso linux16 (loop)/GPXE.KRN } menuentry "Memory test (memtest86+)" { linux16 /boot/iso/memtest86+.bin } menuentry "Memory test (memtest86+, serial console 115200)" { linux16 /boot/iso/memtest86+.bin console=ttyS0,115200n8 } menuentry "Pmagic 4.10" { loopback loop /boot/iso/pmagic-4.10.iso linux (loop)/pmagic/bzImage iso_filename=/boot/iso/pmagic-4.10.iso edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rwnomce sleep=10 loglevel=0 initrd (loop)/pmagic/initramfs } menuentry "Clonezilla live clonezilla-live-20100521" { set isofile="/boot/iso/clonezilla-live-20100521-lucid.iso" loopback loop $isofile linux (loop)/live/vmlinuz boot=live union=aufs nolocales noprompt vga=788 ip=frommedia toram=filesystem.squashfs findiso=$isofile initrd (loop)/live/initrd.img } menuentry "PING 3.0.0" { loopback loop /boot/iso/PING-3.00.iso linux (loop)/kernel vga=normal devfs=nomount pxe ramdisk_size=33000 load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 initrd=initrd.gz root=/dev/ram0 rw noapic lba initrd (loop)/initrd.gz } menuentry "grml_2010.04 i386" { loopback loop /boot/iso/grml_2010.04.iso linux (loop)/boot/grml/linux26 findiso=/boot/iso/grml_2010.04.iso apm=power-off lang=de vga=791 boot=live bootid=grml201004 nomce noeject noprompt -- initrd (loop)/boot/grml/initrd.gz } menuentry "grml_2010.04 amd64" { loopback loop /boot/iso/grml64_2010.04.iso linux (loop)/boot/grml/linux26 findiso=/boot/iso/grml64_2010.04.iso apm=power-off lang=de vga=791 boot=live bootid=grml64201004 nomce noeject noprompt -- initrd (loop)/boot/grml/initrd.gz }
Have fun!
hi
yes its working… the config i’ve posted is in everyday use :-)
have fun!
hi
you were right
i’ve got a mistake in my config
replaced at the ubuntu amd64 server config the “casper” with “install”
have fun!
Hi there,
Thanks for this! But I don`t believe the Ubuntu Server ISOs will work. As far as I can tell, iso-scan isn`t supported by the install.
Regards,
Mike
Hi Mike ,
Yeah you got the 2nd time right
With Ubuntu Server you need to use the Debian way of booting an iso with grub2…
You have to use the NetBoot installer ISO
Here some links where to get it from:
http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/mini.iso
http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/current/images/netboot/mini.iso
Regards,
Paranoids
And how does that work then ?