linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] booting from an LV
@ 2006-05-23 10:21 Joep Blom
  2006-05-23 10:58 ` Luca Berra
  0 siblings, 1 reply; 10+ messages in thread
From: Joep Blom @ 2006-05-23 10:21 UTC (permalink / raw)
  To: LVM general discussion and development

I have one question.
Is it possible with grub to use a logical volume as boot partition?
(e.g.:partition: /dev/VG01/lvol0.
Entry in grub.conf would then be:
title Fedora Core (xxx..)
    root hd(0,5) # partition on which VG01 resides
    kernel /dev/VG01/lvol0/vmlinuz-xxx... ro root=/dev/VG01/lvol1
    initrd /dev/VG01/lvol0/initrd-xxx....img
I think I read somewhere that grub is not happy with this but I'm not sure,
Joep

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

* Re: [linux-lvm] booting from an LV
  2006-05-23 10:21 [linux-lvm] booting from an LV Joep Blom
@ 2006-05-23 10:58 ` Luca Berra
  2006-05-23 11:13   ` Joep Blom
  0 siblings, 1 reply; 10+ messages in thread
From: Luca Berra @ 2006-05-23 10:58 UTC (permalink / raw)
  To: linux-lvm

On Tue, May 23, 2006 at 12:21:41PM +0200, Joep Blom wrote:
>I have one question.
>Is it possible with grub to use a logical volume as boot partition?
>(e.g.:partition: /dev/VG01/lvol0.
No.

L.

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

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

* Re: [linux-lvm] booting from an LV
  2006-05-23 10:58 ` Luca Berra
@ 2006-05-23 11:13   ` Joep Blom
  2006-05-24  5:21     ` Francis SOUYRI
  0 siblings, 1 reply; 10+ messages in thread
From: Joep Blom @ 2006-05-23 11:13 UTC (permalink / raw)
  To: LVM general discussion and development

Luca Berra wrote:

> On Tue, May 23, 2006 at 12:21:41PM +0200, Joep Blom wrote:
>
>> I have one question.
>> Is it possible with grub to use a logical volume as boot partition?
>> (e.g.:partition: /dev/VG01/lvol0.
>
> No.
>
> L.
>
Thanks
Joep

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

* Re: [linux-lvm] booting from an LV
  2006-05-23 11:13   ` Joep Blom
@ 2006-05-24  5:21     ` Francis SOUYRI
  2006-05-24 19:41       ` Joep Blom
  0 siblings, 1 reply; 10+ messages in thread
From: Francis SOUYRI @ 2006-05-24  5:21 UTC (permalink / raw)
  To: LVM general discussion and development

If you need to boot from a logical partition you can use lilo.

Best regards.

Francis

Joep Blom wrote:

> Luca Berra wrote:
>
>> On Tue, May 23, 2006 at 12:21:41PM +0200, Joep Blom wrote:
>>
>>> I have one question.
>>> Is it possible with grub to use a logical volume as boot partition?
>>> (e.g.:partition: /dev/VG01/lvol0.
>>
>>
>> No.
>>
>> L.
>>
> Thanks
> Joep
>
> _______________________________________________
> 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] 10+ messages in thread

* Re: [linux-lvm] booting from an LV
  2006-05-24  5:21     ` Francis SOUYRI
@ 2006-05-24 19:41       ` Joep Blom
  2006-05-24 21:36         ` 回覆: " mcclnx mcc
  2006-05-24 21:38         ` Harik A'ttar
  0 siblings, 2 replies; 10+ messages in thread
From: Joep Blom @ 2006-05-24 19:41 UTC (permalink / raw)
  To: francis.souyri, LVM general discussion and development

Francis SOUYRI wrote:

> If you need to boot from a logical partition you can use lilo.
>
> Best regards.
>
> Francis
>
> Joep Blom wrote:
>
>> Luca Berra wrote:
>>
>>> On Tue, May 23, 2006 at 12:21:41PM +0200, Joep Blom wrote:
>>>
>>>> I have one question.
>>>> Is it possible with grub to use a logical volume as boot partition?
>>>> (e.g.:partition: /dev/VG01/lvol0.
>>>
>>>
>>>
>>> No.
>>>
>>> L.
>>>
>> Thanks
>> Joep
>>
>> _______________________________________________
>> 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/
>
Francis,
Thanks. I've read that. But after 7 or 8 years using LILO with all the 
problems around it, I switched 2 years ago to grub and decided to stick 
to it. So my solution is to make a small (100 Mb) primary partition for 
grub and do the rest with LVM as I have discovered the ease and 
advantage of it after years of struggling with fdisk (DOS, W98, Linux) 
and with the ntfsprogs suite it's easy to create XP partitions in an LV 
for backups.
Joep

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

* 回覆: Re: [linux-lvm] booting from an LV
  2006-05-24 19:41       ` Joep Blom
@ 2006-05-24 21:36         ` mcclnx mcc
  2006-05-24 21:38         ` Harik A'ttar
  1 sibling, 0 replies; 10+ messages in thread
From: mcclnx mcc @ 2006-05-24 21:36 UTC (permalink / raw)
  To: LVM general discussion and development

But Redhat AS 4 ONLY support grub.


--- Joep Blom <jlblom@neuroweave.nl> ���G

> Francis SOUYRI wrote:
> 
> > If you need to boot from a logical partition you
> can use lilo.
> >
> > Best regards.
> >
> > Francis
> >
> > Joep Blom wrote:
> >
> >> Luca Berra wrote:
> >>
> >>> On Tue, May 23, 2006 at 12:21:41PM +0200, Joep
> Blom wrote:
> >>>
> >>>> I have one question.
> >>>> Is it possible with grub to use a logical
> volume as boot partition?
> >>>> (e.g.:partition: /dev/VG01/lvol0.
> >>>
> >>>
> >>>
> >>> No.
> >>>
> >>> L.
> >>>
> >> Thanks
> >> Joep
> >>
> >> _______________________________________________
> >> 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/
> >
> Francis,
> Thanks. I've read that. But after 7 or 8 years using
> LILO with all the 
> problems around it, I switched 2 years ago to grub
> and decided to stick 
> to it. So my solution is to make a small (100 Mb)
> primary partition for 
> grub and do the rest with LVM as I have discovered
> the ease and 
> advantage of it after years of struggling with fdisk
> (DOS, W98, Linux) 
> and with the ntfsprogs suite it's easy to create XP
> partitions in an LV 
> for backups.
> Joep
> 
> _______________________________________________
> 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/
> 


___________________________________________________  �̷s�� Yahoo!�_���Y�ɳq�T 7.0�A�K�O�����q�ܥ��A���I  http://messenger.yahoo.com.tw/

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

* Re: [linux-lvm] booting from an LV
  2006-05-24 19:41       ` Joep Blom
  2006-05-24 21:36         ` 回覆: " mcclnx mcc
@ 2006-05-24 21:38         ` Harik A'ttar
  2006-05-24 22:08           ` Joep Blom
  1 sibling, 1 reply; 10+ messages in thread
From: Harik A'ttar @ 2006-05-24 21:38 UTC (permalink / raw)
  To: LVM general discussion and development

Joep Blom wrote:

> Francis,
> Thanks. I've read that. But after 7 or 8 years using LILO with all the 
> problems around it, I switched 2 years ago to grub and decided to stick 
> to it. So my solution is to make a small (100 Mb) primary partition for 
> grub and do the rest with LVM as I have discovered the ease and 
> advantage of it after years of struggling with fdisk (DOS, W98, Linux) 
> and with the ntfsprogs suite it's easy to create XP partitions in an LV 
> for backups.
> Joep

Even with LILO, it's easier to have a raw BIOS partition for /boot:

software raid4/5/6, pvmove, raid1, &tc.  There are a lot of bad hacks
in lilo to support some of those things in some configurations, but 
nothing clean.  The most reliable way to bring things up is to install 
grub or lilo in /boot (on [hs]da1) and possibly mirror the boot sector
and the boot partition to the second drive.   However, on a 
failed-drive, most motherboards can't reboot anyway so you're talking 
manual intervention in either case.  With a block-level mirror, 
hopefully just yanking the first drive lets you boot off #2, and of 
course once you hit initrd and raidstart, it handles the failed disk 
gracefully, right? :)

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

* Re: [linux-lvm] booting from an LV
  2006-05-24 21:38         ` Harik A'ttar
@ 2006-05-24 22:08           ` Joep Blom
  2006-05-25 21:16             ` Dieter Stüken
  0 siblings, 1 reply; 10+ messages in thread
From: Joep Blom @ 2006-05-24 22:08 UTC (permalink / raw)
  To: LVM general discussion and development

Harik A'ttar wrote:

> Joep Blom wrote:
>
>> Francis,
>> Thanks. I've read that. But after 7 or 8 years using LILO with all 
>> the problems around it, I switched 2 years ago to grub and decided to 
>> stick to it. So my solution is to make a small (100 Mb) primary 
>> partition for grub and do the rest with LVM as I have discovered the 
>> ease and advantage of it after years of struggling with fdisk (DOS, 
>> W98, Linux) and with the ntfsprogs suite it's easy to create XP 
>> partitions in an LV for backups.
>> Joep
>
>
> Even with LILO, it's easier to have a raw BIOS partition for /boot:
>
> software raid4/5/6, pvmove, raid1, &tc.  There are a lot of bad hacks
> in lilo to support some of those things in some configurations, but 
> nothing clean.  The most reliable way to bring things up is to install 
> grub or lilo in /boot (on [hs]da1) and possibly mirror the boot sector
> and the boot partition to the second drive.   However, on a 
> failed-drive, most motherboards can't reboot anyway so you're talking 
> manual intervention in either case.  With a block-level mirror, 
> hopefully just yanking the first drive lets you boot off #2, and of 
> course once you hit initrd and raidstart, it handles the failed disk 
> gracefully, right? :)
>
> _______________________________________________
> 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/
>
Harik,
I couldn't agree more. IMHO it's a bloody shame we still have to work 
with a misconcept of over 25 years to start any OS (I'm not familiar 
with the Mac but I presume it's equally oldfashioned).
Joep

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

* Re: [linux-lvm] booting from an LV
  2006-05-24 22:08           ` Joep Blom
@ 2006-05-25 21:16             ` Dieter Stüken
  2006-05-25 21:42               ` Joep Blom
  0 siblings, 1 reply; 10+ messages in thread
From: Dieter Stüken @ 2006-05-25 21:16 UTC (permalink / raw)
  To: LVM general discussion and development

Joep Blom wrote:
> Harik,
> I couldn't agree more. IMHO it's a bloody shame we still have to work 
> with a misconcept of over 25 years to start any OS (I'm not familiar 
> with the Mac but I presume it's equally oldfashioned).
> Joep

be careful:
precisely Apple is a step further than most Linux systems today:
they already use EFI, the next generation BIOS, see:
http://en.wikipedia.org/wiki/Extensible_Firmware_Interface
EFI even defines an enhanced partitioning concept called GPT.

But I still fail to see, why I have to create any partition on my
disks if I have LVM instead. It should make partitions obsolete!
On the other hand I don't see neither Lilo nor Grub will provide
a solution without any DOS partition table, soon. As I refuse to turn
back booting from floppy disks, I currently think about booting from
a cheap USB Stick instead. It may hold my /boot system with an LVM
aware kernel and may even carry a small rescure system. 

Dieter

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

* Re: [linux-lvm] booting from an LV
  2006-05-25 21:16             ` Dieter Stüken
@ 2006-05-25 21:42               ` Joep Blom
  0 siblings, 0 replies; 10+ messages in thread
From: Joep Blom @ 2006-05-25 21:42 UTC (permalink / raw)
  To: LVM general discussion and development

Dieter St�ken wrote:

> Joep Blom wrote:
>
>> Harik,
>> I couldn't agree more. IMHO it's a bloody shame we still have to work 
>> with a misconcept of over 25 years to start any OS (I'm not familiar 
>> with the Mac but I presume it's equally oldfashioned).
>> Joep
>
>
> be careful:
> precisely Apple is a step further than most Linux systems today:
> they already use EFI, the next generation BIOS, see:
> http://en.wikipedia.org/wiki/Extensible_Firmware_Interface
> EFI even defines an enhanced partitioning concept called GPT.
>
> But I still fail to see, why I have to create any partition on my
> disks if I have LVM instead. It should make partitions obsolete!
> On the other hand I don't see neither Lilo nor Grub will provide
> a solution without any DOS partition table, soon. As I refuse to turn
> back booting from floppy disks, I currently think about booting from
> a cheap USB Stick instead. It may hold my /boot system with an LVM
> aware kernel and may even carry a small rescure system.
> Dieter
>
>
>
>
>
> _______________________________________________
> 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/
>
Dieter,
I didn't know that of Apple. That's very interesting. I know there are 
already for over a year talks about completely different kind of 
bootstrap loader+ advanced programming tools such as EFI you mentioned 
but until now no motherboards has appeared for Intel/AMD processors with 
it.
Your solution of booting from an USB stick is what I intend to do with 
my firewall: a stand-alone memory-only system (I'm a little paranoid 
with respect to security) running LEAF (the Bering-uclib variant) but 
it's an idea for workstations as well as USB sticks become very cheap.
Joep

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

end of thread, other threads:[~2006-05-25 21:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-23 10:21 [linux-lvm] booting from an LV Joep Blom
2006-05-23 10:58 ` Luca Berra
2006-05-23 11:13   ` Joep Blom
2006-05-24  5:21     ` Francis SOUYRI
2006-05-24 19:41       ` Joep Blom
2006-05-24 21:36         ` 回覆: " mcclnx mcc
2006-05-24 21:38         ` Harik A'ttar
2006-05-24 22:08           ` Joep Blom
2006-05-25 21:16             ` Dieter Stüken
2006-05-25 21:42               ` Joep Blom

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).