Comment 7 for bug 1523637

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 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.