I am using grub4dos 0.4.4 to boot Ubuntu 17.04 successfully. Here are lines in the file MENU.LST
title Ubuntu 17 (64bit)
fallback 6
find --set-root /iso/ubt1704.iso
map --mem /iso/ubt1704.iso (0xff) || map --heads=0 --sectors-per-track=0 /iso/ubt1704.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/iso/ubt1704.iso splash
initrd /casper/initrd.lz
But for Ubuntu 18.04, they did not work. The computer restarted after menu Ubuntu 18.04 was selected.
Please help me to fix the problem. Thanks in advanced.
Update on 15-Aug-2018.
I have changed the content of MENU.LST as bellow and it worked.
find --set-root /iso/ubt1804.iso
map --mem /iso/ubt1804.iso (0xff) || map --heads=0 --sectors-per-track=0 /iso/ubt1804.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/iso/ubt1804.iso splash
initrd /casper/initrd.lz
Using
grub4dos
to boot Ubuntu Ubuntu 18.04 ISO disk image, here is the entry for the fileMENU.LST
:NB,
vmlinuz.efi
was used, sokernel
has to be/casper/vmlinuz.efi
, but/casper/vmlinuz
vmlinuz
--mem
for themap
command to put the whole disk into system memory, like this:map --mem /iso/smallcd.iso (0xff) || map --heads=0 --sectors-per-track=0 /iso/smallcd.iso (0xff)
Ref: here