All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/3] part:efi: add GUID for linux file system data
@ 2015-10-21 12:14 Patrick Delaunay
  2015-10-21 12:14 ` [U-Boot] [PATCH v2 2/3] gpt: add optional parameter type in gpt command Patrick Delaunay
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Patrick Delaunay @ 2015-10-21 12:14 UTC (permalink / raw)
  To: u-boot

Previously, Linux used the same GUID for the data partitions as Windows
(Basic data partition: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7).
This created problems when dual-booting Linux and Windows in UEFI-GPT
Setup, so a new GUID (Linux filesystem data:
0FC63DAF-8483-4772-8E79-3D69D8477DE4) was defined jointly by GPT fdisk
and GNU Parted developers.

Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
---
see https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
and nota 9

Changes in v2:
- None

 include/part_efi.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/part_efi.h b/include/part_efi.h
index 3012b91..c8fc873 100644
--- a/include/part_efi.h
+++ b/include/part_efi.h
@@ -43,6 +43,9 @@
 #define PARTITION_BASIC_DATA_GUID \
 	EFI_GUID( 0xEBD0A0A2, 0xB9E5, 0x4433, \
 		0x87, 0xC0, 0x68, 0xB6, 0xB7, 0x26, 0x99, 0xC7)
+#define PARTITION_LINUX_FILE_SYSTEM_DATA_GUID \
+	EFI_GUID(0x0FC63DAF, 0x8483, 0x4772, \
+		0x8E, 0x79, 0x3D, 0x69, 0xD8, 0x47, 0x7D, 0xE4)
 #define PARTITION_LINUX_RAID_GUID \
 	EFI_GUID( 0xa19d880f, 0x05fc, 0x4d3b, \
 		0xa0, 0x06, 0x74, 0x3f, 0x0f, 0x84, 0x91, 0x1e)
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-27  9:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-21 12:14 [U-Boot] [PATCH v2 1/3] part:efi: add GUID for linux file system data Patrick Delaunay
2015-10-21 12:14 ` [U-Boot] [PATCH v2 2/3] gpt: add optional parameter type in gpt command Patrick Delaunay
2015-10-21 23:24   ` Simon Glass
2015-10-23 16:52   ` Tom Rini
2015-10-27  9:51     ` Patrick Delaunay
2015-10-21 12:14 ` [U-Boot] [PATCH v2 3/3] uuid: add selection by string for known partition type GUID Patrick Delaunay
2015-10-23 16:53   ` Tom Rini
2015-10-23 16:52 ` [U-Boot] [PATCH v2 1/3] part:efi: add GUID for linux file system data Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.