[linux-lvm] mount root filesystem on lvm

Manfred Gschweidl m.gschweidl at inode.at
Sat May 10 21:05:02 UTC 2003


the kernel always complaines, that he cannot mount the root fs...

when i use "/dev/progs/root" boot up ends with:
VFS: Cannot open root device "3a00" or 3a:00
Please append s correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 3a:00

when i use "/dev/mapper/progs-root" boot up ends with:
VFS: Cannot open root device "mapper/progs-root" or 00:00
Please append s correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00

i use the append option for "/dev/mapper/progs-root", because i can't 
run lilo with it, because lilo says, that it doesn't find the device....

i want to upgrade from 2.4.12 LVM1 to 2.4.20 LVM2....
booting with 2.4.12 and LVM1 works now for nearly 2 years.

thanks again,

manfred



Christophe Saout wrote:
> Am Sam, 2003-05-10 um 18.02 schrieb Manfred Gschweidl:
> 
> 
>>i have one more question: what does your "lilo.conf" look like???
>>especially the "root=...." parameter ist he most interesting one. how 
>>does it need to be named with device-mapper???
> 
> 
> It looks fairly simple:
> 
> boot    = /dev/hda
> vga     = normal
> read-only
> lba32
> prompt
> timeout = 30
> message = /boot/message
> 
> image  = /boot/vmlinuz
>   label  = linux
>   root   = /dev/mapper/vg-root
>   initrd = /boot/initrd
> 
> But I think you can also use /dev/vg/root (in my case). I think lilo
> only uses this line to look up the device number (major, minor).
> 
> What's your problem?
> 





More information about the linux-lvm mailing list