yerill
January 4, 2023, 4:24pm
1
I’m running Qubes 4.1
While updating, my PC froze, so I hard rebooted the PC. Re-Boot now stays at a grub prompt (grub> )
Exiting from grub prompt displays “No bootable devices found”.
Boot is UEFI with secure boot disabled.
My boot option points to \EFI\qubes\grubx64.efi
Booting from a Qubes 4.1 usb pen drive and selecting the Recovery option, I have the options:
Continue
Read-Only
Skip to Shell
Quit
Option 1 (after decrypting the drive) returns the message “You don’t have any Linux Partitions”, and “Press Enter to get a shell”. .
Option 2 result is the same.
Option 3 does not decrypt the drive
No option has data under /mnt/sysroot, but I can mount /dev/sd1 & /dev/sda2 under /tmp/mnt/sda1 & /tmp/mnt/sda2 for example.
cat /tmp/mnt/sda1/EFI/qubes/grub.cfg gives an Input/output error, but I can cat /tmp/mnt/sda2/xen-4.14.5.config.
When I boot with a Ubuntu USB pen drive, I can mount and see all my partitions & Qubes LVM data.
I’m thinking either the update failed, or perhaps I was impatient and interrupted it.
Are there steps I can use manually build a new UEFI Grub environment?
ChrisA
January 4, 2023, 5:47pm
2
Does the shell (after “Option 1”) have commands like:
lvm lvscan
If so, does it look like this case:
okay so what you see is emergency dracut shell, in the shell run lvm lvscan
example you found :
$ lvm lvscan
inactive '/dev/qubes_dom0/root'
inactive '/dev/qubes_dom0/vm'
inactive '/dev/qubes_dom0/swap'
if lvm is founded and you see inactive simply active it by issuing :
lvm lvchange -a y qubes_dom0/root
lvm lvchange -a y qubes_dom0/vm
lvm lvchange -a y qubes_dom0/swap
swapon /dev/qubes_dom0/swap
?
yerill
January 4, 2023, 5:52pm
3
The /sbin/lvm command is present but has no output.
yerill
January 4, 2023, 5:54pm
4
Perhaps I need to have a chroot environment in place 1st, and option 1 did not set one up under /mnt/sysroot
ChrisA
January 4, 2023, 6:00pm
5
Does:
lvm lvscan
produce any output?
… and do you get anything with:
ls /dev/mapper/
?
yerill
January 4, 2023, 6:08pm
6
No output from lvm lvscan. ls /dev/mapper has a few things (I think) related to the usb pen drive but nothing related to lvm.
yerill
January 4, 2023, 6:09pm
7
ls /dev/mapper
control live-base live-rw ventoy
ChrisA
January 4, 2023, 6:12pm
8
Does lvm
have a
lvm vgdisplay
If so, what do you get from that? - and does it have
lvm vgscan
?
yerill
January 4, 2023, 6:16pm
9
lvm vgdisplay has no output. lvm pvscan says “no matching physical volumes found”
ChrisA
January 4, 2023, 6:20pm
10
Can you try the steps from here:
This issue is critical as one of my backups is corrupted, and the other is lost.
I have been using Qubes for a little while now, and am dealing with a critical issue. After entering FDE login info, the boot-bar loads very slowly before entering an dracut emergency prompt and displaying:
Warning: dracut-initqueue timeout - starting timeout scripts
Warning: dracut-initqueue timeout - starting timeout scripts
Warning: dracut-initqueue timeout - starting timeout scripts
Warning: Could not boot. …
?
And try:
ChrisA:
lvm vgscan
… so vg scan
khal
January 25, 2023, 5:04am
11
I have exactly the same issue and results as yerill, caused by power loss during a dom0 update.
Did you manage to recover your grub boot process @yerill ?
Could anyone else offer any assistance? I’ve no idea what to try next.
deeplow
January 25, 2023, 12:19pm
12
(renamed topic to be a bit more explicit over topic being discussed)