From: Jeff Layton <jtlayton@poochiereds.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] root on lvm
Date: Sun, 21 Mar 2004 21:20:26 -0500 [thread overview]
Message-ID: <1079922026.2361.7.camel@localhost> (raw)
In-Reply-To: <1079729272.2126.12.camel@pascal>
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>
next prev parent reply other threads:[~2004-03-22 2:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-16 23:00 [linux-lvm] root on lvm Rich Turner
2004-03-19 14:19 ` Jeffrey Layton
2004-03-19 20:47 ` Garcia Pascal
2004-03-21 11:27 ` Luca Berra
2004-03-22 2:20 ` Jeff Layton [this message]
2004-03-23 19:24 ` Luca Berra
2004-03-23 20:21 ` Garcia Pascal
2004-04-02 22:42 ` Garcia Pascal
2004-04-15 20:09 ` Pascal Garcia dld
2004-04-16 7:04 ` Luca Berra
2004-04-18 7:07 ` Pascal Garcia dld
2004-04-19 7:00 ` Pascal Garcia dld
2004-03-23 20:20 ` John Stoffel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1079922026.2361.7.camel@localhost \
--to=jtlayton@poochiereds.net \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.