[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]