Back
If you've ever gone into FreeBSD's /stand/sysinstall, gone through the FDisk utility and didn't have any idea the Partition type to add for that Linux Swap Partition you're trying to create, have no fear. This table should help you out.
I ripped this off, from here, only converting the hex numbers into decimal for easy use with FreeBSD. If you have any questions about the filesystem Types, I highly recommend following the link above to benefit from this guy's amazing resource.
NOTE: Creating a Partition is not the same as creating a filesystem on it. You're still going to have to create a filesystem on your new Partition after running FDISK if you choose anything other than the 165 Partition Type (FreeBSD Native).
| FreeBSD Partition ID (Decimal) | Hex ID | Name |
|---|---|---|
| 0 | 0 | Empty |
| 1 | 1 | DOS 12-bit FAT |
| 2 | 2 | XENIX root |
| 3 | 3 | XENIX /usr |
| 4 | 4 | DOS 3.0+ 16-bit FAT (up to 32M) |
| 5 | 5 | DOS 3.3+ Extended Partition |
| 6 | 6 | DOS 3.31+ 16-bit FAT (over 32M) |
| 7 | 7 | OS/2 IFS (e.g., HPFS), Windows NT NTFS, Advanced Unix, QNX2.x pre-1988 (see below under IDs 4d-4f) |
| 8 | 8 | OS/2 (v1.0-1.3 only), AIX boot Partition, SplitDrive, Commodore DOS, DELL Partition spanning multiple drives, QNX 1.x and 2.x ("qny") |
| 9 | 9 | AIX data Partition, Coherent filesystem, QNX 1.x and 2.x ("qnz") |
| 10 | A | OS/2 Boot Manager, Coherent swap Partition, OPUS |
| 11 | B | WIN95 OSR2 FAT32 |
| 12 | C | WIN95 OSR2 FAT32, LBA-mapped |
| 13 | D | |
| 14 | E | WIN95: DOS 16-bit FAT, LBA-mapped |
| 15 | F | WIN95: Extended Partition, LBA-mapped |
| 16 | 10 | OPUS (?) |
| 17 | 11 | Hidden DOS 12-bit FAT, Leading Edge DOS 3.x logically sectored FAT |
| 18 | 12 | Configuration/diagnostics Partition |
| 19 | 13 | |
| 20 | 14 | Hidden DOS 16-bit FAT <32M, AST DOS with logically sectored FAT |
| 21 | 15 | |
| 22 | 16 | Hidden DOS 16-bit FAT >=32M |
| 23 | 17 | Hidden IFS (e.g., HPFS) |
| 24 | 18 | AST SmartSleep Partition |
| 25 | 19 | Unused |
| 26 | 1A | |
| 27 | 1B | Hidden WIN95 OSR2 FAT32 |
| 28 | 1C | Hidden WIN95 OSR2 FAT32, LBA-mapped |
| 29 | 1D | |
| 30 | 1E | Hidden WIN95 16-bit FAT, LBA-mapped |
| 31 | 1F | |
| 32 | 20 | Unused |
| 33 | 21 | Reserved |
| 34 | 22 | Unused |
| 35 | 23 | Reserved |
| 36 | 24 | NEC DOS 3.x |
| 37 | 25 | |
| 38 | 26 | Reserved |
| 39 | 27 | |
| 40 | 28 | |
| 41 | 29 | |
| 42 | 2A | AtheOS File System (AFS) |
| 43 | 2B | SyllableSecure (SylStor) |
| 44 | 2C | |
| 45 | 2D | |
| 46 | 2E | |
| 47 | 2F | |
| 48 | 30 | |
| 49 | 31 | Reserved |
| 50 | 32 | NOS |
| 51 | 33 | Reserved |
| 52 | 34 | Reserved |
| 53 | 35 | JFS on OS/2 or eCS |
| 54 | 36 | Reserved |
| 55 | 37 | |
| 56 | 38 | THEOS ver 3.2 2gb Partition |
| 57 | 39 | Plan 9 Partition |
| 58 | 3A | THEOS ver 4 4gb Partition |
| 59 | 3B | THEOS ver 4 extended Partition |
| 60 | 3C | PartitionMagic recovery Partition |
| 61 | 3D | Hidden NetWare |
| 62 | 3E | |
| 63 | 3F | |
| 64 | 40 | Venix 80286 |
| 65 | 41 | Linux/MINIX (sharing disk with DRDOS), Personal RISC Boot, PPC PReP (Power PC Reference Platform) Boot |
| 66 | 42 | Linux swap (sharing disk with DRDOS), SFS (Secure Filesystem), Windows 2000 dynamic extended Partition marker |
| 67 | 43 | Linux native (sharing disk with DRDOS) |
| 68 | 44 | GoBack Partition |
| 69 | 45 | Boot-US boot manager, Priam, EUMEL/Elan |
| 70 | 46 | EUMEL/Elan |
| 71 | 47 | EUMEL/Elan |
| 72 | 48 | EUMEL/Elan |
| 73 | 49 | |
| 74 | 4A | Mark Aitchison's ALFS/THIN lightweight filesystem for DOS, AdaOS Aquila (Withdrawn) |
| 75 | 4B | |
| 76 | 4C | Oberon Partition |
| 77 | 4D | QNX4.x |
| 78 | 4E | QNX4.x 2nd part |
| 79 | 4F | QNX4.x 3rd part, Oberon Partition |
| 80 | 50 | OnTrack Disk Manager (older versions) RO, Lynx RTOS, Native Oberon (alt) |
| 81 | 51 | OnTrack Disk Manager RW (DM6 Aux1), Novell |
| 82 | 52 | CP/M, Microport SysV/AT |
| 83 | 53 | Disk Manager 6.0 Aux3 |
| 84 | 54 | Disk Manager 6.0 Dynamic Drive Overlay (DDO) |
| 85 | 55 | EZ-Drive |
| 86 | 56 | Golden Bow VFeature Partitioned Volume, DM converted to EZ-BIOS |
| 87 | 57 | DrivePro, VNDI Partition |
| 88 | 58 | |
| 89 | 59 | |
| 90 | 5A | |
| 91 | 5B | |
| 92 | 5C | Priam EDisk |
| 93 | 5D | |
| 94 | 5E | |
| 95 | 5F | |
| 96 | 60 | |
| 97 | 61 | SpeedStor |
| 98 | 62 | |
| 99 | 63 | Unix System V (SCO, ISC Unix, UnixWare, ...), Mach, GNU Hurd |
| 100 | 64 | PC-ARMOUR protected Partition, Novell Netware 286, 2.xx |
| 101 | 65 | Novell Netware 386, 3.xx or 4.xx |
| 102 | 66 | Novell Netware SMS Partition |
| 103 | 67 | Novell |
| 104 | 68 | Novell |
| 105 | 69 | Novell Netware 5+, Novell Netware NSS Partition |
| 106 | 6A | |
| 107 | 6B | |
| 108 | 6C | |
| 109 | 6D | |
| 110 | 6E | ?? |
| 111 | 6F | |
| 112 | 70 | DiskSecure Multi-Boot |
| 113 | 71 | Reserved |
| 114 | 72 | |
| 115 | 73 | Reserved |
| 116 | 74 | Scramdisk Partition |
| 117 | 75 | IBM PC/IX |
| 118 | 76 | Reserved |
| 119 | 77 | M2FS/M2CS Partition, VNDI Partition |
| 120 | 78 | XOSL FS |
| 121 | 79 | |
| 122 | 7A | |
| 123 | 7B | |
| 124 | 7C | |
| 125 | 7D | |
| 126 | 7E | Unused |
| 127 | 7F | Unused |
| 128 | 80 | MINIX until 1.4a |
| 129 | 81 | MINIX since 1.4b, early Linux, Mitac disk manager |
| 130 | 82 | Prime, Solaris x86, Linux Swap |
| 131 | 83 | Linux native Partition |
| 132 | 84 | OS/2 hidden C: drive, Hibernation Partition |
| 133 | 85 | Linux extended Partition |
| 134 | 86 | Old Linux RAID Partition superblock, FAT16 volume set |
| 135 | 87 | NTFS volume set |
| 136 | 88 | Linux plaintext Partition table |
| 137 | 89 | |
| 138 | 8A | Linux Kernel Partition (used by AiR-BOOT) |
| 139 | 8B | Legacy Fault Tolerant FAT32 volume |
| 140 | 8C | Legacy Fault Tolerant FAT32 volume using BIOS extd INT 13h |
| 141 | 8D | Free FDISK hidden Primary DOS FAT12 partitition |
| 142 | 8E | Linux Logical Volume Manager Partition |
| 143 | 8F | |
| 144 | 90 | Free FDISK hidden Primary DOS FAT16 partitition |
| 145 | 91 | Free FDISK hidden DOS extended partitition |
| 146 | 92 | Free FDISK hidden Primary DOS large FAT16 partitition |
| 147 | 93 | Hidden Linux native Partition, Amoeba |
| 148 | 94 | Amoeba bad block table |
| 149 | 95 | MIT EXOPC native partitions |
| 150 | 96 | |
| 151 | 97 | Free FDISK hidden Primary DOS FAT32 partitition |
| 152 | 98 | Free FDISK hidden Primary DOS FAT32 partitition (LBA), Datalight ROM-DOS Super-Boot Partition |
| 153 | 99 | DCE376 logical drive |
| 154 | 9A | Free FDISK hidden Primary DOS FAT16 partitition (LBA) |
| 155 | 9B | Free FDISK hidden DOS extended partitition (LBA) |
| 156 | 9C | |
| 157 | 9D | |
| 158 | 9E | |
| 159 | 9F | BSD/OS |
| 160 | A0 | Laptop hibernation Partition |
| 161 | A1 | Laptop hibernation Partition, HP Volume Expansion (SpeedStor variant) |
| 162 | A2 | |
| 163 | A3 | HP Volume Expansion (SpeedStor variant) |
| 164 | A4 | HP Volume Expansion (SpeedStor variant) |
| 165 | A5 | BSD/386, 386BSD, NetBSD, FreeBSD |
| 166 | A6 | OpenBSD, HP Volume Expansion (SpeedStor variant) |
| 167 | A7 | NeXTStep |
| 168 | A8 | Mac OS-X |
| 169 | A9 | NetBSD |
| 170 | AA | Olivetti Fat 12 1.44MB Service Partition |
| 171 | AB | Mac OS-X Boot Partition, GO! Partition |
| 172 | AC | |
| 173 | AD | |
| 174 | AE | ShagOS filesystem |
| 175 | AF | ShagOS swap Partition |
| 176 | B0 | BootStar Dummy |
| 177 | B1 | HP Volume Expansion (SpeedStor variant) |
| 178 | B2 | |
| 179 | B3 | HP Volume Expansion (SpeedStor variant) |
| 180 | B4 | HP Volume Expansion (SpeedStor variant) |
| 181 | B5 | |
| 182 | B6 | HP Volume Expansion (SpeedStor variant), Corrupted Windows NT mirror set (master), FAT16 file system |
| 183 | B7 | NTFS file system, Corrupted Windows NT mirror set (master), BSDI BSD/386 filesystem |
| 184 | B8 | BSDI BSD/386 swap Partition |
| 185 | B9 | |
| 186 | BA | |
| 187 | BB | Boot Wizard hidden |
| 188 | BC | |
| 189 | BD | |
| 190 | BE | Solaris 8 boot Partition |
| 191 | BF | New Solaris x86 Partition |
| 192 | C0 | CTOS, REAL/32 secure small Partition, NTFT Partition, DR-DOS/Novell DOS secured Partition |
| 193 | C1 | DRDOS/secured (FAT-12) |
| 194 | C2 | Hidden Linux |
| 195 | C3 | Hidden Linux swap |
| 196 | C4 | DRDOS/secured (FAT-16, < 32M) |
| 197 | C5 | DRDOS/secured (extended) |
| 198 | C6 | DRDOS/secured (FAT-16, >= 32M), Windows NT corrupted FAT16 volume/stripe set |
| 199 | C7 | Windows NT corrupted NTFS volume/stripe set, Syrinx boot |
| 200 | C8 | Reserved for DR-DOS 8.0+ |
| 201 | C9 | Reserved for DR-DOS 8.0+ |
| 202 | CA | Reserved for DR-DOS 8.0+ |
| 203 | CB | DR-DOS 7.04+ secured FAT32 (CHS)/ |
| 204 | CC | DR-DOS 7.04+ secured FAT32 (LBA)/ |
| 205 | CD | CTOS Memdump? |
| 206 | CE | DR-DOS 7.04+ FAT16X (LBA)/ |
| 207 | CF | DR-DOS 7.04+ secured EXT DOS (LBA)/ |
| 208 | D0 | REAL/32 secure big Partition, Multiuser DOS secured Partition |
| 209 | D1 | Old Multiuser DOS secured FAT12 |
| 210 | D2 | |
| 211 | D3 | |
| 212 | D4 | Old Multiuser DOS secured FAT16 <32M |
| 213 | D5 | Old Multiuser DOS secured extended Partition |
| 214 | D6 | Old Multiuser DOS secured FAT16 >=32M |
| 215 | D7 | |
| 216 | D8 | CP/M-86 |
| 217 | D9 | |
| 218 | DA | Non-FS Data |
| 219 | DB | Digital Research CP/M, Concurrent CP/M, Concurrent DOS, CTOS (Convergent Technologies OS -Unisys), KDG Telemetry SCPU boot |
| 220 | DC | |
| 221 | DD | Hidden CTOS Memdump? |
| 222 | DE | Dell PowerEdge Server utilities (FAT fs) |
| 223 | DF | DG/UX virtual disk manager Partition, BootIt EMBRM |
| 224 | E0 | Reserved by STMicroelectronics for a filesystem called ST AVFS. |
| 225 | E1 | DOS access or SpeedStor 12-bit FAT extended Partition |
| 226 | E2 | |
| 227 | E3 | DOS R/O or SpeedStor |
| 228 | E4 | SpeedStor 16-bit FAT extended Partition < 1024 cyl. |
| 229 | E5 | Tandy MSDOS with logically sectored FAT |
| 230 | E6 | Storage Dimensions SpeedStor |
| 231 | E7 | |
| 232 | E8 | |
| 233 | E9 | |
| 234 | EA | |
| 235 | EB | BeOS BFS |
| 236 | EC | SkyOS SkyFS |
| 237 | ED | Unused |
| 238 | EE | Indication that this legacy MBR is followed by an EFI header |
| 239 | EF | Partition that contains an EFI file system |
| 240 | F0 | Linux/PA-RISC boot loader |
| 241 | F1 | Storage Dimensions SpeedStor |
| 242 | F2 | DOS 3.3+ secondary Partition |
| 243 | F3 | Reserved |
| 244 | F4 | SpeedStor large Partition, Prologue single-volume Partition |
| 245 | F5 | Prologue multi-volume Partition |
| 246 | F6 | Storage Dimensions SpeedStor |
| 247 | F7 | Unused |
| 248 | F8 | |
| 249 | F9 | pCache |
| 250 | FA | Bochs |
| 251 | FB | VMware File System Partition |
| 252 | FC | VMware Swap Partition |
| 253 | FD | Linux raid Partition with autodetect using persistent superblock |
| 254 | FE | SpeedStor > 1024 cyl., LANstep, IBM PS/2 IML (Initial Microcode Load) Partition, located at the end of the disk; Windows NT Disk Administr |
| 255 | FF | Xenix Bad Block Table |
Last modified at 03/30/2005 22:26:00
|
80 |
![]() Cloudy, 69 |
| 69 | ||
| 65 |