[linux-lvm] root device problems with initrd and root on lvm

Klingaman, Aaron L aaron.l.klingaman at intel.com
Wed Oct 1 19:16:02 UTC 2003


So, after a lot of testing and reboots, and reading through the mail
list archives, here is my problem:

appending "root=/dev/vg/root" to the kernel command line does't work:
'Cannot open root device "vg/root" or 00:00'

but when I use the real major/minor numbers ('root=3a01'), it works
correctly.

During startup, vgscan and vgactivate are working correctly and finding
the volumes, and I modified the initrd to do an ls -l on /dev/vg to get
the major/minor numbers. Somehow the mapping between /dev/vg/root to
3a01 isn't right.

I could just hardcode root=3a01 but I would rather not.

Any help would be appreciated.

(BTW, I'm not using lilo or grub, but kexec to load the kernel). I don't
think this is a problem as the kernel parameters are getting passed
correctly, and specifing root=3a01 allows the machine to boot).

Thank you,
Aaron





More information about the linux-lvm mailing list