grub2 loopback booting ubuntu server iso

Posted by Thermionix on Ask Ubuntu See other posts from Ask Ubuntu or by Thermionix
Published on 2012-05-01T00:38:36Z Indexed on 2012/07/04 21:24 UTC
Read the original article Hit count: 342

Filed under:
|
|
|

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

© Ask Ubuntu or respective owner

Related posts about server

Related posts about grub2