#[SOLVED (I can't read)] Cryptdevice, lvm, can't get initramfs to find root
76 messages ยท Page 1 of 1 (latest)
Turning into 2 hour installation...
Trying not to get frustrated but idk what I'm missing here
I guess that underscore is actually your cursor?
Yeah
What happens when you try and boot this?
Generally the root= argument is something like /dev/mapper/vg0-root depending on how you have named things
so /dev/mapper/pondpool-root perhaps?
When you unlock your luks in the iso it should get mapped in a similar way, so ls /dev/mapper may be useful to look at
Ah you should perhaps fix the fstab
But looking at this I think I was right. Your volumes are on /dev/mapper/pondpool-*
wtf what is this partition table???? ive never seen that? why did u partition like this?
i dont want to be rude im just curious
Insane
Not OP but that's luks/lvm. The luks container has the LVM inside it, and then the lvm volumes are mapped to /dev/mapper/* where they can then be mounted as normal
Crypt base, with lvm on top
Is this after being challenged to decrypt?
Before
why would OP do that?
hmm can you show your mkinitcpio hooks?
Imma double triple check the UUID
for fun?
LUKS is full disk encryption so you can imagine why that is good. LVM is a convenient way to make virtual partitions
Mounting a partition straight out of a LUKS container can be a pain. lvm makes it all a lot easier and nicer
I have block encryption lvm2 fsck ...
it's encrypt isn't it?
It shouldn't be getting this far without asking you to decrypt. That's the lvm/fsck part of the init process

Mounting /dev/mapper/<whatever>-root should be after the decrypt, and after the mapper has done its stuff
Could you also post all these hooks? Could be something we're missing. The whole mkinitcpio.conf would be good to see
hmmmm okay, my drive isnt encrypted but cool
Not attempting to decrypt at all makes me think it's a misconfiguration in mkinicpio
I must protect my battlefield 4
On this topic... Do you have cryptsetup installed on your system? It comes on the iso but it also needs to be on your disk and thus available to be put in the initramfs
I only ask because I have done exactly that before
"y no decrypt" - well, helps to install the thing lol
What's the path for mkini
Fond er
Double checking uuid
I WAS MISSING A CHUNK
BC65
In the UUID
I recommend some bashism for this sorta thing? ๐ saves a lot of typing and typos
Could do something like sudo blkid | grep -i sda2 | sudo tee -a /etc/default/grub to get the UUID from the block device into the grub config file. Then you can go in and copy-pasta it where it needs to actually be
I thought copy paste was a myth in live environment
Oh I mean in nano or vim
That's just a quick and dirty way of getting the block UUID into the file
then you can hack it
I see, tyvm ๐
[SOLVED (I can't read)] Cryptdevice, lvm, can't get initramfs to find root
... solved
