Qubes external SSD

It’s not easy to describe what’s going on, I just turned off the qubes normally, it’s on an external SSD, today normally I started it to the computer and it’s like it doesn’t detect the usb ? nothing happens after start no boot option , as if there was no usb I checked on another qubes via qube usb and the disk itself seems to be working so what is wrong maybe you have a solution

it is also strange that when trying start on the computer where qubes is , it does not find this external disk when booting. so it starts booting for this qubes that is on this computer, only that the boot screen itself is then moved to the right side almost outside the screen and not as usual in the middle, strange. without this disk boot screen is normal

Try to boot from some other USB device connected to the same USB port for a test.

I tested different and they work

What’s the Qubes OS version of the system installed on the external SSD?
If it’s Qubes OS 4.2 then is it upgraded in-place from Qubes OS 4.1 or a clean Qubes OS 4.2 installation?

If you’re booting in EFI mode then try to add the Qubes OS EFI boot entry manually:

But I think it’ll disappear again when you disconnect your external SSD from your PC and boot it without it connected.
In Qubes OS 4.2 this issue was fixed:

And you no longer have to manually create a fallback EFI path but if you’ve upgraded in-place then maybe you’ve missed this fix and you need to manually add the fallback EFI path as described in the issue.

Exactly , ok I’ll let you know how I do this advice

That’s fckd up … now i have broke grub in main Qubes too…

[shell] : efibootmgr -v -c -u -L "Qubes OS" -l /EFI/qubes/grubx64.efi -d /dev/nvme0n1 -p 1

change -d <which drive?> and -p <which efi partition?>.

something went wrong here because I don’t know exactly how to check what the drive and partition name will be, and I entered it incorrectly but I definitely didn’t provide the one that is on the main qubes …

I got the main qubes back only configfile(hd1,gpt2)/grub2/grub.cfg
when I turn it on without qubes installation media there is an error 1962 on start

so I tried to start similarly boot therefore qubes externall but it could not read it at all with the command configfile (hd3 TAB

Check the output of fdisk -l command to find the correct disk and partition number.
Also change the label from "Qubes OS" to some unique name so you won’t get confused with boot entries with the same name.
Check the list of current EFI boot entries with this command:

efibootmgr

I deleted the incorrect command with the entry

sudo efibootmgr -v -b 0000 -B (cause name is Boot0000*)
next check lsblk
sda1 /boot /efi
sda2 /boot
sda3 main disk

So, this means that the correct command is
sudo efibootmgr -v -c -u -L Qubes -l /EFI/BOOT/bootx64.efi -d /dev/sda1 -p 1

now it’s fine, so do the same for ext disk ?

The correct one is this:

sudo efibootmgr -v -c -u -L Qubes -l /EFI/BOOT/bootx64.efi -d /dev/sda -p 1

Notice that the disk is /dev/sda, the /dev/sda1 is a partition.

Yes, but maybe it’ll be /EFI/qubes/grubx64.efi instead of /EFI/BOOT/bootx64.efi. Check if you have /EFI/BOOT/bootx64.efi file there first.

something this disk is not quite right … I added it to qubes via sys usb and it does not display it at all in a current qubes.
in disk there is only this disk and where volumes " no media" and there is only an option in additional partition option " edit mount options"
in lsblk not found and fdisk - l the same

I’m not sure if attaching USB devices from sys-usb to dom0 is supported.
But even if it’s supported, the USB block devides initialization is blocked by USBGuard.
Boot from some Live USB (e.g. from Qubes OS installer and enter shell with Ctrl+Alt+F2) and use efibootmgr there.

Boot0008* Realtek (name device) 1.00 BBS(HD,0x0)AMBO