[linux-lvm] grub and lvm

Dan Stromberg strombrg at dcs.nac.uci.edu
Mon Jun 6 21:06:00 UTC 2005


Just a guess, but maybe what you're seeing is grub's inability to read
LVM partitions?

ISTR that grub has built-in knowledge of common linux filesystems, which
is why you don't have to rerun grub like you do with lilo - because ISTR
that lilo is saving a list of blocks to read somewhere for boot time, so
that it won't need filesystem knowledge.

But I wouldn't be surprised a bit of an ext3 over LVM2 isn't represented
on-disk differently from just ext3, which might mean that grub would
need LVM2 knowledge.

Just a totally-wild-guess.  HTH.

On Mon, 2005-06-06 at 09:50 -0700, rich turner wrote:
> using a partition works fine. but i am trying to understand why i can't
> write my grub bootloader to a disk that is being used as a physical
> volume. is grub and lvm using the same part of the disk for its own use?
> 
> 
> On Mon, 2005-06-06 at 11:36 -0500, Alan Jurgensen wrote:
> > You may want to create a Linux LVM partition, and using that in lvm 
> > (pvcreate /dev/hdb1)...
> > 
> > 
> > rich turner wrote:
> > 
> > >i have a volume group built on a physical volume that is the
> > >disk /dev/hdb. when i write the grub bootloader to that disk, it appears
> > >that the bootloader overwrites part or all of the lvm data on that disk,
> > >essentially wiping out my volume group. does anyone know if that is
> > >normal or if lvm and grub indeed share the same place on the disk?
> > >
> > >_______________________________________________
> > >linux-lvm mailing list
> > >linux-lvm at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20050606/af321444/attachment.sig>


More information about the linux-lvm mailing list