summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-04-22 12:36:07 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-04-23 10:56:44 +0200
commit5ea6f7334323fdeb8c3d8a0fa22caeeb3692df5a (patch)
tree1703081532e9a8fa503dfbfb0fbc6eba8de7b4ee /src
parent84c2944bf3ca9be9874ddc774f8a73b619b080cd (diff)
live: add fat32 to get_parttype()
Use "Microsoft basic data partition" to store FAT32 in case of GPT partition scheme and 0xB according in case of MBR partition scheme according to documentation.
Diffstat (limited to 'src')
-rw-r--r--src/live/parttypes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/live/parttypes.py b/src/live/parttypes.py
index d8db8f6..b86bf19 100644
--- a/src/live/parttypes.py
+++ b/src/live/parttypes.py
@@ -15,6 +15,7 @@ GPT_PARTTYPES = {
'NTFS': 'EBD0A0A2-B9E5-4433-87C0-68B6B72699C7',
'EFI': 'C12A7328-F81F-11D2-BA4B-00A0C93EC93B',
'HFS': '48465300-0000-11AA-AA11-00306543ECAC',
+ 'FAT32': 'EBD0A0A2-B9E5-4433-87C0-68B6B72699C7',
}
DOS_PARTTYPES = {
@@ -25,6 +26,7 @@ DOS_PARTTYPES = {
'CACHE': 0x83,
'NTFS': 0x07,
'HFS': 0xaf,
+ 'FAT32': 0x0b,
}