bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Purpose of 'legacy_boot' attribute


From: Keshav P R
Subject: Re: Purpose of 'legacy_boot' attribute
Date: Wed, 19 Oct 2011 21:07:10 +0530

On Wed, Oct 19, 2011 at 20:46, Brian C. Lane <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]