root device problems with initrd and root on lvm

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

 



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


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux