Am trying to get ubuntu-16.04-server-amd64.iso ISO file to boot from grub 2.02~beta2-9ubuntu1.7 found in Ubuntu 14.04 server.
menuentry "Ubuntu 16.04 Server AMD64" --class ubuntu {
set isopath="/boot/iso"
set isoname="ubuntu-16.04-server-amd64.iso"
set isofile="${isopath}/ubuntu/${isoname}"
echo "Using ${isoname}..."
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile}
initrd (loop)/casper/initrd.lz
}
When writing ls in grub mode I can see that my file exist at (hd0,msdos1)/boot/iso/ubuntu-16.04-server-amd64.iso. How can I construct a grub menu entry so I can boot into that ISO file?
Please keep in mind that this is not the Live Ubuntu Desktop ISO file but the server version.