grub-installer fails on machine with many disks

Bug #812503 reported by Jacob Strauss
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm trying out installing an oneiric prerelease on a machine that has a few local disks and is also currently attached to an empty disk array.

Grub-installer has a few problems in this setup:
  - The first is that it doesn't work with device names that overflow past a single character identifier (/dev/sdXX instead of /dev/sdX).
  - The other is it doesn't choose the correct device to install grub onto, and hence the machine doesn't boot after installing without installing grub manually. It tries /dev/sda, which is somewhere in the array rather than one of the local drives. I'd prefer to preseed 'd-i grub-installer/bootdev', but grub-installer doesn't check whether this has been set before deciding to use /dev/sda.

I've attached a patch that fixes both of these problems (at least for me), and results in a bootable system post-install.

Tags: patch
Revision history for this message
Jacob Strauss (jacob-strauss) wrote :
Revision history for this message
Jacob Strauss (jacob-strauss) wrote :

Looks like I missed Bug 776633, which discusses one half of my problems, but not the inability to preseed the device to use.

Revision history for this message
Jacob Strauss (jacob-strauss) wrote :

syslog excerpt before patch. (grub-installer had -e and -v set at the top)

Revision history for this message
Jacob Strauss (jacob-strauss) wrote :

syslog excerpt after patch

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub-installer (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.