[Bug 889143] Re: Ubiquity's grub-install invocation always runs on /dev/sda

Delan Azabani delan at azabani.com
Fri Nov 11 15:28:08 UTC 2011


** Attachment added: "grub-install /dev/sda"
   https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/889143/+attachment/2593315/+files/2.png

** Description changed:

  In the Oneiric setup, I chose the default 'whole disk' installation
  option, then selected /dev/sde as the installation target drive. Later,
  during installation, grub-install was invoked with /dev/sda, installing
  the stage1 bootloader to the wrong drive.
+ 
+ I had to fix this incorrect behaviour manually after installation using:
+ 
+ $ sudo mkdir /m
+ $ sudo mount /dev/sde1 /m
+ $ sudo mount -obind /dev /m/dev
+ $ sudo mount -obind /proc /m/proc
+ $ sudo mount -obind /sys /m/sys
+ $ sudo chroot /m
+ # grub-install /dev/sde
+ # exit
+ $ sudo umount /m/dev /m/proc /m/sys /m

-- 
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/889143

Title:
  Ubiquity's grub-install invocation always runs on /dev/sda

Status in “ubiquity” package in Ubuntu:
  New

Bug description:
  In the Oneiric setup, I chose the default 'whole disk' installation
  option, then selected /dev/sde as the installation target drive.
  Later, during installation, grub-install was invoked with /dev/sda,
  installing the stage1 bootloader to the wrong drive.

  I had to fix this incorrect behaviour manually after installation
  using:

  $ sudo mkdir /m
  $ sudo mount /dev/sde1 /m
  $ sudo mount -obind /dev /m/dev
  $ sudo mount -obind /proc /m/proc
  $ sudo mount -obind /sys /m/sys
  $ sudo chroot /m
  # grub-install /dev/sde
  # exit
  $ sudo umount /m/dev /m/proc /m/sys /m

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




More information about the foundations-bugs mailing list