I recently installed Qubes 4.0 on a laptop, installed updates in dom0
and my templates, restored a backup, and did a bunch of custom
configuration. And then when I rebooted, Qubes wouldn't boot up due to a
partitioning error. (It looks like it's the same problem described here
[1]). During boot, I get a hundreds of lines that says:
dracut-initqueue[343]: Warning: dracut-initqueue timeout - starting
timeout scripts
Followed by:
dracut-initqueue[343]: Warning: Could not boot.
dracut-initqueue[343]: Warning: /dev/mapper/qubes_dom0-root does not
exist
dracut-initqueue[343]: Warning: /dev/qubes_dom0/root does not exist
Starting Dracut Emergency Shell...
Then it drops me into an emergency shell.
When I run lv_scan, I can see:
Scanning devices dm-0 for LVM logical volumes qubes_dom0/root
qubes_dom/swap
inactive '/dev/qubes_dom0/pool00' [444.64 GiB] inherit
inactive '/dev/qubes_dom0/root' [444.64 GiB] inherit
ACTIVE '/dev/qubes_dom0/swap' [15.29 GiB] inherit
inactive '/dev/qubes_dom0/vm-sys-net-private [2 GiB] inherit
And it continues to list another inactive line for each private or root
partition for each of my VMs. Only swap is active.
I spent a little time trying to troubleshoot this, but ultimately
decided that it wasn't worth the time, since I have a fresh backup. So I
formatted my disk again, reinstalled Qubes, restored my backup, etc.
After installing more updates and rebooting, I just ran into this exact
same problem *again*. I think this could be a Qubes bug.
Any idea on how I can fix this situation? The dracut emergency shell
doesn't seem to come with many LVM tools. There's lvm, lvm_scan,
thin_check, thun_dump, thin_repair, and thin_restore. I could boot to
the Qubes USB and drop into a troubleshooting shell to have access to
more tools.
[1]
https://groups.google.com/forum/#!searchin/qubes-users/dracut-initqueue$20could$20not$20boot|sort:date/qubes-users/PR3-ZbZXo_0/G8DA86zhCAAJ