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

[linux-lvm] Failed to boot 2.6.6 with root on lvm



Hi,

I've a lvm1 system, all filesystems are xfs but /boot which is ext3.
I boot 2.4.36 telling root=3a02, (58,2) is the major/minor for my root lv. This works fine.


I've booted from an other partition 2.6.6 and I can access my lvm via the device mapper without any problem.

I built xfs support hard coded in the kernel to avoid side effects with the xfs module.

I tried to boot 2.6.6 on my lvm system but I failed.

I built the initrd with lvm2create_initrd from
Jeff Layton <jtlayton poochiereds net>

If I tell grub:
root=/dev/ram0 lvm2root=/dev/vg00/root_lv I get the following messages at boot :
[ ... ]
device-mapper: 4.1.0-ioct (2003-12-10) initialised: dm uk syistina com
[ ... ]
VFS cannot open root device "ram0" or unknown-block (0,0)
Please apped a correct "root=" boot option


If I tell grub:
root=3a02 (like with 2.4.21 and lvm1) I get the following

VFS cannot open root device "3a02" or unknown-block (58,2)
Please apped a correct "root=" boot option

Is there any mean to boot an lvm1 based root filesystem from 2.6.x (or 2.4.xx and the device-mapper) ?

--
Regards
		- Jean-Luc

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