* [linux-lvm] grub and lvm
@ 2005-06-06 16:13 rich turner
2005-06-06 16:30 ` rich turner
2005-06-06 16:36 ` Alan Jurgensen
0 siblings, 2 replies; 7+ messages in thread
From: rich turner @ 2005-06-06 16:13 UTC (permalink / raw)
To: LVM general discussion and development
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?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] grub and lvm
2005-06-06 16:13 [linux-lvm] grub and lvm rich turner
@ 2005-06-06 16:30 ` rich turner
2005-06-06 16:36 ` Alan Jurgensen
1 sibling, 0 replies; 7+ messages in thread
From: rich turner @ 2005-06-06 16:30 UTC (permalink / raw)
To: LVM general discussion and development
an additional question, does lvm write anything into the mbr when a disk
is used as a physical volume, as opposed to a partition?
On Mon, 2005-06-06 at 09:13 -0700, 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@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] grub and lvm
2005-06-06 16:13 [linux-lvm] grub and lvm rich turner
2005-06-06 16:30 ` rich turner
@ 2005-06-06 16:36 ` Alan Jurgensen
2005-06-06 16:50 ` rich turner
1 sibling, 1 reply; 7+ messages in thread
From: Alan Jurgensen @ 2005-06-06 16:36 UTC (permalink / raw)
To: LVM general discussion and development
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@redhat.com
>https://www.redhat.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
>
--
----------------------------------------------------------------------
Alan W. Jurgensen - Berbee Information Networks - jurgensen@berbee.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] grub and lvm
2005-06-06 16:36 ` Alan Jurgensen
@ 2005-06-06 16:50 ` rich turner
2005-06-06 20:04 ` rich turner
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: rich turner @ 2005-06-06 16:50 UTC (permalink / raw)
To: LVM general discussion and development
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@redhat.com
> >https://www.redhat.com/mailman/listinfo/linux-lvm
> >read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> >
> >
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] grub and lvm
2005-06-06 16:50 ` rich turner
@ 2005-06-06 20:04 ` rich turner
2005-06-06 21:06 ` Dan Stromberg
2005-06-07 14:16 ` Eric M. Hopper
2 siblings, 0 replies; 7+ messages in thread
From: rich turner @ 2005-06-06 20:04 UTC (permalink / raw)
To: LVM general discussion and development
for what it is worth ...
i have found that you can only write the grub boot loader to a disk that
is partitioned. perhaps something they will fix in grub2.
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@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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] grub and lvm
2005-06-06 16:50 ` rich turner
2005-06-06 20:04 ` rich turner
@ 2005-06-06 21:06 ` Dan Stromberg
2005-06-07 14:16 ` Eric M. Hopper
2 siblings, 0 replies; 7+ messages in thread
From: Dan Stromberg @ 2005-06-06 21:06 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 1903 bytes --]
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@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/
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] grub and lvm
2005-06-06 16:50 ` rich turner
2005-06-06 20:04 ` rich turner
2005-06-06 21:06 ` Dan Stromberg
@ 2005-06-07 14:16 ` Eric M. Hopper
2 siblings, 0 replies; 7+ messages in thread
From: Eric M. Hopper @ 2005-06-07 14:16 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
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?
Yes. Grub uses the same sectors as are used by the partition table.
So, even if this 'limitation' were removed, you wouldn't get even one
sector of extra space.
Have fun (if at all possible),
--
The best we can hope for concerning the people at large is that they
be properly armed. -- Alexander Hamilton
-- Eric Hopper (hopper@omnifarious.org http://www.omnifarious.org/~hopper) --
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 185 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-06-07 14:16 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-06 16:13 [linux-lvm] grub and lvm rich turner
2005-06-06 16:30 ` rich turner
2005-06-06 16:36 ` Alan Jurgensen
2005-06-06 16:50 ` rich turner
2005-06-06 20:04 ` rich turner
2005-06-06 21:06 ` Dan Stromberg
2005-06-07 14:16 ` Eric M. Hopper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).