How to partition a hard drive on macOS

One hard drive—many partitions.
Ash Ash (296)
Total time: 10 minutes 
Updated: June 19th, 2019

Today we’re covering the easiest way to partition a hard drive on macOS. These steps will work on both internal hard drives and external devices like USB drives. Partitioning is useful for things like virtual machines or dual boot rigs. But it can also be a useful troubleshooting tool.

Partitioning involves splitting a hard drive into individually usable chunks. The capacity of the hard drive is split between the partitions, not shared. So a 100GB hard drive can make two 50GB partitions. But the split doesn’t have to be even. You can specify any amount you need. One partition can be 22Gb while the other is 78GB.

Posted in these interests:

macos
PRIMARY
40 guides
apple
51 guides
Partition a hard drive on macOS.Partition a hard drive on macOS.

Navigate to Applications > Utilities > Disk Utility.

When Disk Utility is open, select the hard drive you want to break into a partition.

In the Partition tab, click the + button.

Enter a size and name for the new partition. Click Apply. It may take a few minutes for the process to complete.

Navigate to Applications > Utilities > Terminal.

Use the diskutil list command to see a list of drives connected to your computer. Take note of the disk name on the drive you want to partition.

This is the command to create a single partition:

diskutil partitionDisk /dev/disk2 GPT JHFS+ NewPartition 0b 

Replace /dev/disk2 with the name of your hard drive. Replace JHFS+ with the formatting of your choice. Changing NewPartition will change the name of your new partition. Lastly, 0b represents the size of the new partition. Adjust this to create a specific partition size.

Here’s an example showing the creation of multiple 10GB partitions:

diskutil partitionDisk /dev/disk2 GPT JHFS+ Partition1 10g JHFS+ Partition2 10g 

It may take a few minutes for the partition to be created. Congratulations! You’ve successfully split your hard drive.

We’re hiring!
Are you a passionate writer? We want to hear from you!

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

How to format a hard drive on Windows

Format hard drive WindowsFormat hard drive Windows
Clean up your old hard drives.
Ash Ash (298)
Total time: 10 minutes 
Updated: June 19th, 2019

There are plenty of reasons to format a hard drive—we’re not here to ask questions. We know what it’s like to clean up an old PC or prepare an SD card for a new Raspberry Pi project.

Today we’re looking at the two best ways to format a hard drive on Windows. This process works for hard drives, external drives, and even flash drives. First things first, make sure the drive you want to format is connected to your computer!

Note: This will wipe all of the data on the drive you format. Be sure to back up anything critical before formatting the drive!

Posted in these interests:

windows
PRIMARY
31 guides
format hard drive disk managementformat hard drive disk management

Open the Start Menu, and enter the word format. Select Create and format hard disk partitions.

Alternatively, you can open the Disk Management tool by right-clicking a hard drive under This PC and selecting Format.

The Disk Management tool will load a list of hard drives connected to your machine. You can format external hard drives, flash drives, and internal drives from this list. Right-click the hard drive you want to format and select Format. Enter a name for the hard drive in the Volume Label field. Set the File system and Allocation unit size from the drop-down menu.

Format hard drive Command PromptFormat hard drive Command Prompt

Open the Start Menu, and type cmd. Right-click Command Prompt and choose Run as Administrator.

When Command Prompt opens, type diskpart then press enter.

Type list disk then press enter. This will show everything from hard drives to USB drives. Note the number assigned to the hard drive you want to format.

Type select disk # to select a specific drive. Replace the # sign with the actual disk number. For example, you would use select disk 2 to select the second disk. Press enter.

Type clean and press enter. Next, enter create partition primary and press enter.

You need to define a file system format. For example, you can implement a NTFS file system with this command: format fs=ntfs

After you’ve successfully formatted the drive, you need to assign it a letter. Type the word assign and press enter. Congratulations! Your drive is formatted and ready to go.

How to format a hard drive on Windows

Format hard drive WindowsFormat hard drive Windows
Clean up your old hard drives.
Ash Ash (298)
Total time: 10 minutes 
Updated: June 19th, 2019

There are plenty of reasons to format a hard drive—we’re not here to ask questions. We know what it’s like to clean up an old PC or prepare an SD card for a new Raspberry Pi project.

Today we’re looking at the two best ways to format a hard drive on Windows. This process works for hard drives, external drives, and even flash drives. First things first, make sure the drive you want to format is connected to your computer!

Note: This will wipe all of the data on the drive you format. Be sure to back up anything critical before formatting the drive!

Posted in these interests:

windows
PRIMARY
31 guides
format hard drive disk managementformat hard drive disk management

Open the Start Menu, and enter the word format. Select Create and format hard disk partitions.

Alternatively, you can open the Disk Management tool by right-clicking a hard drive under This PC and selecting Format.

The Disk Management tool will load a list of hard drives connected to your machine. You can format external hard drives, flash drives, and internal drives from this list. Right-click the hard drive you want to format and select Format. Enter a name for the hard drive in the Volume Label field. Set the File system and Allocation unit size from the drop-down menu.

Format hard drive Command PromptFormat hard drive Command Prompt

Open the Start Menu, and type cmd. Right-click Command Prompt and choose Run as Administrator.

When Command Prompt opens, type diskpart then press enter.

Type list disk then press enter. This will show everything from hard drives to USB drives. Note the number assigned to the hard drive you want to format.

Type select disk # to select a specific drive. Replace the # sign with the actual disk number. For example, you would use select disk 2 to select the second disk. Press enter.

Type clean and press enter. Next, enter create partition primary and press enter.

You need to define a file system format. For example, you can implement a NTFS file system with this command: format fs=ntfs

After you’ve successfully formatted the drive, you need to assign it a letter. Type the word assign and press enter. Congratulations! Your drive is formatted and ready to go.

Jump to step

How to format a hard drive on Windows

Format hard drive WindowsFormat hard drive Windows
Clean up your old hard drives.
Ash Ash (298)
Total time: 10 minutes 
Updated: June 19th, 2019

There are plenty of reasons to format a hard drive—we’re not here to ask questions. We know what it’s like to clean up an old PC or prepare an SD card for a new Raspberry Pi project.

Today we’re looking at the two best ways to format a hard drive on Windows. This process works for hard drives, external drives, and even flash drives. First things first, make sure the drive you want to format is connected to your computer!

Note: This will wipe all of the data on the drive you format. Be sure to back up anything critical before formatting the drive!

Posted in these interests:

windows
PRIMARY
31 guides
format hard drive disk managementformat hard drive disk management

Open the Start Menu, and enter the word format. Select Create and format hard disk partitions.

Alternatively, you can open the Disk Management tool by right-clicking a hard drive under This PC and selecting Format.

The Disk Management tool will load a list of hard drives connected to your machine. You can format external hard drives, flash drives, and internal drives from this list. Right-click the hard drive you want to format and select Format. Enter a name for the hard drive in the Volume Label field. Set the File system and Allocation unit size from the drop-down menu.

Format hard drive Command PromptFormat hard drive Command Prompt

Open the Start Menu, and type cmd. Right-click Command Prompt and choose Run as Administrator.

When Command Prompt opens, type diskpart then press enter.

Type list disk then press enter. This will show everything from hard drives to USB drives. Note the number assigned to the hard drive you want to format.

Type select disk # to select a specific drive. Replace the # sign with the actual disk number. For example, you would use select disk 2 to select the second disk. Press enter.

Type clean and press enter. Next, enter create partition primary and press enter.

You need to define a file system format. For example, you can implement a NTFS file system with this command: format fs=ntfs

After you’ve successfully formatted the drive, you need to assign it a letter. Type the word assign and press enter. Congratulations! Your drive is formatted and ready to go.

How to format a hard drive on Windows

Format hard drive WindowsFormat hard drive Windows
Clean up your old hard drives.
Ash Ash (298)
Total time: 10 minutes 
Updated: June 19th, 2019

There are plenty of reasons to format a hard drive—we’re not here to ask questions. We know what it’s like to clean up an old PC or prepare an SD card for a new Raspberry Pi project.

Today we’re looking at the two best ways to format a hard drive on Windows. This process works for hard drives, external drives, and even flash drives. First things first, make sure the drive you want to format is connected to your computer!

Note: This will wipe all of the data on the drive you format. Be sure to back up anything critical before formatting the drive!

Posted in these interests:

windows
PRIMARY
31 guides

How to format a hard drive on Windows

windows
Clean up your old hard drives.
Ash Ash (298)
Total time: 10 minutes 
Updated: June 19th, 2019
Ash
 

Posted in these interests:

windows
PRIMARY
31 guides
windows
PRIMARY
31 guides
PRIMARY
Jump to step
Calling all writers!

We’re hiring. Write for Howchoo

 
In these interests
windows
PRIMARY
31 guides
windows
PRIMARY
31 guides
PRIMARY
Jump to step
format hard drive disk managementformat hard drive disk management

Open the Start Menu, and enter the word format. Select Create and format hard disk partitions.

Alternatively, you can open the Disk Management tool by right-clicking a hard drive under This PC and selecting Format.

The Disk Management tool will load a list of hard drives connected to your machine. You can format external hard drives, flash drives, and internal drives from this list. Right-click the hard drive you want to format and select Format. Enter a name for the hard drive in the Volume Label field. Set the File system and Allocation unit size from the drop-down menu.

Format hard drive Command PromptFormat hard drive Command Prompt

Open the Start Menu, and type cmd. Right-click Command Prompt and choose Run as Administrator.

When Command Prompt opens, type diskpart then press enter.

Type list disk then press enter. This will show everything from hard drives to USB drives. Note the number assigned to the hard drive you want to format.

Type select disk # to select a specific drive. Replace the # sign with the actual disk number. For example, you would use select disk 2 to select the second disk. Press enter.

Type clean and press enter. Next, enter create partition primary and press enter.

You need to define a file system format. For example, you can implement a NTFS file system with this command: format fs=ntfs

After you’ve successfully formatted the drive, you need to assign it a letter. Type the word assign and press enter. Congratulations! Your drive is formatted and ready to go.

format hard drive disk managementformat hard drive disk management

Open the Start Menu, and enter the word format. Select Create and format hard disk partitions.

Alternatively, you can open the Disk Management tool by right-clicking a hard drive under This PC and selecting Format.

The Disk Management tool will load a list of hard drives connected to your machine. You can format external hard drives, flash drives, and internal drives from this list. Right-click the hard drive you want to format and select Format. Enter a name for the hard drive in the Volume Label field. Set the File system and Allocation unit size from the drop-down menu.

format hard drive disk managementformat hard drive disk management

Open the Start Menu, and enter the word format. Select Create and format hard disk partitions.

Alternatively, you can open the Disk Management tool by right-clicking a hard drive under This PC and selecting Format.

The Disk Management tool will load a list of hard drives connected to your machine. You can format external hard drives, flash drives, and internal drives from this list. Right-click the hard drive you want to format and select Format. Enter a name for the hard drive in the Volume Label field. Set the File system and Allocation unit size from the drop-down menu.

Format hard drive with Disk Management

Format hard drive Command PromptFormat hard drive Command Prompt

Open the Start Menu, and type cmd. Right-click Command Prompt and choose Run as Administrator.

When Command Prompt opens, type diskpart then press enter.

Type list disk then press enter. This will show everything from hard drives to USB drives. Note the number assigned to the hard drive you want to format.

Type select disk # to select a specific drive. Replace the # sign with the actual disk number. For example, you would use select disk 2 to select the second disk. Press enter.

Type clean and press enter. Next, enter create partition primary and press enter.

You need to define a file system format. For example, you can implement a NTFS file system with this command: format fs=ntfs

After you’ve successfully formatted the drive, you need to assign it a letter. Type the word assign and press enter. Congratulations! Your drive is formatted and ready to go.

Format hard drive Command PromptFormat hard drive Command Prompt

Open the Start Menu, and type cmd. Right-click Command Prompt and choose Run as Administrator.

When Command Prompt opens, type diskpart then press enter.

Type list disk then press enter. This will show everything from hard drives to USB drives. Note the number assigned to the hard drive you want to format.

Type select disk # to select a specific drive. Replace the # sign with the actual disk number. For example, you would use select disk 2 to select the second disk. Press enter.

Type clean and press enter. Next, enter create partition primary and press enter.

You need to define a file system format. For example, you can implement a NTFS file system with this command: format fs=ntfs

After you’ve successfully formatted the drive, you need to assign it a letter. Type the word assign and press enter. Congratulations! Your drive is formatted and ready to go.

Format hard drive through Command Prompt

Calling all writers!

We’re hiring. Write for Howchoo

Ash's profile pictureAsh
Joined in 2018
Ash is an experienced tech writer with an endless passion for technology. She enjoys retro gaming, 3D printing, and making awesome projects on the Raspberry Pi.
Ash's profile picture
Share this guide!
RedditEmailTextPinterest
Related to this guide:
Windows 10 Bootable USBWindows 10 Bootable USB
Recover your PC with a Windows 10 flash drive.
Ash's profile picture AshView
In these interests: windows
Stop Updates on Windows 10Stop Updates on Windows 10
Postpone or halt your Windows 10 updates.
Ash's profile picture AshView
In these interests: windows
Ash's profile pictureViewpcwindows
Windows 10 Bootable USBWindows 10 Bootable USB
Recover your PC with a Windows 10 flash drive.
Ash's profile picture AshView
In these interests: windows
Ash's profile pictureViewwindows
Stop Updates on Windows 10Stop Updates on Windows 10
Postpone or halt your Windows 10 updates.
Ash's profile picture AshView
In these interests: windows
Ash's profile pictureViewwindows
People also read:
Windows 10 Remote Desktop
Make the most of your Windows 10 Remote Desktop session.
Reset Network Settings Windows 10
Forget your Wi-Fi networks and other network settings.
Disable Microsoft Teams on Startup
Three methods for stopping Teams on startup.
Enable Remote Access Windows 10
Work from home when you’re not at home.
VPN from Windows 10
Learn how to connect to your work or private VPN on Windows.
Restore Windows 10
Like rewinding but for your operating system.
Which Version of Windows Do I Have
You’re running Windows what?
Map Network Drive Windows 10
Save your network shares for later.
Bluetooth Windows 10
Connect your favorite Bluetooth device
Uninstall programs on Windows 10
In past versions of Windows, uninstalling programs was a little bit tricky. Fortunately with Windows 10, most applications can be uninstalled easily with a few clicks.
Windows 10 Remote Desktop
Make the most of your Windows 10 Remote Desktop session.
Reset Network Settings Windows 10
Forget your Wi-Fi networks and other network settings.
Disable Microsoft Teams on Startup
Three methods for stopping Teams on startup.
Enable Remote Access Windows 10
Work from home when you’re not at home.
VPN from Windows 10
Learn how to connect to your work or private VPN on Windows.
Windows 10 Remote Desktop
Windows 10 Remote DesktopTips and Tricks for Windows 10 Remote Desktop
Reset Network Settings Windows 10
Reset Network Settings Windows 10How to Reset Network Settings on Windows 10
Disable Microsoft Teams on Startup
Disable Microsoft Teams on StartupHow to Disable Microsoft Teams on Startup in Windows 10
Enable Remote Access Windows 10
Enable Remote Access Windows 10How to Enable Remote Access on Windows 10
VPN from Windows 10
VPN from Windows 10Windows VPN Setup: How to VPN from Home in Windows
Restore Windows 10
Like rewinding but for your operating system.
Which Version of Windows Do I Have
You’re running Windows what?
Map Network Drive Windows 10
Save your network shares for later.
Bluetooth Windows 10
Connect your favorite Bluetooth device
Uninstall programs on Windows 10
In past versions of Windows, uninstalling programs was a little bit tricky. Fortunately with Windows 10, most applications can be uninstalled easily with a few clicks.
Restore Windows 10
Restore Windows 10How to Restore Windows 10
Which Version of Windows Do I Have
Which Version of Windows Do I HaveHow to Check Your Version of Windows
Map Network Drive Windows 10
Map Network Drive Windows 10How to Map a Network Drive on Windows 10
Bluetooth Windows 10
Bluetooth Windows 10How to Turn on Bluetooth in Windows 10
Uninstall programs on Windows 10
Uninstall programs on Windows 10How to Uninstall Programs on Windows 10
Posted in these interests:
windowswindows
windows
PRIMARY
windowswindows
windows
PRIMARY
PRIMARY
Explore
Discuss this guide:
We’re hiring!
Are you a passionate writer? We want to hear from you!
We’re hiring!
Are you a passionate writer? We want to hear from you!
View openings

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Donate