[Bug 1843288] Re: grub-ieee1275 installs to an arbitrary PReP partition when more than one is available
Launchpad Bug Tracker
1843288 at bugs.launchpad.net
Wed Sep 25 17:24:05 UTC 2019
** Merge proposal unlinked:
https://code.launchpad.net/~legovini/curtin/+git/curtin/+merge/369085
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1843288
Title:
grub-ieee1275 installs to an arbitrary PReP partition when more than
one is available
Status in grub2 package in Ubuntu:
New
Bug description:
When the grub-ieee1275 package is installed or upgraded the grub-
ieee1275.postinst script uses the prep-bootdev helper to find a PReP
partition to install grub to via grub-install. When there is a single
PReP partition on the system this is fine, however when more than one
is present it's difficult to tell which one prep-bootdev will pick,
and if it will always pick the same one.
We hit this on a test system where the partition layout is the one in
the attached file. As you can see there are two PReP partitions:
Device Start End Sectors Size Type
/dev/vda4 10487808 10504191 16384 8M PowerPC PReP boot
Device Start End Sectors Size Type
/dev/vde2 2099200 2115583 16384 8M PowerPC PReP boot
In this case prep-bootdev chose /dev/vde2 to install grub to. This was
unexpected.
I don't have a sensible alternative to propose here, as we want to
keep grub guessing what is reasonable to guess and we don't want to
break existing systems or workflows. Still the current behavior is
less than ideal.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1843288/+subscriptions
More information about the foundations-bugs
mailing list