[Bug 1783480] Re: Boot stuck
haobinnan
1783480 at bugs.launchpad.net
Thu Oct 4 01:22:48 UTC 2018
the system has not been installed. Currently I'm trying to use
ubuntu-18.04.1-desktop-amd64.iso:
release the image to a FAT32 partition on USBflash drive, then modify BIOS
(UEFI) to boot from USB flash drive. However, computer freezes and black
screen when saving changes made on BIOS.
I can help you test the issue if needed.
Have read “Subject: efi/cainloader: truncate overlong relocation section” ,
thanks!
Mathieu Trudel-Lapierre <mathieu.tl at gmail.com> 于2018年10月3日周三 下午10:41写道:
> 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 subscribed to the bug
> report.
> 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
>
--
*Hao Binnan*
*Isoo (Qinhuangdao) software development Co., Ltd. (China)*
http://www.eassos.com
PGP Public Key: 4096R/9EF21740 / 9678 1E8C B21E 1E60 3997 811D F83B B359
9EF2 1740
haobinnan <haobinnan at gmail.com>
--
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