Insane
HomeBlogAbout Me

Erase Hard Disk Mac



Most users use Disk Utility to erase a disk or hard drive. But some Mac users might need to erase them from the command line on Mac OS. To do that, the only thing you need is a bit of precise syntax to. Restart Your Mac. First, restart your computer. The most straightforward way is to hold down the.

  1. Erase Hard Disk Mac
  2. Erase Hard Disk Freeware
  3. Factory Reset Mac
  4. How To Erase A Disk For Mac
  5. Erase Hard Disk Mac Utility

Most users use Disk Utility to erase a disk or hard drive. But some Mac users might need to erase them from the command line on Mac OS. Perfectly clear complete 3 5 6 1140 download free. To do that, the only thing you need is a bit of precise syntax to make sure that you are erasing the proper disk.

Here I'll show you how you can erase and format a disk using the command line.

Working with Terminal

Start off by running the following command in the command line: Diskutil list

Is minecraft compatible with mac. This is going to list all the mounted drives on your Mac.

Once you have found the proper drive to erase, just copy its identifier so you can use it for the next command. Then pick a name and a system format type. This is the syntax we need: Diskutil eraseDisk FILESYSTEM DISKNAME DISKIDENTIFIER

Erase Hard Disk Mac

Let’s say the disk I want to erase has “/dev/disk5s2” as its identifier and I’m going to use Mac OS Extended Journaled (JHFS+) as the system format type and name it “Empty”. The syntax is going to look like this: Diskutil eraseDisk JHFS+ Empty /dev/disk5s2 Parallels desktop for mac.

It’s important to keep in mind that if you run the eraseDisk command, the target disk is going to lose all its data, so make sure you are erasing the proper disk.

If you need different system format types, here are a few references you could use instead of JHFS+:

  • Mac OS Extended: HFS+
  • MS-DOS fat32: FAT32
  • ExFAT: ExFAT

Erase Hard Disk Freeware

Erase hard disk freeware

Are you retiring an older Mac that has a mechanical, spinning hard drive in it? If your Mac is running OS X 10.11 then continue reading this article. Below are instructions on how you can securely erase the Mac’s hard drive before you donate your Mac or sell it.

Factory Reset Mac

If your Mac is running OS X 10.7 to 10.10 and has a mechanical, spinning hard drive, please read my older article on securely erasing a spinning hard drive using Disk Utility.

If your Mac has OS X 10.7 or newer and a solid state drive, also called flash storage, then you should instead use these instructions to securely erase your SSD drive.

If your Mac is running OS X 10.6 or older, use this 2010 Tech Tip which has instructions on How to Securely Erase A Mac’s Hard Drive.

How To Erase A Disk For Mac

Here are the steps to securely erase your spinning hard drive on OS X 10.11 (El Capitan) of the Mac operating system (macOS).

Erase Hard Disk Mac Utility

  1. Turn on the laptop and immediately press and hold down both the Command key and the R key. This instructs the computer to startup from the Recovery Partition.
  2. Once you see the Apple logo appear in the middle of the screen you can release the Command and R keys.
  3. Give your Mac a couple of minutes to startup, at which point you’ll see a window like the one this one.
  4. Click on the Disk Utility option from the “OS X Utilities” window.
  5. In the left pane of the Disk Utility window, click on Macintosh HD (which is your laptop’s internal hard drive).
  6. In the right pane of the Disk Utility window, click the Erase tab.
  7. Click the OK button.
  8. Click the Erase button.
  9. You’ll be asked if you’re sure you want to erase it. You’re sure. Go ahead and click the Erase button.
  10. Click on the Disk Utility menu and select Quit Disk Utility
  11. You’ll be returned to OS X Utilities window.
  12. Click on the Utilities menu and select Terminal. Be careful when issuing commands from the Terminal. Issuing commands requires precision and is unforgiving. One small typo could lead to the unintended loss of data or lose. Only proceed if you’re comfortable using Terminal.
  13. Type diskutil secureErase freespace 2 /Volumes/Macintosh HD (or replace Macintosh HD with the precise name of your Mac’s hard drive or replace 2 with another “Level”, see guide below) and then press the Return key. Important Note: For a detailed explanation of this command read this article at OS X Daily about erasing free space from the command line.
    Listed below are the various Levels permitted, from 0 to 4.
    • 0 writes zeroes to the disk once
    • 1 writes a series of random numbers
    • 2 writes zeroes 7 times
    • 3 writes zeroes 35 times
    • 4 writes zeroes 3 times
  14. Sit back and wait many hours for the hard drive to be securely erased. A process window, like the one below will be displayed in Terminal.
  15. When the erase procedure eventually finishes, type exit in the Terminal window.
  16. Click on the Terminal menu and select Quit Terminal
  17. You’ll be returned to the OS X Utilities window.
  18. Click on the Apple menu and select Shutdown.




Erase Hard Disk Mac
Back to posts
This post has no comments - be the first one!

UNDER MAINTENANCE