------- Comment From [email protected] 2016-01-22 17:46 EDT-------
~ # /usr/lib/grub-installer/prep-bootdev
/dev/sda1

~ # /usr/lib/grub-installer/prep-bootdev -l
/dev/sda1

>From grub-installer:

...
case $ARCH:$grub_package in
ppc64el/*:grub-ieee1275)
# By default, use the first PReP partition found (prep-bootdev).
# If available, prefer a PReP partition in the same device (disc_offered).
# (the matching works on devices with/without disk-partition separator.)
wipe_bootdev=""
for prep_p in ; do
if [ "${prep_p%[0-9]*}" = "${disc_offered%[0-9]*}" ]; then
wipe_bootdev=$prep_p
break
fi
done
unset prep_p
...

The problem with the logic is that the install disk does not have a PReP
partition in this case (because one is not needed in this particular
environment).  So, grub-installer appears to go out searching for some
other victim when it should really just move along.

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to