[Bug 1070485] Re: Ubiquity switches sda and sdb in Grub configuration, causing boot failure

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 12:12:47 UTC 2020


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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1070485

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

Status in ubiquity package in Ubuntu:
  Incomplete

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1070485/+subscriptions



More information about the foundations-bugs mailing list