gpt
On basic GUID partition table (gpt) disks, this command assigns the gpt attribute(s) to the partition with focus. Gpt partition attributes give additional information about the use of the partition. Some attributes are specific to the partition type GUID.
You must choose a basic gpt partition for this operation to succeed. Use the select partition command to select a basic gpt partition and shift the focus to it.
Caution
Changing the gpt attributes might cause your basic data volumes to fail to be assigned drive letters, or to prevent the file system from mounting. We strongly recommend that you don't change the gpt attributes unless you're an original equipment manufacturer (OEM) or an IT professional who's experienced with gpt disks.
Syntax
gpt attributes=<n>
Parameters
Parameter | Description |
---|---|
attributes=<n> |
Specifies the value for the attribute that you want to apply to the partition with focus. The gpt attribute field is a 64-bit field that contains two subfields. The higher field is interpreted only in the context of the partition ID, while the lower field is common to all partition IDs. Accepted values include:
For more information about these attributes, see the attributes section at create_PARTITION_PARAMETERS Structure. |
Remarks
- The EFI System partition contains only those binaries necessary to start the operating system. This makes it easy for OEM binaries or binaries specific to an operating system to be placed in other partitions.
Examples
To prevent the computer from automatically assigning a drive letter to the partition with focus, while moving a gpt disk, type:
gpt attributes=0x8000000000000000