You are not logged in.

#1 2010-09-11 08:56:06

arnooo
Member
Registered: 2009-01-14
Posts: 4

[SOLVED] LVM on dm_crypt: can't mount LVM root LV

Hi guys,

I'm trying to install Arch with LVM over dm_crypt. The installation was easy, but now I can't boot.

After I enter passphrase, it finds the logical volumes : "2 logical volumes in volume group 'lvm' now active" (and I have only one VG with two LVs so they're all there)

But then it says "waiting 10 seconds for device /dev/mapper/lvm-root" and "mount: mounting /dev/mapper/lvm-root on /new_root failed: No such device"

"ls -l /dev/mapper/lvm-root" shows a symlink pointing to /dev/dm-2 and /dev/dm-2 exists

Here's the HOOKS line of my mkinitcpio.conf (I left the rest unchanged) :
HOOKS="base udev autodetect pata scsi sata encrypt lvm2 filesystems"

And my kernel line :
kernel /vmlinuz26 cryptdevice=/dev/sda2:lvm root=/dev/mapper/lvm-root ro

Google has not been much help. Any ideas ?

Last edited by arnooo (2010-09-12 10:41:50)

Offline

#2 2010-09-12 10:41:27

arnooo
Member
Registered: 2009-01-14
Posts: 4

Re: [SOLVED] LVM on dm_crypt: can't mount LVM root LV

OK, I got it to work. Turns out the mirror I had used for installation (free.fr) had outdated packages. After changing the mirror and running pacman -Suy, it works perfectly !

Offline

Board footer

Powered by FluxBB