All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] "/boot" under LVM2 support in lilo or grub
@ 2006-05-17 14:08 Greg Hartzog
  2006-05-17 19:26 ` Dieter Stüken
  2006-05-18 19:51 ` Greg Hartzog
  0 siblings, 2 replies; 5+ messages in thread
From: Greg Hartzog @ 2006-05-17 14:08 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

Hello there everyone.

 

I found from poking around the web that lilo, in theory, supports having
"/boot" under LVM2 control rather then existing as its own partition.

 

I was wondering if anyone can confirm or deny this.  And if anyone has any
docs on how to configure or setup this up.

 

Thanks!

 


[-- Attachment #2: Type: text/html, Size: 2212 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] "/boot" under LVM2 support in lilo or grub
  2006-05-17 14:08 [linux-lvm] "/boot" under LVM2 support in lilo or grub Greg Hartzog
@ 2006-05-17 19:26 ` Dieter Stüken
  2006-05-18  7:14   ` Luca Berra
  2006-05-18 19:51 ` Greg Hartzog
  1 sibling, 1 reply; 5+ messages in thread
From: Dieter Stüken @ 2006-05-17 19:26 UTC (permalink / raw)
  To: LVM general discussion and development

Greg Hartzog wrote:
> I found from poking around the web that lilo, in theory, supports having 
> �/boot� under LVM2 control rather then existing as its own partition.

this would be really nice to see. Most FAQs advise you to partition your
disk. But my PV is about 5TB, which stupid DOS partitioning can't handle
anyway. I think it should be possible to have a small LV containing
the /boot directory. With my PE size of 32M, I don't even have to worry
if it is contiguous, as it will fit into a single PE. The very first
sector of a PV seems to be unused by LVM, thus a Lilo or Grub MBR may be 
installed. The remaining problem is to set up the mapping for LILO or
Grub to load further stages and the kernel itself.

I looked into the LILO sources and indeed found some fragments dealing
with LVM when trying to get the physical sector numbers of the files to
load (using FIBMAP). But I'm still searching where this is documented.

The Grub development seems to be focused mainly on wired mutiboot
problems with DOS and Windows XY. The whole system fundamentally
depends on the concept of a partition table to solve problems
I will never have :-)

Dieter.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] "/boot" under LVM2 support in lilo or grub
  2006-05-17 19:26 ` Dieter Stüken
@ 2006-05-18  7:14   ` Luca Berra
  0 siblings, 0 replies; 5+ messages in thread
From: Luca Berra @ 2006-05-18  7:14 UTC (permalink / raw)
  To: linux-lvm

On Wed, May 17, 2006 at 09:26:05PM +0200, Dieter St�ken wrote:
>Greg Hartzog wrote:
>>I found from poking around the web that lilo, in theory, supports having 
>>?/boot? under LVM2 control rather then existing as its own partition.
>
>this would be really nice to see. Most FAQs advise you to partition your
>disk. But my PV is about 5TB, which stupid DOS partitioning can't handle

http://www.saout.de/misc/

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [linux-lvm] "/boot" under LVM2 support in lilo or grub
  2006-05-17 14:08 [linux-lvm] "/boot" under LVM2 support in lilo or grub Greg Hartzog
  2006-05-17 19:26 ` Dieter Stüken
@ 2006-05-18 19:51 ` Greg Hartzog
  2006-05-19  5:14   ` Luca Berra
  1 sibling, 1 reply; 5+ messages in thread
From: Greg Hartzog @ 2006-05-18 19:51 UTC (permalink / raw)
  To: 'LVM general discussion and development'

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

My thanks to everyone for answering.

 

From the lilo author, I found that my choices are for "/boot" to either be
on RAID-1 or to be under LVM.  But both are not allowed.

 

So I am considering what to do next.

 

What is the state of the LVM mirroring code?  Could I create mirrored
logical volumes in LVM rather then putting LVM on top of RAID-1 md?

 

Thanks!

 

  _____  

From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] On
Behalf Of Greg Hartzog
Sent: Wednesday, May 17, 2006 10:09 AM
To: linux-lvm@redhat.com
Subject: [linux-lvm] "/boot" under LVM2 support in lilo or grub

 

Hello there everyone.

 

I found from poking around the web that lilo, in theory, supports having
"/boot" under LVM2 control rather then existing as its own partition.

 

I was wondering if anyone can confirm or deny this.  And if anyone has any
docs on how to configure or setup this up.

 

Thanks!

 


[-- Attachment #2: Type: text/html, Size: 5825 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] "/boot" under LVM2 support in lilo or grub
  2006-05-18 19:51 ` Greg Hartzog
@ 2006-05-19  5:14   ` Luca Berra
  0 siblings, 0 replies; 5+ messages in thread
From: Luca Berra @ 2006-05-19  5:14 UTC (permalink / raw)
  To: linux-lvm

On Thu, May 18, 2006 at 03:51:17PM -0400, Greg Hartzog wrote:
>My thanks to everyone for answering.
>
> 
>
>>From the lilo author, I found that my choices are for "/boot" to either be
>on RAID-1 or to be under LVM.  But both are not allowed.
>
it depends on what you intend for raid1
the lilo device mapper patch only supports linear maps, so 
you cannot use it with dm-mirror.
but /boot over lvm over md always worked fine.

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-19  5:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-17 14:08 [linux-lvm] "/boot" under LVM2 support in lilo or grub Greg Hartzog
2006-05-17 19:26 ` Dieter Stüken
2006-05-18  7:14   ` Luca Berra
2006-05-18 19:51 ` Greg Hartzog
2006-05-19  5:14   ` Luca Berra

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.