[Bug 1851311] Re: loopback command hangs in 2.04 under UEFI

C.S.Cameron cscameron at gmail.com
Mon May 18 02:48:58 UTC 2020


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
}

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1851311

Title:
  loopback command hangs in 2.04 under UEFI

Status in grub2 package in Ubuntu:
  Confirmed
Status in grub2 package in Debian:
  New

Bug description:
  Trying to loop mount ISO.

  Installed grub 2.04 to flash drive in UEFI mode from 19.10
  Flash drive does not boot and gives Out of memory error & no server error. Must load kernel first.

  Re-installed grub from 18.04 to same flash drive using same boot stanza.
  Booted without issue.

  From 18.04
  fred at Bionic-Z170N:~$ grub-install -V
  grub-install (GRUB) 2.02-2ubuntu8.13

  from 19.10
  fred at fred-Z170N-eoan:~$ grub-install -V
  grub-install (GRUB) 2.04-1ubuntu12

  Boot stanza that works in 2.02 but not in 2.04

  menuentry "Focal Live ISO" {
  set isofile="/ISO/focal-desktop-amd64.iso"
  loopback loop (hd0,1)$isofile
      linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile toram noeject
      initrd (loop)/casper/initrd
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1851311/+subscriptions



More information about the foundations-bugs mailing list