if loadfont /boot/grub/font.pf2 ; then set gfxmode=auto insmod efi_gop insmod efi_uga insmod gfxterm terminal_output gfxterm rmmod tpm fi
set menu_color_normal=white/black set menu_color_highlight=black/light-gray
set timeout=5 menuentry "ubuntu-20.04 ISO" { set root=(hd0,3) set isofile="/ubuntu-20.04-desktop-amd64.iso" loopback loop $isofile linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile fsck.mode=skip persistent persistent-path=/ubuntu-20.04/ splash -- initrd (loop)/casper/initrd }
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
rmmod tpm
fi
set menu_color_ normal= white/black highlight= black/light- gray
set menu_color_
set timeout=5 "/ubuntu- 20.04-desktop- amd64.iso" casper/ vmlinuz boot=casper iso-scan/ filename= $isofile fsck.mode=skip persistent persistent- path=/ubuntu- 20.04/ splash -- casper/ initrd
menuentry "ubuntu-20.04 ISO" {
set root=(hd0,3)
set isofile=
loopback loop $isofile
linux (loop)/
initrd (loop)/
}