| Summary: | Please allow to use GRUB with RAID1 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Alejandro Vargas <alejandro.anv> |
| Component: | Installer | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | hankivy, mageia, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
Alejandro Vargas
2013-09-30 14:43:59 CEST
The question can be : "do we still need to support lilo ?" CC:
(none) =>
nicolas.lecureuil If the /boot is in RAID1, the installer automatically chooses lilo. But really, I think it is not necesry. Lilo is no longer needed. In my experience, grub can boot from RAID1. Ext4 in RAID1 is exactly the same as ext4 in a normal partition but with the addition of a few data sectors at the end of the partition. A RAID1 member can be mounted as a normal filesystem. But really I think Mageia could switch to GRUB2 as default boot loader. GRUB2 can boot from LVM, RAID, etc. I even am booting from LVM over RAID1 with grub2. With grub2 /boot partition is no longer needed. By the way, if /boot is in a LVM, the installer should not allow to use grub1 (and it does). And other thing: I am installing mageia for servers, then I always use 2 hard disks (mirrored). This is why I want /boot in a RAID1 (I want to be able to remove one of the disks and keep the system running). I this scenario, the only problem is that grub is only in the first disk. It wolud be great if the installer let us to choose in which diskS install the grub(2) bootloader. Now I am running grub2-install /dev/sdb after installation but it would be greet if the installer does this at install. By the way... remember that partitioning should leave enough space at the begining of the disk for grub2+raid and lvm modules. It is better to start the first partition at block 2048. I had problems with this (grub2 install reports an error if the first partition is at block 63).
Manuel Hiebel
2013-10-03 18:14:27 CEST
Version:
3 =>
Cauldron The normal Mageia install process will only create new Linux raid partitions using RAID metadata version 1.20 format. LILO only supports RAID metadata version 0.90 format for the /boot partition. LILO fails to boot the system when the /boot partition uses RAID metadata version 1.20 format. There is a work-around for this. See https://forums.mageia.org/en/viewtopic.php?f=8&t=7975 . CC:
(none) =>
hankivy Grub2 will be the default bootloader for mga6 CC:
(none) =>
thierry.vignaud commit 5976acd282a1564ea4d3fd8b1c08bce240493194
Author: Thierry Vignaud <thierry.vignaud@...>
Date: Mon Jul 4 17:42:41 2016 +0200
do not warn about no bootloader can boot RAID[^1]
As grub2 can boot... (mga#11324)
This should also fix mga#9524
And thus stop forcing obsolete metadata 0.90 format
---
Commit Link:
http://gitweb.mageia.org/software/drakx/commit/?id=5976acd282a1564ea4d3fd8b1c08bce240493194
Bug links:
Mageia
https://bugs.mageia.org/9524
https://bugs.mageia.org/11324
Closing Status:
NEW =>
RESOLVED |