First you can check the partitions on your drives with fdisk -l
and check their IDs with blkid
to see if partition 1234afj2030fha0fa0fea93202r94jfnj
exists.
If it exists then try to decrypt it and mount some qube for a test:
Is 1234afj2030fha0fa0fea93202r94jfnj
supposed to be a UUID of a partition? Because if it is, then blkid
did not match that partition. lsblk
and blkid
show the following:
$ sudo blkid
/dev/sda2: UUID="88888888-8888-8888-8888-88888888888" TYPE="crypto_LUKS" PARTUUID=899999999-02
/dev/sda1: UUID="77777777-7777-7777-7777-77777777777" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="8999999999-01"
I was indeed able to decrypt /dev/sda2
with gnome-disks utility, and then I mounted several qubes successfully. So it seems like my actual encrypted Qubes disk is okay. However, Grub can’t find the actual LUKS partition it’s installed on.
Boot in a live usb (even the Qubes OS installer, enter TTY with CTRL+ALT+F2) and deal with the qube in question from there.
What do you mean “Deal with the qube in question”? I am not haveing issue with any specific qube. All qubes mount fine from a debian live cd and so does the encrypted LUKS partition they are contained in. So what exactly are you talking about? Could you be more specific?
If your QubesOS installation is encrypted: $ cryptsetup open /dev/ luks-qubes # Find the name of the qube of interest and mount it
Again, my qubes are fine. The OS just won’t boot into qubes. So why am I tinkering with specific qubes inside of my encrypted LUKS Partition?
lsblk # Grep can help you locate the exact qube $ lsblk | grep $ mount /dev/mapper/qubes_dom0-vm––private /mnt #
What qube am I trying to locate with grep? dom0? What exactly does your notation mean? It’s not very clear. Should It look more like this?
$ lsblk | home-vm
$ mount /dev/mapper/qubes_dom0-vm--home-vm--private /mnt
Are these the correct commands? If so what will these commands do?
Do what you need to do then unmount
I have no idea what I need to do. What is it exactly that you are telling me to do? This makes no sense.
then unmount $ umount /mnt $ vgchange -a n $ cryptsetup close luks-qubes (…
Your commands are confusing. Do you mean this?
$ umount /mnt
$ vgchange -a n
$ cryptsetup close luks-qubes
what about the "(.."
What does that mean?
Can you please walk me through this? Thank you!