This is the menuentry I currently have under my grub.cfg.
menuentry "Xubuntu 20.04 Live CD (64-bit AMD64)" {
insmod part_gpt
insmod exfat
insmod search_fs_uuid
set iso_file=/iso/xubuntu-20.04-desktop-amd64.iso
search --no-floppy --set=root --fs-uuid 92AE-07D5
loopback loop ($root)$iso_file
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$iso_file noprompt noeject
initrd (loop)/casper/initrd
}
I've checked the following article examples but no luck.
The issue that after I've chosen the menuentry. It finds the ISO just fine but later after it has echoed some starting dialogue it says it's unable to find the ISO.
This script works fine with Xubuntu 18.04.4 Live CD and Lubuntu Boot Recovery ISO in the same iso folder.
I've tried chainload a loopback of the ISO but after going through numerous search results I've found an article that says it isn't possible. Preferably, I like to keep all my grub ISOs in one folder instead of separate drive partitions.
rmmod tpm
which is necessary when booting ISO files using grub 2.04 (found in Ubuntu 20.04). Please see: https://askubuntu.com/questions/1251729/20-04-booting-iso-from-grub-menu/1251782#1251782 – C.S.Cameron Jul 07 '20 at 02:36