All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] root fs on lvm - kernel panic
@ 2002-10-21 23:49 jkcwong
  2002-10-22  3:16 ` Stefan Weigel
  0 siblings, 1 reply; 3+ messages in thread
From: jkcwong @ 2002-10-21 23:49 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] root fs on lvm - kernel panic
  2002-10-21 23:49 jkcwong
@ 2002-10-22  3:16 ` Stefan Weigel
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Weigel @ 2002-10-22  3:16 UTC (permalink / raw)
  To: linux-lvm

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

Am Dienstag, 22. Oktober 2002 07:00 schrieb jkcwong@mail.hongkong.com:
> 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
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE:  [linux-lvm] root fs on lvm - kernel panic
@ 2002-10-22 22:16 jkcwong
  0 siblings, 0 replies; 3+ messages in thread
From: jkcwong @ 2002-10-22 22:16 UTC (permalink / raw)
  To: linux-lvm

the actual error i have now copied down:

VFS: Cannot open root device "3a00" or 3a:00.
Please append a correct "root=" boot option

Kernel panic: VFS: Unable to mount root fs on 3a:00

a few lines above this error i see a line that reads:

Partition check:
Floppy drive(s)
FDC0
LVM version 1.05 (15/07/2002)

i guess it can actually read the /etc/fstab?  which i have a line that reads "root=/dev/vg00/lvol0"

if my root is not on lvm, just say, /home and /usr are on lvm, then it works fine.  i have inserted the following to my rc.sysinit:

if [ -e /proc -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then
  action "Setting up LVM" /sbin/vgscan
  action "Initialising LVM" /sbin/vgchange -a y
fi


i have tried to move the /etc/fstab and /etc/lilo.conf to /boot (not on lvm) and then create sym links to them.  then initrd / lvmcreate_initrd and adjust lilo.conf.... same result.  please help.  thanks.
----------------------------------------------
\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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-22 22:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22 22:16 [linux-lvm] root fs on lvm - kernel panic jkcwong
  -- strict thread matches above, loose matches on Subject: below --
2002-10-21 23:49 jkcwong
2002-10-22  3:16 ` Stefan Weigel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.