[Bug 427048] [NEW] grub2 needs to install the bootloader to each disk in a RAID1 array providing /boot

Dustin Kirkland dustin.kirkland at gmail.com
Wed Sep 9 21:41:38 UTC 2009


Public bug reported:

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

** Affects: grub2 (Ubuntu)
     Importance: High
     Assignee: Colin Watson (cjwatson)
         Status: Triaged


** Tags: regression-potential

** Changed in: grub2 (Ubuntu)
   Importance: Undecided => High

** Changed in: grub2 (Ubuntu)
       Status: New => Triaged

** Changed in: grub2 (Ubuntu)
     Assignee: (unassigned) => Colin Watson (cjwatson)

** Tags added: regression-potential

** Changed in: grub2 (Ubuntu)
    Milestone: None => karmic-alpha-6

-- 
grub2 needs to install the bootloader to each disk in a RAID1 array providing /boot
https://bugs.launchpad.net/bugs/427048
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list