HELP Qubes hell -> Boot media not found after months of use

Running 4.2, have been for a very long time.
Rebooted PC and got surprised by boot device not found, insert or reboot message :frowning:

-Took nvme to another system tried to boot it same thing.
-Put it back in original system, cleared cmos, booted same message.
-Put original install media usb, selected option to rescue, after waiting it said no linux installation found
-Booting Linux mint, looked at nvme, it has all my quebes data on it at least.

Any advice or ideas we VERY welcome, please help me out, thanks in advanced.

How do I get back my qubes os system?

My initial ideas not sure how to execute:
-Buy another nvme/ssd, fresh install qubes, and import the qubes from the old nvme ?
-Somehow figure out how to fix efi

Really do not want to mess this up, to be clear, I:

1.USB rescue β†’ Skip to shell
2. Run command:

efibootmgr -v -c -u -L β€œQubes OS” -l /EFI/qubes/grubx64.efi -d /dev/nvme0n1 -p 1 reboot change -d <which drive?> and -p <which efi partition?>

How do I check and put the exact correct <Which drive?> and

In Linux mint live usb the partition for efi is β†’ /dev/nvme0n1p1

  1. efibootmgr -v in dom0 … what is the context for this last step to make sure ?

Check the available partitions with this command:

fdisk -l

Then check the available EFI System type partitions on all your disks by mounting them to see if the file /EFI/qubes/grubx64.efi is present there.

In that case this command is right for you:
efibootmgr -v -c -u -L "Qubes OS" -l /EFI/qubes/grubx64.efi -d /dev/nvme0n1 -p 1

It’s not necessary but you can run this command to see if the boot entry was added successfully.

1 Like

System is back up and running without issue.