diff options
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2019-10-10 21:03:22 +0300 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2019-12-20 11:23:47 -0800 |
commit | 08256913c307e0313ee014e0f292fa335cc18f1d (patch) | |
tree | c99a390167ed08de211b895c1b6b4c192443d9e9 /doc | |
parent | ca845aeeddb17343c9289816833ca352f7c0d87b (diff) | |
download | parted-08256913c307e0313ee014e0f292fa335cc18f1d.tar.gz |
libparted: Add ChromeOS Kernel partition flag
This adds a GPT-only partition type flag, chromeos_kernel, for use on
Chrome OS machines, with GUID FE3A2A5D-4F32-41A7-B725-ACCC3285A309.
The firmware/bootloader in these machines relies on special images being
written to partitions of this type. Among multiple such partitions, it
decides which one it will boot from based on the GUID-specific partition
attributes. This patch is not intended to and does not manipulate these
bits.
Google refers to these partitions as "ChromeOS kernel" partitions. They
also define partitions for rootfs, firmware, and a reserved one; but
these are not necessary for the boot flow and are not included here.
Relevant ChromiumOS documentation:
https://www.chromium.org/chromium-os/chromiumos-design-docs/disk-format
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/C/parted.8 | 2 | ||||
-rw-r--r-- | doc/parted.texi | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/C/parted.8 b/doc/C/parted.8 index 15932c2..d40279e 100644 --- a/doc/C/parted.8 +++ b/doc/C/parted.8 @@ -112,7 +112,7 @@ or an LVM logical volume if necessary. .B set \fIpartition\fP \fIflag\fP \fIstate\fP Change the state of the \fIflag\fP on \fIpartition\fP to \fIstate\fP. Supported flags are: "boot", "root", "swap", "hidden", "raid", "lvm", "lba", -"legacy_boot", "irst", "msftres", "esp" and "palo". +"legacy_boot", "irst", "msftres", "esp", "chromeos_kernel" and "palo". \fIstate\fP should be either "on" or "off". .TP .B unit \fIunit\fP diff --git a/doc/parted.texi b/doc/parted.texi index 77c9628..f983d2c 100644 --- a/doc/parted.texi +++ b/doc/parted.texi @@ -874,6 +874,10 @@ partition. (MS-DOS, GPT) - this flag identifies a UEFI System Partition. On GPT it is an alias for boot. +@item chromeos_kernel +(GPT) - this flag indicates a partition that can be used with the Chrome OS +bootloader and verified boot implementation. + @item lba (MS-DOS) - this flag can be enabled to tell MS DOS, MS Windows 9x and MS Windows ME based operating systems to use Linear (LBA) mode. |