[linux-lvm] Failed to boot 2.6.6 with root on lvm
Jean-Luc Coulon (f5ibh)
jean-luc.coulon at wanadoo.fr
Sun Jun 20 17:12:55 UTC 2004
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 at 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 at 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
More information about the linux-lvm
mailing list