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

Re: switch from 2.4.24 lvm1 to 2.6.10 lvm 2 problems



Wayne Topa wrote:

<snip>


do a grep on your /boot/config-2.6.10 for the following
CONFIG_MD=y
CONFIG_BLK_DEV_DM=y

Those are all I have enabled for a working LVM2.  Note that I do not
have / setup as LVM so I don't have a problem.  ISTR reading
something, from a Google search, on what you have to do to boot from a
LVM partition.  Don't remember the particulars as I had no intention
of doing it that way.

:-) HTH, YMMV, HAND :-)
Wayne

Thanks Wayne,

well i've had a similar problem 2 months back and i solved it. Just not sure how. Having / on LVM is another level of difficulty but i like having root on LVM.
Anyway, i found a couple of things i can still try.
First i'll try a standard kernel and change the modules loaded in
/etc/modules and making sure that at least these are in there
ext3
dm_mod
ide_generic
ide_cd
ide_disk
piix

Then i'll vi /etc/mkinitrd/mkinitrd.conf and
change ROOT=probe to ROOT=/dev/main/lv_root

And aftewards make in initrd again hoping it now detects the root correctly and includes
the modules listed in /etc/modules.
Then i think the initrd will at least see the lvm2 root partition and load the appropriate
modules. I hope this will solve the problem.

Regards,
Benedict



Reply to: