[Bug 1783480] Re: Boot stuck
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Wed Oct 3 14:30:14 UTC 2018
How is this system installed?
Shim 15 works quite well here to chainload Windows or boot to grub in
cosmic, and isn't yet available to users in other releases of Ubuntu.
** Changed in: grub2 (Ubuntu)
Status: New => Incomplete
--
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/1783480
Title:
Boot stuck
Status in grub2 package in Ubuntu:
Incomplete
Bug description:
Question 1:
Configuration instructions
CPU: Intel i7 7700
Graphics card: CPU integration
Motherboard: ROG STRIX Z270E GAMING
BIOS starts UEFI and secure boot (64Bit UEFI)
Shim15->Ubuntu Grub2(applied/ubuntu/bionic-devel)
Booting to Ubuntu Grub2 stuck, the screen is always black, you can only restart the computer by pressing the restart button.
If you turn off the safe boot, everything works fine.
I can rule out that it is caused by shim15, because after I deleted the grub.efi file, shim15 prompts that grub.efi cannot be found.
Finally, I deleted the grub.cfg file and it still stuck.
The above problem is normal if you use the Fedora29 Grub2 code (https://github.com/rhboot/grub2/tree/fedora-29).
Question 2:
The test platform is VMware14, and the BIOS has enabled UEFI and Secure Boot (32Bit UEFI).
32Bit UEFI will not have the above problem, but it will be stuck when bootloader is used to boot the bootmgfw.efi file of Windows system.
This is the case with Ubuntu Grub2 (applied/ubuntu/bionic-devel) and Fedora29 Grub2 (https://github.com/rhboot/grub2/tree/fedora-29).
Debian Grub2's 32Bit Grub2 (https://salsa.debian.org/grub-team/grub/tree/debian/2.02+dfsg1-4) has no problems, but he will have the stuck condition described in question 1.
I am not very familiar with the grub2 code, but I can assist with the
test.
Grub.cfg file
insmod part_gpt
insmod part_msdos
insmod png
insmod all_video
insmod gfxterm
loadfont $prefix/font.pf2
set timeout=3
set default=1
set gfxmode=auto
set gfxpayload=1024x768
terminal_output gfxterm
set theme=/style.txt
menuentry 'Linux' --hotkey=f3 {
if cpuid -l; then
linux /bzImage loglevel=3
else
linux /bzImage_x86 loglevel=3
fi
initrd /initramfs
}
menuentry 'System' --hotkey=enter {
chainloader (${root})/EFI/Microsoft/Boot/bootmgfwLoadOs.efi
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1783480/+subscriptions
More information about the foundations-bugs
mailing list