On Wed, Oct 19, 2011 at 20:46, Brian C. Lane <b...@redhat.com> wrote:

> I was also just wondering if we (Fedora) should be setting legacy_boot
> on /boot partitions instead of the boot flag, since the latter writes an
> EFI
> system GUID to the partition type.
>
>
Yes. And also change the linux partition type GUID to 8300 (gdisk type code)
instead of 0700 (Microsoft Basic Data type). For any partition of 0700 type
with a non-MS filesystem, Windows will prompt the user to format such
partition and if that user fails to recognize the partition properly his
(linux) data is kaput.

For few tasks Anaconda should make use of sgdisk instead of parted until
parted gets such functionality (like changing partition type guid etc.). I
use both parted and sgdisk for GPT disks in Archlinux (Archboot iso)
installer script.

On the flipside I recommend renaming boot flag in GPT to uefisys or
something like that to make it meaningful. Also parted does not
differenciate (to the user) GPT partition type (UEFISYS aka boot flag) and
partition attribute (legacy bios bootable flag), ie, both are flags in
parted. Sometimes this might be confusing to use in distro installer
scripts.

Regards.

Keshav
_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to