[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] root on lvm



My solution for this (so far) is to make a non-LVM2 /boot partition and
store a kernel and initrd in that. You can then build everything else as
a LVM partition. Perhaps when the available bootloaders become LVM2
aware we'll be able to do away with a seperate /boot, but for now it
seems to be the best way to deal with it.
Cheers,
-- Jeff


On Fri, 2004-03-19 at 15:47, Garcia Pascal wrote:
> Hello,
> I experienced also difficulties with / and lvm2.
> configuration: 
>    MANDRAKE 10.0, 
>    kernel 2.6.3, 
>    lilo 22.5.8, 
>    reiserfs 3.6.11 ?
>    lvm 2.00.08
>  
> The message I have got is something like lilo does not handle device
> type 0x1f00 
> 
> Can not ensure that it is the exact message and type.
> 
> I understood that the version of lilo I use can not handle lvm2 and
> reiserfs partition for / during boot ! And especially can not get boot
> image in /boot.
> 
> Shame :(
> 
> regards
> 
> Pascal Garcia
> 
> Le ven 19/03/2004 à 15:19, Jeffrey Layton a écrit :
> > On Tue, 2004-03-16 at 18:00, Rich Turner wrote:
> > > i am trying to mount / on a logical volume with reiserfs. my initrd
> > > appears to be loading all of the appropriate modules (lvm-mod, dm-mod,
> > > reiserfs) but i get the following error when the initrd exits and tries
> > > to mount /.
> > > 
> > > device-mapper: unknown block ioctl 0x5310
> > > sh-2021: reiserfs_read_super: can not find reiserfs on device mapper
> > > (254,1)
> > > 
> > > is this related to reiserfs or lvm? or my initrd?
> > > using:
> > > lvm-2.00.07
> > > reiserfs-3.6.9-37
> > > suse-9.0
> > > kernel-2.4.21-144-athlon
> > > 
> > 
> > You likely are hitting a problem with the device numbering for DM
> > devices. The kernel dynamically allocates major and minor numbers for
> > the DM, so booting to a different kernel can renumber your DM devices.
> > Have a look at the lvm2create_initrd script that's been posted on this
> > list several times to see how I (and others) have handled this
> > situation. It's also available here:
> > 
> > http://poochiereds.net/svn/lvm2create_initrd
> > 
> > -- Jeff
> > 
> > 
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm redhat com
> > https://www.redhat.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm redhat com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-- 
Jeff Layton <jtlayton poochiereds net>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]