Jul 08, 2014 The Disk Utility application is a powerful tool for keeping the drives that are connected to your Mac happy and healthy. But there are situations in which it may not be available. As an example. Dec 01, 2017 Find out why Close. Force an External Mac Drive to Mount via Command Line Terminal Commands in Mac OS X - Duration. Format A Flash Drive For Both Mac OS X And Windows.
- Using Mac Os Terminal To Zero Out A Drivers
- Using Mac Os Terminal To Zero Out A Driver
- Using Mac Os Terminal To Zero Out A Drive Time
- Using Mac Os Terminal To Zero Out A Drive Crossword
Here are some solutions for accessing the files on your Macintosh Hard Drive when your drive will not boot to the desktop.
A Mac can be started via a USB port, with a USB key or external hard drive, but that device needs to have Mac OSX system installed on it to boot, as well as other requirements. Best bet is to always backup your Mac hard drive with a bootable image created by Apple Disk Utility or a third party utility such as Carbon Copy Cloner. The easiest way to keep your files backed-up is by using Time Machine, which is built in to the Apple OS. The only requirement for Time Machine is to have an attached hard drive to back your files up to.
If you don't have a bootable backup, or a way to get a Mac drive, you will need to boot the computer from another operating system.
Once you crack open the Mac mini, you're still 19 steps from swapping out the hard drive. Not as easy as plugging in an external SSD. But it is, of course, possible to use an SSD in an external. Let's break down this command into parts. Brew refers to Homebrew, which you just installed.cask refers to Homebrew Cask, an extension to Homebrew that is used to install GUI application on your computer.(GUI stands for 'Graphical User Interface'. A GUI application is an app that you can see running, as opposed to invisibly running in the background.) install refers to the fact that you're.
First, try to boot your Mac in Recovery mode, holding down Cmd-r on restart. If that doesn't work, try for Internet Recovery, which is restart and hold down Cmd-Opt-R.
Apple OSX Internet Recovery Article: https://support.apple.com/en-gb/HT201314
Secondly, you can try to boot your Mac into Safe mode to see if you can boot to a minimal desktop.
Start or restart your Mac. Immediately after you hear the startup sound, press and hold the Shift key.
Release the Shift key when you see the Apple logo appear on the screen.
After the Apple logo appears, it might take longer than usual to reach the login screen or your desktop. This is because your Mac performs a directory check of your startup disk as part of safe mode.
To leave safe mode, restart your computer without pressing any keys during startup.
Apple Article on booting your Mac into Safe Mode: https://support.apple.com/en-us/HT201262
If neither of those work, find another Mac, connect it to your Mac with Firewire or Thunderbolt cable. Then reboot the non-bootable Mac holding down the 't' key, which puts it in Target Disk Mode. If this works, the Mac hard drive will appear as a mounted drive on the other Mac.
Apple Article on installing OSX on an External Hard Drive so you can boot from it: https://support.apple.com/en-gb/HT202796
Apple Article for creating a bootable installer for OSX Yosemite (10.10) & OSX El Capitan (10.11): https://support.apple.com/en-gb/HT201372
Apple Article: Booting Into Target Disk Mode For File Transfer: https://support.apple.com/kb/PH10725?locale=en_US
Once you have booted from an external drive, and you can mount the you hard drive that was not booting, you can search the drive for files to recover, beginning with the files that are in the /Users/Home/ Directory.
Using Mac Os Terminal To Zero Out A Drivers
Accessing Hard Drives That Have Been Encrypted Using File Vault
If the hard drive you are trying to recover data from has been encrypted with File Vault, and you don’t know the login password, you will need to use a Recovery Key to login into the drive so you can access the data.
You can access the Recovery Key from the Caper JAMF Software Server on campus. Log into the JSS: https://Casperserver.iowa.uiowa.edu:8443.
For the step by step process to retrieve a Recovery Key, see ITS Support article:http://its.uiowa.edu/support/article/104815
Erasing your disk: For most reasons to erase, including when reformatting a disk or selling, giving away, or trading in your Mac, you should erase your entire disk.
Erasing a volume on your disk: In other cases, such as when your disk contains multiple volumes (or partitions) and you don't want to erase them all, you can erase specific volumes on the disk.
Erasing a disk or volume permanently deletes all of its files. Before continuing, make sure that you have a backup of any files that you want to keep.
How to erase your disk
- Start up from macOS Recovery. Then select Disk Utility from the Utilities window and click Continue.
If you're not erasing the disk your Mac started up from, you don't need to start up from macOS Recovery: just open Disk Utility from the Utilities folder of your Applications folder. - Choose View > Show All Devices from the menu bar in Disk Utility. The sidebar now shows your disks (devices) and any containers and volumes within them. The disk your Mac started up from is at the top of the list. In this example, Apple SSD is the startup disk:
- Select the disk that you want to erase. Don't see your disk?
- Click Erase, then complete these items:
- Name: Type the name that you want the disk to have after you erase it.
- Format: Choose APFS or Mac OS Extended (Journaled). Disk Utility shows a compatible format by default.
- Scheme: Choose GUID Partition Map.
- Click Erase to begin erasing your disk and every container and volume within it. You might be asked to enter your Apple ID. Forgot your Apple ID?
- When done, quit Disk Utility.
- If you want your Mac to be able to start up from the disk you erased, reinstall macOS on the disk.
How to erase a volume on your disk
- Start up from macOS Recovery. Then select Disk Utility from the Utilities window and click Continue.
If you're not erasing the volume your Mac started up from, you don't need to start up from macOS Recovery: just open Disk Utility from the Utilities folder of your Applications folder. - In the sidebar of Disk Utility, select the volume that you want to erase. The volume your Mac started up from is named Macintosh HD, unless you changed its name. Don't see your volume?
- Click Erase, then complete these items:
- Name: Type the name that you want the volume to have after you erase it.
- Format: Choose APFS or Mac OS Extended (Journaled). Disk Utility shows a compatible format by default.
- If you see an Erase Volume Group button, the volume you selected is part of a volume group. In that case, you should erase the volume group. Otherwise, click Erase to erase just the selected volume. You might be asked to enter your Apple ID. Forgot your Apple ID?
- When done, quit Disk Utility.
- If you want your Mac to be able to start up from the volume you erased, reinstall macOS on that volume.
Reasons to erase
Using Mac Os Terminal To Zero Out A Driver
You can erase at any time, including in circumstances such as these:
- You want to permanently erase all content from your Mac and restore it to factory settings. This is one of the final steps before selling, giving away, or trading in your Mac.
- You're changing the format of a disk, such as from a PC format (FAT, ExFAT, or NTFS) to a Mac format (APFS or Mac OS Extended).
- You received a message that your disk isn't readable by this computer.
- You're trying to resolve a disk issue that Disk Utility can't repair.
- The macOS installer doesn't see your disk or can't install on it. For example, the installer might say that your disk isn't formatted correctly, isn't using a GUID partition scheme, contains a newer version of the operating system, or can't be used to start up your computer.
- The macOS installer says that you may not install to this volume because it is part of an Apple RAID.
About APFS and Mac OS Extended
Disk Utility in macOS High Sierra or later can erase using either the newer APFS (Apple File System) format or the older Mac OS Extended format, and it automatically chooses a compatible format for you.
How to choose between APFS and Mac OS Extended
Disk Utility tries to detect the type of storage and show the appropriate format in the Format menu. If it can't, it chooses Mac OS Extended, which works with all versions of macOS. If you want to change the format, answer these questions:
- Are you formatting the disk that came built into your Mac?
If the built-in disk came APFS-formatted, Disk Utility suggests APFS. Don't change it to Mac OS Extended. - Are you about to install macOS High Sierra or later for the first time on the disk?
If you need to erase your disk before installing High Sierra or later for the first time on that disk, choose Mac OS Extended (Journaled). During installation, the macOS installer decides whether to automatically convert to APFS—without erasing your files. - Are you preparing a Time Machine backup disk or bootable installer?
Choose Mac OS Extended (Journaled) for any disk that you plan to use as a Time Machine backup disk or as a bootable installer. - Will you be using the disk with another Mac?
If the other Mac isn't using macOS High Sierra or later, choose Mac OS Extended (Journaled). Earlier versions of macOS don't work with APFS-formatted volumes.
How to identify the format currently in use
Using Mac Os Terminal To Zero Out A Drive Time
If you want to know which format is currently in use, use any of these methods:
- Select the volume in the Disk Utility sidebar, then check the information shown on the right. For more detail, choose File > Get Info from the Disk Utility menu bar.
- Open System Information and select Storage in the sidebar. The File System column on the right shows the format of each volume.
- Select the volume in the Finder, then choose File > Get Info from the menu bar. The Get Info window shows the Format of that volume.
If your disk or volume doesn't appear, or the erase fails
- Shut down your Mac, then unplug all nonessential devices from your Mac.
- If you're erasing an external drive, make sure that it's connected directly to your Mac using a cable that you know is good. Then turn the drive off and back on.
- If your disk or volume still doesn't appear in Disk Utility, or Disk Utility reports that the erase process failed, your disk or Mac might need service. If you need help, please contact Apple Support.
Learn more
Using Mac Os Terminal To Zero Out A Drive Crossword
- If you can't start up from macOS Recovery, you can use a different startup disk instead.
- If Disk Utility shows a Security Options button in the Erase window, you can click that button to choose between a faster (but less secure) erase and a slower (but more secure) erase. Some older versions of Disk Utility offer the option to zero all data instead. These secure-erase options aren't offered or needed for solid-state drives (SSDs) and flash storage.