problem : Cannot boot Qubes after a successful installation. There is a problem with booting Qubes 4.1.2 after an installation marked successful by the installer. After installation efibootmgr -v shows : boot 0000* Qube OS and boot 0001* usb drive but after rebooting " boot 0000* Qube OS" disappears and I am directed straight to the bios.
my setup:
- Intel Core i3-12100 (With integrated graphics Intel UHD Graphics 730)
- MSI PRO H610M-E DDR4 (bios updated to the latest version AA0)
- memory Samsung 16x2 (32gb)
- m.2 ssd Samsung 970 EVO Plus 512 gb
- usb flash drive 64 gb
setup preparation:
- Installed a clean win 10. I ran a stress test on the PC components for more than 2 hours. The stress tests showed no problems with the components. Next I tried to install the actual distributions fedora 38/ubuntu 22/debian 12. All installed with no problems and no visible performance issues.
2)A)Reset UEFI to default. B) Disable Secure Boot. C) Checked Enable VT-x(d) and ssd has the first boot priority.
3)writing to usb Qubes-R4.1.2 using rufus 3.22.2009(also test rufus 4.1.2045) according to the guide.
4)install qubes os using last kernel 6.1.12-1.qubes.fc32
installation result:
I have tried different types of installation: “media test and install” and “install using the latest kernel” Both options lead to the same result.
The installation is successful and without error messages. I click on the suggested reboot.
After reboot Qubes doesn’t boot. Instead I get to the bios automatically (ssd hard drive is available in the bios). After rebooting, I am redirected straight to the bios menu instead of loading the GRUB menu.
TROUBLESHOOTING::
Based on my problem, I conclude that my situation falls under “Boot device not recognized after installation”. Then I found a thread on the forum with a similar problem (link).
Then I tried to repeat the solutions suggested in the thread.
I did a clean install of 4.1.2 using the latest kernel (default settings, auto disk configuration). The installation was successful and completed with no visible errors. Next I start working with the console .
The efibootmgr -v shows :
boot 0000* Qube OS
boot 0001* usb drive.
lsblk shows:
/dev/nvme0n1p1 600 mb efi /mnt/sysroot/boot/efi
/dev/nvme0n1p2 1gb linux /mnt/sysroot/boot
/dev/nvme0n1p3 465 gb linux sustem
Next I try repeating the commands from the thread:
mount /dev/nvme0n1p1 /mnt
mount /dev/nvme0n1p2 /mnt/efi
cp /mnt/efi/EFI/qubes/grubx64.efi /mnt/efi/EFI/boot/bootx64.efi
cp /mnt/efi/EFI/qubes/grub.cfg /mnt/efi/EFI/boot/boot/bootx64.cfg
efibootmgr -v -c -c -u -L “Newqubeboot” -l /EFI/boot/boot/bootx64.efi -d /dev/nvme0n1 -p 1
reboot
When I try to repeat the cp commands I get a response:
cp:cannot stat ‘…grubx64.efi’ no such files or directory
cp:cannot stat ‘…grub.cfg’ no such files or directory
What can be the error ?