Drive no more bootable

Before I took the SSD out, it was working. Now it is no longer bootable.

Can someone maybe tell me what the problem is or help me out with an workaround?

Best regards

This does not look like a Qubes-specific problem, since the bootloader comes from Fedora. Perhaps you may have a better luck by asking on their forums. Also, you can try Qubes restore mode by booting the Qubes usb stick.

I get that error when I installed the OS in uefi and switched the bios to load in legacy.

Perhaps this can help: No boot screen for installation

I already have installed qubes on that drive and it ran until i disconnected the drive and connected it later. Also it displays no GRUB-Bootloader, because it seems that it was installed in UEFI-Mode.

Take a look at

Something like

efibootmgr -v -c -L QubesOS -l /EFI/qubes/xen.efi -d /dev/xxx

should do the trick, where xxx is the primary partition of main disk containing the GPT table. E.g. /dev/sda1.

-d ( /dev/sda or /dev/sdb or /dev/sdc, where you store the /EFI/qubes/xen.efi ) then add -p ( 1 or 2 or 3, which partition )

Can you please explain your (for me) magic command? Is efibootmgr required for your command?

It’s still required take look in @moxi post.

efibootmgr -v -c -L QubesOS -l /EFI/qubes/xen.efi -d /dev/xxx

-d /dev/xxx is not true, you should do -d ( /dev/sda or /dev/sdb or /dev/sdc, where you store the /EFI/qubes/xen.efi ) then add -p ( 1 or 2 or 3, which partition )

example of full command :

efibootmgr -v -c -u -L QubesOS -l /EFI/qubes/xen.efi -d /dev/sdb -p 1

liveuser@localhost-live ~]$ efibootmgr -v -c -L QubesOS -l /EFI/qubes/xen.efi -d /dev/sdb -p 1
EFI variables are not supported on this system.
[liveuser@localhost-live ~]$

I disabled secure boot and enabled csm in motherboard firmware, what i have done wrong?

[liveuser@localhost-live ~]$ sudo mount /dev/sdb1 /media
[liveuser@localhost-live ~]$ cd /media/
[liveuser@localhost-live media]$ ls
EFI ‘System Volume Information’
[liveuser@localhost-live media]$

I tried it mounted and unmounted, both without success and same warning.

are you boot in bios ? try boot from uefi, then before you run this command :

liveuser@localhost-live ~]$ efibootmgr -v -c -L QubesOS -l /EFI/qubes/xen.efi -d /dev/sdb -p 1

are you sure that your efi partition is partition 1 and have device /dev/sdb ?

also with root not working

My thought is you’re boot in bios.

do you still have qubes os installer medium? can you boot and select rescue qubes os ? make sure that you boot in uefi mode.

you mean i boot in legacy mode?

Thank you very much!

How does one boot in UEFI mode? Doesn’t that require enabling Secure Boot?

Nope you didn’t need to enable secure boot to boot with uefi.