Grub fails to install boot loader due to wrong disk numbering ( Gutsy and Feisty )

Bug #153019 reported by Edwin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: grub-installer

Both in Feisty as in Gutsy, there is a bug that causes the Grub install to fail.

My setup:

1x single SATA disk
1x Raid-0 SATA raid array , 2 disks

Live CD wants to install Grub to the MBR of disk0. On the live cd, the raid disks are individually identified as disk 0 and 1. The single disk is identified during live cd as disk 2. The single disk is chronologically added later to the machine, that might be the reason. However in the bios the single SATA disk is configured to be the first boot device and this disk is also physically connected to the first SATA port.

Changing the Grub installation disk in the advanced settings of the live cd fixes the problem and Grub is installed to the correct disk.

There is however a second problem then. After rebooting the Grub menu tries to boot disk 2 again. But this time the correct numbering is disk 0 for the single disk, as I would have expected in the first place and disk 1/2 for the raid array. Manually editing the Grub boot options back to disk 0 fixes this.

Revision history for this message
Ben Jackson (benjamin-jackson) wrote :

Same problem happened to me, here's my setup:

80GB SATA drive that I want to host the operating system / MBR
2x120GB IDE drives already formatted as XFS holding media

I tell the LiveCD installer to do a guided install using all of SD0, install goes fine. GRUB's menu.lst gets configured to boot off (hd2,0) instead of (hd0,0), so until you edit it you get Error 15's from GRUB trying to boot.

Revision history for this message
xteejx (xteejx) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in grub-installer (Ubuntu):
status: New → Incomplete
Revision history for this message
xteejx (xteejx) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in grub-installer (Ubuntu):
status: Incomplete → Invalid
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.