When installing onto fake raid grub still tried to install to /dev/sda
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Lucid |
Fix Released
|
High
|
Colin Watson | ||
Maverick |
Fix Released
|
High
|
Colin Watson |
Bug Description
Impact: d-i installations onto fake RAID (a.k.a. DM-RAID or SATA RAID) install to /dev/sda rather than to the RAID device. This may work for a while but leaves the boot arrangements vulnerable to RAID elements going away, different device ordering, etc.
Development branch (and maverick): http://
Patch: See above; the same patch applies with only an offset.
TEST CASE: Install on a system with DM-RAID using d-i (alternate CD, server CD, or netboot). (Until new CDs are respun, testing the fixed version will only be possible using netboot, and will require 'apt-setup/
Regression potential: The variable controlling this code is only set for the DM-RAID and multipath cases, both of which need the same treatment, so assuming it works at all I don't expect anything else to get worse.
Original report follows:
Binary package hint: grub-installer
It was suggested in bug 568050 that I file a new bug for the grub-installer portion of installing onto fake raid. That bug has resolved the partman issues around installing onto fakeraid, so now getting grub-installer to install onto the raid device is the only remaining part to getting it working I think. Attached is a syslog from an install onto fakeraid. The system is installed and could boot off of /dev/mapper/
This seems to be a long standing issue, and is likely a duplicate bug, but I was unable to find exactly the right bug. grub-installer doesn't have any other bugs currently open.
description: | updated |
Changed in grub-installer (Ubuntu Lucid): | |
status: | Triaged → In Progress |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
I had this bug today when trying to install 10.10 Maverick Beta from a alternative daily CD (iso-image from 05 sept 2010). At the end of the install procedure grub was installed on /dev/sda which i *did not* ask for.
See also LP 420992.
Luckily, earlier I had found and used the workaround as described in 420992 #11 so grub was already on the array's mbr.
Rebooted into recovery mode and got myself a root session on the right partition (pdc_jcchiiaab5), mounted /home partition and then ran update-grub. Saw a lot of error messages about memory leaks, but it found my OS'es.
Ubuntu will not boot though because of issues with device names not handled right between kernel, grub and dmraid. Bummer.
This means I can now boot into XP (alas... but that does work with dmraid) but not into Maverick.
cheers
Tom