Comment 5 for bug 538536

Revision history for this message
Colin Watson (cjwatson) wrote :

I've identified two distinct problems here, which I would like to fix for beta-1 if at all possible. I'm leaving the debian-installer task as Confirmed for the time being because I'm not absolutely sure I've got all the pieces, but the ones I have identified are high-value.

The first problem is that, when we create an Apple-specific synced MBR for a GPT label which contains a bios_grub partition, the corresponding MBR partition table entry is not given the 0xEE partition type. This means that the Linux kernel will refuse to recognise this as a valid GPT label, completely breaking installation. I believe this is an easy fix in parted.

The second problem is one I noted in a comment in partman-auto a while back: the automatic label detection that decides whether we need to create a bios_grub partition during automatic partitioning does not work with partman-auto-lvm. This should be a matter of making sure that we're in an appropriate subdirectory of /var/lib/partman/devices/ before calling decode_recipe.