grub2 needs to install the bootloader to each disk in a RAID1 array providing /boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Karmic |
Fix Released
|
High
|
Colin Watson |
Bug Description
Binary package hint: grub2
Intrepid, Jaunty, and a backport to Hardy allowed Ubuntu to install into a RAID1 array, and thereafter boot from any of the hard drives in the array. Thus, a degraded array event would not yield the system unbootable.
There were several aspects to solving this problem (partman, mdadm, the initramfs, and grub).
The grub pieces need to be ported forward to grub2.
In grub's grub-install script, there's a check if /boot is on a disk provided by a /dev/md device, and if so, the bootloader is installed to each disk in the array.
This is perhaps a bit hackish, though functional. It may be desirable to rework this into something more robust in the longer term.
However, at this point karmic-servers have regressed on the ability to boot from a degraded RAID.
:-Dustin
Changed in grub2 (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Colin Watson (cjwatson) |
tags: | added: regression-potential |
Changed in grub2 (Ubuntu): | |
milestone: | none → karmic-alpha-6 |
Changed in grub2 (Ubuntu): | |
milestone: | karmic-alpha-6 → ubuntu-9.10 |
affects: | grub2 (Ubuntu Karmic) → grub-installer (Ubuntu Karmic) |
Changed in grub-installer (Ubuntu Karmic): | |
status: | Triaged → Fix Committed |
tags: | added: iso-testing |
This bug was fixed in the package grub-installer - 1.43ubuntu4
---------------
grub-installer (1.43ubuntu4) karmic; urgency=low
* Fix typo in fallback case when computing $disc_offered_ devfs.
* If /boot is on an MD device and we're using GRUB 2, install GRUB there
rather than (hd0); GRUB 2 will interpret that as meaning that it needs
to install to each of the RAID members (LP: #427048).
-- Colin Watson <email address hidden> Fri, 02 Oct 2009 15:22:33 +0100