[Bug 1851311] Re: Grub 2.04 Out of memory error, No server error
Benoit THIBAUD
frombenny at gmail.com
Thu Jan 16 14:19:34 UTC 2020
The problem doesn't come from the casper package. The problem is in the
grub-efi-amd64-bin package (latest version tested:2.04-1ubuntu16).
Actually, it's the file grubx64.efi inside this package
(/usr/lib/grub/x86_64-efi/monolithic/grubx64.efi).
menuentry ".. Xubuntu .... test daily" {
set isofile="/isos/focal-desktop-amd64.iso"
search --set=root --file $isofile
loopback loop $isofile
linux (loop)/casper/vmlinuz iso-scan/filename=$isofile boot=casper noprompt quiet splash --
initrd (loop)/casper/initrd
}
menuentry ".. Xubuntu Default cd Menu" {
iso_path="/isos/focal-desktop-amd64.iso"
export iso_path
search --set=root --file $iso_path
loopback loop $iso_path
root=(loop)
configfile /boot/grub/loopback.cfg
loopback --delete loop
}
It doesn't work in 2.04 grub version. So I experienced something.
1- I downloaded the 2.02 grub-efi-amd64-bin package from here:
https://packages.ubuntu.com/disco-updates/amd64/grub-efi-amd64-bin/download
2- I opened the deb package with my archive manager
3- I extracted the file: grubx64.efi
(from /usr/lib/grub/x86_64-efi/monolithic/)
4- I launched efibootmgr in a terminal to be sure where to copy it
5- I copied it in the right folder in /boot/efi
sudo cp grubx64.efi /boot/efi/EFI/xubuntu/.
After that, both menus worked fine (in a 2.02 grub)!
--
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:
Grub 2.04 Out of memory error, No server error
Status in grub2 package in Ubuntu:
Confirmed
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