[linux-lvm] Debian 3.0, kernel 2.4.18 booting with a LVM root fs LVM doesn't work

LEBRETON Philippe philippe.lebreton at cti-paysloire.cnamts.fr
Thu Sep 26 06:35:01 UTC 2002


"Heinz J . Mauelshagen" wrote:

> On Thu, Sep 26, 2002 at 12:19:54PM +0200, LEBRETON Philippe wrote:
> > hello,
> >
> > My configuration is :
> >
> > Debian 3.0
> > Kernel 2.4.18
> > lvm10 debian package.
> >
> > i want to convert my root fs to LVM and i follow the HOWTO instructions.
> >
> > in my initrd image i add block, ide, scsi, fs and net drivers.
> > my linuxrc is :
> > #!/bin/sh
> > /sbin/modprobe ext3
> > /sbin/modprobe ext2
> > /sbin/modprobe ips
> > /sbin/modprobe aic7xxx
> > /sbin/modprobe lvm-mod
> > /bin/mount /proc
> > /sbin/vgscan
> > /sbin/vgchange -a y
> > /bin/umount /proc
> >
> > when i boot, all drivers are load but mount, vgscan and vgchange doesn't
> > work :
> >
> > can't create lock file /etc/mtab17 : permision denied (use -n flag to
> > override)
> > vgscan -- ERROR "creating lvmtab" creating lvmtab
> >            -- no volume groups found
> > vgchange -- ERROR "/etc/lvmtab" doesn't exist: please run vgscan
> > .
> > .
> > .
> > .
> > VFS: cannot open device 3a:00
> > kernel panic: VFS: unable to mount root fs 3a:00
> >
> > where is the problem
>
> Read-only initrd?
>
> >
> > Thanks
> >
> > Philippe LEBRETON
> >
> >
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm at sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
> --
>
> Regards,
> Heinz    -- The LVM Guy --
>
> *** Software bugs are stupid.
>     Nevertheless it needs not so stupid people to solve them ***
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> Heinz Mauelshagen                                 Sistina Software Inc.
> Senior Consultant/Developer                       Am Sonnenhang 11
>                                                   56242 Marienrachdorf
>                                                   Germany
> Mauelshagen at Sistina.com                           +49 2626 141200
>                                                        FAX 924446
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

yes my initrd is read-only but hox i can made initrd read-write?





More information about the linux-lvm mailing list