You are not logged in.
I'm setting up a new box and playing with lvm. I put the lvm2 hook in mkinitcpio.conf, but when I try to boot I get:
:: Running Hook [lvm2]
Waiting 10 seconds for device /dev/mapper/ekans-root ...
Root device '/dev/mapper/ekans-root' doesn't exist. Attempting to create it.
ERROR: Unable to determine major/minor number of root device '/dev/mapper/ekans-root'.
looking in /dev from the recovery shell I don't see my lvm group. The partitions are accessible, though, if I boot a liveCD and type "vgchange -ay ekans" and then mount them.
Are there other hooks I need in order to get the new booting kernel to see my partitions?
Last edited by namelessone (2010-12-01 02:26:16)
Offline
The HOOKS array is order sensitive. Can you post your conf file for mkinitcpio?
Oh! I understand now: I was using HOOKS="base udev lvm2 sata filesystems" but I need to have sata before lvm2 in order to properly detect my hard drive!
Changing it to HOOKS="base udev sata lvm2 filesystems" fixed the issue
Offline