Skip to contentSkip to conversation

root fs on lvm - kernel panic

linux-lvm [email protected] 2 participants 2 messages Oct 21, 2002 – Oct 22, 2002

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

What message is outputed from the kernel/lvm-tools (lvchange) ??

Am Dienstag, 22. Oktober 2002 07:00 schrieb [email protected]:

Quoted 40 lines

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

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