{"post":{"slug":"how-to-partition-a-drive-2026","title":"How to partition a drive in 2026: Windows, macOS, and Linux","excerpt":"Partitioning a drive lets you separate the OS, data, and dual-boot installs on a single disk. Here is how to do it safely on any operating system in 2026.","category":"tech","date":"April 16, 2026","author":"ByteLedger Team","content":"<span class=\"dropcap\">P</span>artitioning divides a single physical drive into separate logical volumes — useful for dual-booting, separating OS from data, or setting up a clean recovery partition. The process is straightforward in 2026 but still deserves a backup first. Here is the full guide for Windows, macOS, and Linux.\n\n## What changed in 2026\n\n- **GPT is now universal** — virtually all systems sold since 2012 use UEFI and GPT. MBR is only relevant for legacy hardware or old external drives.\n- **Windows 11 Disk Management** handles routine tasks cleanly; for resizing existing partitions that have free space in the middle of the disk, you still need a third-party tool like GParted.\n- **macOS Sonoma/Sequoia with APFS** makes partition management more dynamic — APFS volumes share a container's free space automatically, which is better than fixed partition sizes.\n- **NVMe drives** partition identically to SATA SSDs from the user perspective; the tools are the same.\n\n## GPT vs MBR — which to use\n\n| Feature | GPT | MBR |\n| --- | --- | --- |\n| Max drive size | 18 EB (effectively unlimited) | 2 TB |\n| Max partitions | 128 (Windows), unlimited (Linux) | 4 primary |\n| UEFI boot | Yes | No (BIOS only) |\n| Modern OS support | Required by Windows 11 | Legacy only |\n| Use case | Everything from 2012 onward | Old hardware, legacy drives |\n\n**Always use GPT** unless you are dealing with a drive that must work on a machine from before 2010.\n\n## Partitioning on Windows 11\n\n**Using Disk Management (built-in):**\n\n1. Press Win+X → Disk Management.\n2. Right-click the volume you want to shrink → **Shrink Volume**.\n3. Enter the amount to shrink in MB. Windows shows the maximum shrinkable space.\n4. Unallocated space appears. Right-click it → **New Simple Volume**.\n5. Follow the wizard: assign a drive letter, choose NTFS, format.\n\n**Limitations:** Disk Management can only shrink to the point of immovable files (MFT, page file). If it gives less free space than expected, GParted from a live USB can do more.\n\n**Using diskpart (command line):**\n```\ndiskpart\nlist disk\nselect disk 0\nlist partition\nselect partition 3\nshrink desired=51200\ncreate partition primary\nformat fs=ntfs quick\nassign letter=D\nexit\n```\n\n## Partitioning on macOS\n\n**Using Disk Utility:**\n\n1. Open Disk Utility (Applications → Utilities).\n2. Select the physical drive in the sidebar (not a volume under it).\n3. Click **Partition** in the toolbar.\n4. Click the **+** button to add a partition.\n5. Set size, name, and format (APFS for macOS volumes; ExFAT for cross-platform).\n6. Click Apply.\n\nFor macOS, APFS containers are preferred over traditional partitions — multiple APFS volumes share a container's space dynamically. This is better than fixed partitions for macOS-only use.\n\n## Partitioning on Linux with GParted\n\nGParted is the most capable GUI partition tool:\n\n1. Install: `sudo apt install gparted` (or boot from a GParted Live USB for the OS drive).\n2. Select the drive from the dropdown (top right).\n3. Right-click a partition → **Resize/Move** to shrink it.\n4. Right-click the new unallocated space → **New** to create a partition.\n5. Choose filesystem: ext4 (Linux data), FAT32/exFAT (cross-platform), NTFS (Windows-readable).\n6. Click the green checkmark → **Apply All Operations**.\n\n**Command line with fdisk:**\n```\nsudo fdisk /dev/sdb\ng    # create GPT\nn    # new partition\n# accept defaults or specify start/end sector\nw    # write\nsudo mkfs.ext4 /dev/sdb1\n```\n\n## How to pick your partition layout\n\n| Use case | Suggested layout |\n| --- | --- |\n| Single-OS PC | One partition for OS+data (simplest) |\n| OS + separate data | 100–150 GB for OS, rest for data |\n| Dual boot (Windows + Linux) | Windows NTFS + Linux ext4 + shared exFAT |\n| Media server | OS partition (SSD) + data partition (HDD) |\n\n## Common mistakes\n\n**Not backing up first.** Partition operations are mostly safe, but a power failure or bad sector during a resize can corrupt the filesystem. Back up anything important.\n\n**Shrinking a Windows partition that has a page file at the end.** Move or disable the page file before shrinking, then re-enable it after.\n\n**Using MBR on a large new drive.** MBR caps at 2 TB. A 4 TB drive formatted with MBR will show only 2 TB.\n\n**Leaving unallocated space by accident.** After shrinking, create the new partition or the space sits wasted.\n\n## What to skip\n\n- **More than 3–4 partitions on a home PC** — it adds complexity with no practical benefit. Folders do what most people hope extra partitions will do.\n- **FAT32 for large partitions** — it caps files at 4 GB. Use exFAT for cross-platform drives or NTFS for Windows-primary.\n- **Partitioning an NVMe OS drive while Windows is running** — use Windows Disk Management or GParted from a live USB instead.\n\n## FAQ\n\n**Will partitioning erase my data?**\nCreating a new partition in unallocated space does not erase existing data. Resizing an existing partition is also non-destructive if done correctly — but back up first.\n\n**Can I merge two partitions without losing data?**\nOnly if you back up, delete one partition, extend the other into the freed space, then restore the backup. There is no lossless merge of two partitions directly.\n\n**How many partitions can I create on a GPT drive?**\nWindows supports up to 128. Linux has no practical limit. You will run out of reasons long before running out of partition slots.\n\n**What filesystem should I use for a drive shared between Windows and macOS?**\nexFAT — natively supported on both without drivers. NTFS is read-only on macOS by default (write requires third-party software or Microsoft's own NTFS for Mac).\n\n## Where to go next\n\n- [How to wipe a hard drive in 2026](/blog/how-to-wipe-a-hard-drive-2026)\n- [How to encrypt a drive in 2026](/blog/how-to-encrypt-a-drive-2026)\n- [SSD vs HDD in 2026](/blog/ssd-vs-hdd-2026)","hue":254,"metaTitle":"How to Partition a Drive in 2026: Windows, macOS, and Linux","metaDescription":"Partition a hard drive or SSD in 2026. Step-by-step for Windows Disk Management, macOS Disk Utility, and GParted on Linux. GPT vs MBR explained.","keywords":["how to partition a drive 2026","partition hard drive windows 11","partition ssd 2026","gparted partition guide","disk management windows partition","macos disk utility partition 2026","gpt vs mbr 2026","resize partition 2026","partition drive for dual boot","create partition linux 2026"],"tldr":["**Back up before partitioning** — resizing or moving partitions carries a small but real risk of data loss if power fails mid-operation.","**Use GPT partition tables, not MBR**, for any drive over 2 TB and any modern system using UEFI.","**Windows Disk Management handles basic splits**, but GParted (free, bootable) is the more powerful tool for complex layouts or resizing.","**On macOS, Disk Utility with APFS containers** handles partitioning and can dynamically resize volumes without rebooting.","**Skip:** creating dozens of tiny partitions hoping to organize files — folders within one partition are simpler and avoid wasted unallocated space."],"readTime":"4 min read","wordCount":980},"related":[{"slug":"how-to-install-linux-2026","title":"How to install Linux in 2026: choose a distro, partition, and go live","excerpt":"Linux installation in 2026 is more beginner-friendly than ever, but choosing the right distro and partition scheme still determines whether it works long-term.","category":"tech","date":"March 12, 2026","author":"ByteLedger Team","readTime":"5 min read","hue":228},{"slug":"how-to-encrypt-a-drive-2026","title":"How to encrypt a drive in 2026: BitLocker, FileVault, and VeraCrypt explained","excerpt":"Drive encryption is the single most effective protection if your laptop is stolen. Here is how to enable it correctly on Windows, Mac, and Linux in 2026.","category":"tech","date":"March 12, 2026","author":"ByteLedger Team","readTime":"4 min read","hue":254},{"slug":"how-to-wipe-a-hard-drive-2026","title":"How to wipe a hard drive in 2026: safe, complete, and verified","excerpt":"Wiping a hard drive before selling or recycling a PC is not optional — it is the only thing standing between your data and a stranger. Here is how to do it right.","category":"tech","date":"April 6, 2026","author":"ByteLedger Team","readTime":"4 min read","hue":252}],"sameCategory":[{"slug":"ev-charging-at-home-2026","title":"EV Charging at Home: What the Install Actually Involves","excerpt":"The charger is the cheap part. What determines cost and feasibility is your electrical panel, the cable run, and whether your supply can carry another large load.","category":"tech","date":"August 19, 2026","author":"ByteLedger Team","readTime":"5 min read","hue":232},{"slug":"microled-vs-oled-2026","title":"MicroLED vs OLED: What the Wait Is Actually For","excerpt":"MicroLED promises OLED contrast without burn-in at far higher brightness. Here is why it is still not affordable, and what OLED did in the meantime.","category":"tech","date":"August 19, 2026","author":"ByteLedger Team","readTime":"3 min read","hue":235},{"slug":"nas-buying-guide-2026","title":"NAS Buying Guide: Sizing Storage You Will Not Outgrow","excerpt":"A network attached storage box is a small always-on server. Here is how to size drives and bays, why RAID is not a backup, and what actually matters in the specs.","category":"tech","date":"August 19, 2026","author":"ByteLedger Team","readTime":"4 min read","hue":225},{"slug":"nvme-endurance-explained-2026","title":"NVMe Endurance: Will Your SSD Actually Wear Out?","excerpt":"Drive endurance ratings sound alarming and rarely constrain real use. Here is how to read the specification and what actually kills drives.","category":"tech","date":"August 19, 2026","author":"ByteLedger Team","readTime":"4 min read","hue":251}],"newer":{"slug":"how-to-parse-json-2026","title":"How to parse JSON in 2026: Python, validation, and large-file tricks","excerpt":"JSON parsing in Python is a one-liner until the data is malformed, huge, or deeply nested. This 2026 guide covers the standard library, schema validation, streaming, and the fastest libraries for large payloads.","category":"code","date":"April 16, 2026","author":"ByteLedger Team","readTime":"5 min read","hue":311},"older":{"slug":"how-to-patch-drywall-2026","title":"How to patch drywall in 2026: holes from small to large, step by step","excerpt":"A drywall patch that blends invisibly into the wall is achievable for most hole sizes with the right compound and technique. Here is the exact process.","category":"guides","date":"April 16, 2026","author":"ByteLedger Team","readTime":"5 min read","hue":140}}