I looked again, and I can confirm there is the code necessary to only
wipe the device we've received as a target for grub (provided it's
available), and otherwise resort to the first device that pops up from
prep-bootdev (which can be any, in whatever order parted decides to hand
them over to us).

Could you recreate the issue, but just before the installation of the
bootloader, edit /usr/bin/grub-installer to add "set -x" at the top? I'd
very much like to see what grub-installer thinks we've passed to it when
it gets run, that could explain why we're seeing it find sdr1 rather
than sdp from your install.

This also leads to seeing that there's another bug in that code (and
I'll fix both together), we can't rely on parted giving us devices that
are correctly mapped in /dev it seems, and should guard against the file
not existing before running dd.

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

Title:
  grub-installer fails due to alternate disk partition error - 14.04.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1523637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to