for a while they have used this -/casper/vmlinuz.efi , but old versions and now 18.04 use this: /casper/vmlinuz
I use grub2 to loopmount ISO. I changed my 18.10 to use the label of the partition where I have my ISO on SSD. My old specific device has been changing as I now have several USB drives which may or may not be active and then boot drive number in grub changes.
https://help.ubuntu.com/community/Grub2/ISOBoot
Code:
menuentry "Ubuntu 18.04 Bionic amd64" {
set isofile="/ubuntu-18.04-desktop-amd64.iso"
insmod part_gpt
loopback loop (hd0,5)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram
initrd (loop)/casper/initrd.lz
}
menuentry "Ubuntu 18.10 Cosmic Daily amd64" {
set isofile="/cosmic-desktop-amd64.iso"
insmod part_gpt
search --set=root --label iso_ssd --hint hd0,gpt5
loopback loop (${root})$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram
initrd (loop)/casper/initrd
}
Bookmarks