The easiest way to unmount a drive in Mac is to either just drag a volume into the Trash, use the eject keys, disconnect the drive or use one of the force eject methods.
But if you can't use these ways to eject your drive, you can use Terminal to give help. You can use the following steps to eject your drive.
- Open Finder > Applications > Utilities > Terminal.
- Type in the following command to list all your disks.
- Type in the following command to eject your drive.
diskutil unmount /dev/disk1s2
And if you want to mount it on your MacBook, you can use the following commands.diskutil mount /dev/disk1s2
After that, you can check whether your external hard drive ejects from your MacBook safely.
If your MacBook can't recognize the hard drive, you can try the below methods.
- Check the connections
- Check Finder settings
- Check it in System Information
- Check its partitions
- Check its file system