Skip to contentSkip to conversation

bootloader questions

linux-lvm rich turner 3 participants 5 messages Feb 21, 2005 – Feb 22, 2005

lore
Share & tools
lore
#0 lore raw

if i have root(/) on a logical volume, is it required that i have /boot on a separate filesystem? does /boot have to be a partition?

the boot loaders i need to support are lilo and grub. do the answers to the above question vary if i use lilo or grub?

thanks for the help

#1 lore raw

Le 21.02.2005 21:37:54, rich turner a écrit :

Quoted 7 lines

if i have root(/) on a logical volume, is it required that i have /boot
on a separate filesystem? does /boot have to be a partition?

the boot loaders i need to support are lilo and grub. do the answers to
the above question vary if i use lilo or grub?

both lilo and grub can boot the root filesystem as a logical volume.

but grub cannot boot /boot from a logical volume.
With lilo it can either be a separate lv, a partition, a disk, what you what. With grub it should be outside of the logical volume manager (IIRC, there is a patch for grub to use /boot on a LV but I've never found/tried it)

Quoted 2 lines

thanks for the help

Regards

Jean-Luc

#2 lore raw

this is perhaps the wrong mailing list but is this the case with software raid as well? although, i believe the software raid must be raid level 1.

Quoted 32 lines · On Mon, 2005-02-21 at 12:50, Jean-Luc Coulon (f5ibh) wrote:

Le 21.02.2005 21:37:54, rich turner a �crit :

Quoted 7 lines

if i have root(/) on a logical volume, is it required that i have /boot
on a separate filesystem? does /boot have to be a partition?

the boot loaders i need to support are lilo and grub. do the answers to
the above question vary if i use lilo or grub?

both lilo and grub can boot the root filesystem as a logical volume.

but grub cannot boot /boot from a logical volume.
With lilo it can either be a separate lv, a partition, a disk, what you what. With grub it should be outside of the logical volume manager (IIRC, there is a patch for grub to use /boot on a LV but I've never found/tried it)

Quoted 2 lines

thanks for the help

Regards

Jean-Luc

______________________________________________________________________
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#3 lore raw
Quoted 3 lines · rich turner

this is perhaps the wrong mailing list but is this the case with software raid as well? although, i believe the software raid must be raid level 1.

I personally have had great success with /boot being raid 1. I have had absolutely no success with /boot working as an LV using either lilo or grub.

That being said, I'm never going to put / onto an LV again. I had a scare this weekend trying to recover all of my LV's without having a reliable VG backup - which of course was stored on /. I've moved / onto raid1, and put /home, /var/log, and /var/www onto LV's.

#4 lore raw
In reply to rich turner

Le 21.02.2005 22:22:47, rich turner a écrit :

Quoted 3 lines

this is perhaps the wrong mailing list but is this the case with software raid as well? although, i believe the software raid must be raid level 1.

I've a software raid1 on 2 SATA drives.
I've LVM over the RAID

Software raid can be about anything

I've setup 2 md devices:
/dev/md0 with /dev/sda1 and /dev/sdb1 for /boot (non lvm) /dev/md1 with /dev/sda2 and /dev/sdb2 for lvm

The /boot partition is xfs and 100Mbytes
I've setup everything in lvm, even the swap and the root partition.

Jean-Luc

Quoted 49 lines · On Mon, 2005-02-21 at 12:50, Jean-Luc Coulon (f5ibh) wrote:
Quoted 6 lines · rich turner
Quoted 5 lines

if i have root(/) on a logical volume, is it required that i have /boot
on a separate filesystem? does /boot have to be a partition?

the boot loaders i need to support are lilo and grub. do the

answers

Quoted 8 lines
Quoted 2 lines

to
the above question vary if i use lilo or grub?

both lilo and grub can boot the root filesystem as a logical volume.

but grub cannot boot /boot from a logical volume.
With lilo it can either be a separate lv, a partition, a disk, what

you

Quoted 7 lines

what. With grub it should be outside of the logical volume manager (IIRC, there is a patch for grub to use /boot on a LV but I've never

found/tried it)

Quoted 1 line
Quoted 7 lines
Quoted 1 line

thanks for the help

Regards

Jean-Luc

______________________________________________________________________

Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/