[Bug 603854] Re: When installing onto fake raid grub still tried to install to /dev/sda
Ubuntu QA's Bug Bot
bug-stats at murraytwins.com
Mon Sep 19 21:24:37 UTC 2011
** Tags added: testcase
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/603854
Title:
When installing onto fake raid grub still tried to install to /dev/sda
Status in “grub-installer” package in Ubuntu:
Fix Released
Status in “grub-installer” source package in Lucid:
Fix Released
Status in “grub-installer” source package in Maverick:
Fix Released
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://bazaar.launchpad.net/~ubuntu-core-dev/grub-installer/ubuntu/revision/869
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/proposed=true' on the installer kernel command line.) Either watch the GRUB installation step closely, or check the output of 'sudo debconf-show grub-pc | grep install_devices:' after installation (you may need to run the value through 'readlink -f' to resolve symlinks); GRUB should be installed to /dev/mapper/something rather than to /dev/sda or similar.
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/isw_bjffiahcab_Volume0 but grub-installer still chose to
install to /dev/sda and strangely reported memory leaks.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/603854/+subscriptions
More information about the foundations-bugs
mailing list