Ubiquity switches sda and sdb in Grub configuration, causing boot failure

Bug #1070485 reported by Pjotr12345
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When I install *buntu 12.10 by means of a Live USB (USB memory stick), Ubiquity often (not always) wrongly identifies the memory stick as 'sda' and the hard disk as 'sdb'.

Ubiquity then installs *buntu 12.10 nevertheless on the hard disk with nearly all configuration right, namely the hard disk as 'sda'. With one fatal exception: Grub. Grub is configured to boot from 'sdb'.

Upon first boot from the hard disk (with the USB stick removed), Grub then of course spawns this error:
error: unknown filesystem
grub rescue>

When I found out what the cause was, it was easy to repair: simply boot up the PC by means of a *DVD* and point Grub to 'sda' by means of this terminal command:
sudo mount /dev/sdaX /mnt && sudo grub-install /dev/sda --root-directory=/mnt
(where the X in sdaX needs to be replaced by the partition number of the root partition)

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

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

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Timo (timo.diedering) wrote :

This bug doesn't pop up at all systems: My laptop for example is affected by this bug, but if I install Ubuntu (with a USB stick of course) on my desktop, it just boots...

Revision history for this message
Heimen Stoffels (vistaus) wrote :

The problem happened here too. On my Thinkpad E525 everything went just fine but on my Thinkpad E535 the bug did occur.

Revision history for this message
Adam Conrad (adconrad) wrote :

I assume this only happens on systems where the BIOS decides to re-map the boot device (ie: the USB stick, when installing) to INT 80.

Revision history for this message
Pjotr12345 (computertip) wrote :

@ Adam Conrad: how can I check this?

Note: the laptop it happens on in my case, is a fairly new Lenovo b570e.

Revision history for this message
Adam Conrad (adconrad) wrote :

Actually, a bit of reading suggests that remapping the boot drive (even a USB stick) to 80H is the right thing to do anyway, so is probably the behaviour of most BIOSes, and probably not the cause of this bug. I'll leave it to others to debug more formally at some point, though.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in ubiquity (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
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.