[linux-lvm] root fs on lvm - kernel panic

From: jkcwong mail hongkong com

To: linux-lvm sistina com

Cc:

Subject: [linux-lvm] root fs on lvm - kernel panic

Date: Mon Oct 21 23:49:01 2002

hi guys,
i need help. thanks.
i have installed trustix on my pc (2 disks) then changed from ext2 to reiserfs and booting ok. this is the base system. now i want to migrate to lvm. the config is as below:
trustix 1.5 (kernel 2.4.19 with lvm and reiserfs compiled in)
/dev/hdb1, 100mb, /boot, reiserfs
/dev/hdb2, 4gb, /, reiserfs
/dev/hdb3, 256mb, swap
i have created the following on /dev/hda:
/dev/hda1, 100mb, /boot, reiserfs
/dev/hda2, 6gb, /dev/vg00
/dev/hda3, swap
under /dev/vg00 i have a lvol0 as the new root.
i have copied the files across from hdb to hda. when i boot (from hdb) i can mount all the partitions (includings lvols). when i try to boot from /dev/hda i will get a kernel panic error... i have created a ram disk using lvmcreate_initrd....
in my new lilo.conf, it has:
root=/dev/vg00/lvol0
what have i missed?
----------------------------------------------
\305w\252\357\250\317\245\316 hongkon.com \271q\244l\266l\245\363\250t\262\316
Thank you for using hongkong.com Email system