2 KiB
| layout | title | permalink |
|---|---|---|
| doc | UEFI Troubleshooting | /doc/uefi-troubleshooting/ |
Troubleshooting UEFI related problems
Cannot start installation, it hangs after GRUB menu ("Test media and install Qubes OS")
There is some common bug in UEFI implementation, affecting mostly Lenovo systems, but probably some others too. You can try existing workaround:
-
In GRUB menu press
e. -
At the end of
chainloaderline add/mapbs /noexitboot. -
Perform installation normally, but not reboot system at the end yet.
-
Go to
tty2(Ctrl-Alt-F2). -
Execute
mount | grep boot/efiand note device name (first column). It should be something like/dev/sda1. -
Execute
efibootmgr -v, search forQubesentry and note its number (it should be something likeBoot0001-0001is an entry number). -
Replace existing
Qubesentry with modified one. ReplaceXXXXwith entry number from previous step,/dev/sdawith your disk name and-p 1with/boot/efipartition number):efibootmgr -b XXXX -B efibootmgr -v -c -u -L Qubes -l /EFI/qubes/xen.efi -d /dev/sda -p 1 "placeholder /mapbs /noexitboot" -
Compare new entry with the old one (printed in step 6) - it should only differ in additional options at the end.
-
Now you can reboot the system by issuing
rebootcommand.
System crash/restart when booting installer
Some Dell systems and probably others have another bug in UEFI firmware. And there is another workaround for it:
-
In GRUB menu press
e. -
At the end of
chainloaderline add-- efi=attr=uc. -
Perform installation normally, but not reboot system at the end yet.
-
Go to
tty2(Ctrl-Alt-F2). -
Execute:
sed -i -e 's/^options=.*/\0 efi=attr=uc' /mnt/sysimage/boot/efi/qubes/xen.cfg -
Now you can reboot the system by issuing
rebootcommand.