On about the third screen, a menu item appears under Utilities that allows you to set a new admin password. The syntax is going to look like this: Diskutil eraseDisk JHFS+ Empty /dev/disk5s2 Insert a current system disk, and start up the computer from it. Also, it is advised to make a time machine back up of your computer if possible before following the procedure.
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”. To reinstall your Macs OS without an installation disc you need to firstly make sure that you keep your Mac turned on during the whole procedure, and that your Mac is connected to the internet. This is the syntax we need: Diskutil eraseDisk FILESYSTEM DISKNAME DISKIDENTIFIER Then pick a name and a system format type. Once you have found the proper drive to erase, just copy its identifier so you can use it for the next command. This is going to list all the mounted drives on your Mac.
Start off by running the following command in the command line: Diskutil list Here I'll show you how you can erase and format a disk using the command line. To do that, the only thing you need is a bit of precise syntax to make sure that you are erasing the proper disk. But some Mac users might need to erase them from the command line on Mac OS. Use a free SSD format tool (AOMEI Partition Assistant Standard), Windows native CMD or Disk Management. If you have been having some issues with your MacBook Pro like noticeable slowdowns, applications frequently crashing, or programs refusing to work altogether, one of the solutions that you might.
Most users use Disk Utility to erase a disk or hard drive. Here's how to factory reset your apple macbook without the disc so it's ready to sell or just back to factory settings for any reason.Hope this helps. How to Format Samsung SSD for Mac/Macbook Pro on Windows PC How to Format Samsung SSD for Mac/Macbook Pro on Windows PC If you want to format Samsung SSD for Mac or Macbook, there are 3 methods you can try.