Changes the partition type field for the partition with focus. This command doesn't work on dynamic disks or on Microsoft Reserved partitions.
Important
This command is intended for use by original equipment manufacturers (OEMs) only. Changing partition type fields with this parameter might cause your computer to fail or be unable to boot. Unless you are an OEM or experienced with gpt disks, you should not change partition type fields on gpt disks by using this parameter. Instead, always use the create partition efi command to create EFI system partitions, the create partition msr command to create Microsoft Reserved partitions, and the create partition primary command without the ID parameter to create primary partitions on gpt disks.
Syntaxset id={ <byte> | <GUID> } [override] [noerr]
Parameters Parameter Description <byte>
For master boot record (MBR) disks, specifies the new value for the type field, in hexadecimal form, for the partition. Any partition type byte can be specified with this parameter except for type 0x42, which specifies an LDM partition. Note that the leading 0x is omitted when specifying the hexadecimal partition type. <GUID>
For GUID partition table (gpt) disks, specifies the new GUID value for the type field for the partition. Recognized GUIDs include:
To set the type field to 0x07 and force the file system to dismount, type:
set id=0x07 override
To set the type field to be a basic data partition, type:
set id=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
Related links
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4