[Gptfdisk-general] [PATCH 1/1] Add Open Network Install Environment (ONIE) partition types
Brought to you by:
srs5694
|
From: Curt B. <cu...@cu...> - 2014-01-25 18:31:15
|
Add GUIDs for two ONIE partition types:
// Open Network Install Environment (ONIE) Boot Partition
AddType(0x3000, "7412F7D5-A156-4B13-81DC-867174929325", "ONIE boot");
// Open Network Install Environment (ONIE) Configuration Partition
AddType(0x3000, "D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149", "ONIE config");
Using standard GUIDs allows the ONIE self-updater to recoginize its
own partitions.
Signed-off-by: Curt Brune <cu...@cu...>
---
parttypes.cc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/parttypes.cc b/parttypes.cc
index 87f5c86..f78489b 100644
--- a/parttypes.cc
+++ b/parttypes.cc
@@ -89,10 +89,15 @@ void PartType::AddAllTypes(void) {
AddType(0x1b00, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0); // Hidden FAT-32
AddType(0x1c00, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0); // Hidden FAT-32 LBA
AddType(0x1e00, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0); // Hidden FAT-16 LBA
AddType(0x2700, "DE94BBA4-06D1-4D40-A16A-BFD50179D6AC", "Windows RE");
+ // Open Network Install Environment (ONIE) specific types.
+ // See http://www.onie.org/
+ AddType(0x3000, "7412F7D5-A156-4B13-81DC-867174929325", "ONIE boot");
+ AddType(0x3001, "D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149", "ONIE config");
+
// PowerPC reference platform boot partition
AddType(0x4100, "9E1A2D38-C612-4316-AA26-8B49521E5A8B", "PowerPC PReP boot");
// Windows LDM ("dynamic disk") types
AddType(0x4200, "AF9B60A0-1431-4F62-BC68-3311714A69AD", "Windows LDM data"); // Logical disk manager
--
1.7.10.4
|