FS#5510 - lvm encrypted root not working, initcpio, kernel-2.6.18
Attached to Project:
Arch Linux
Opened by Vesa Kaihlavirta (vegai) - Tuesday, 03 October 2006, 08:17 GMT
Last edited by arjan timmerman (blaasvis) - Tuesday, 03 October 2006, 09:15 GMT
Opened by Vesa Kaihlavirta (vegai) - Tuesday, 03 October 2006, 08:17 GMT
Last edited by arjan timmerman (blaasvis) - Tuesday, 03 October 2006, 09:15 GMT
|
Details
[vegai@moria ~]$ cat bug
This old initramfs -equipped kernel works for me still: # (0) Arch Linux title Arch Linux, beyond kernel root (hd0,0) kernel /vmlinuz26beyond root=/dev/dm-0 ro initrd /initramfs-beyond.img whereas this does not: # (0) Arch Linux title Arch Linux root (hd0,0) kernel /vmlinuz26 root=/dev/dm-0 ro initrd /kernel26.img This latter one is kernel-2.6.18 from current, with mkinitcpio. My mkinitcpio's HOOKS: HOOKS="base udev autodetect ide scsi sata filesystems encrypt" Hooks lvm and lvm2 don't exist anymore, so adding those makes mkinitcpio obviously complain about them. And when booting, lvm nor device-mapper seem to be loaded. I've tried several roots on the grub config, and the most promising was root=/dev/sda3, where my encrypted partition is supposed to be. This gives the following in boot: :: Running Hook [encrypt] device-mapper: ioctl: ... mknod: No such file or directory - /dev/mapper/control So, either device-mapper is not included with the image, or it is not autodetected, making mounting an lvm/device-mapped encrypted root impossible to mount. |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Wednesday, 04 October 2006, 13:57 GMT
Reason for closing: Not a bug
Wednesday, 04 October 2006, 13:57 GMT
Reason for closing: Not a bug
/lib/initcpio/install/lvm2 is owned by lvm2 2.02.10-1
seems pacman lost the file during update please reinstall lvm2