grub2 loopback booting ubuntu server iso
- by Thermionix
I've got usb-keys setup to multi-boot different linux images using grub2 loopback.
The standard ubuntu release isos boot fine, however when attempting to use the server iso it will fail to install saying 'unable to detect cd-media for installation'.
the grub.cfg entry;
menuentry "ubuntu-12.04-server-amd64" {
set isofile="/boot/ubuntu-12.04-server-amd64.iso"
loopback loop $isofile
linux (loop)/install/vmlinuz file=$isofile/preseed/ubuntu-server.seed ro noprompt noeject --
initrd (loop)/install/initrd.gz
}
I've attempted to add the following parameters as the fromiso works for debian images on the key
iso-scan/filename=/boot/ubuntu-12.04-server-amd64.iso
iso-scan/filename=/dev/disk/by-uuid/2859-44B7/boot/ubuntu-12.04-server-amd64.iso
fromiso=/dev/disk/by-uuid/2859-44B7/boot/ubuntu-12.04-server-amd64.iso