Home > Questions

How to fix unable to eject disk in Terminal?

I have been having problems with my external hard drive. It has not been showing up under my “devices” in Finder, my desktop, or any other computers. It does indicate that it’s on and I think working because my hard drive blinks a little white light. I have been able to see it in “System Information > USB” with all of its information which I believe is a good sign. And when I go to Terminal it shows ups as well and I’m able to do the commands to get its info. But when I go to use a command like [diskutil eject disk_ (disk number it’s labeled under)], Terminal says “unable to find disk_” yet I know it exists as it’s literally displayed right above it. Does anyone know what the issue could be? It happens with other commands too like mount.

Best Answered by

iBoysoft author Eudora Liu

Eudora Liu

Answered on Monday, April 29, 2024

There are many reasons that may cause your external hard drive not to show up on your Mac, for instance, the USB cable is broken, the external hard disk is formatted in an incompatible manner, etc.

Here are four methods for you to fix the external hard drive not showing up on Mac:

And then, when you type in the command you mentioned, the Terminal says "unable to find disk", that's may because your type in the wrong disk name, and you can try to use the following command to check your disk name first.

diskutil list 

Write down your disk name and type in the following command to check whether your disk can be ejected properly. Don't forget to replace 'disk0s2' with your disk name.

diskutil umount force /dev/disk0s2

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

Mensaje de error de Time Machine no pudo completar la copia de seguridad en Mac

Time Machine no pudo completar la copia de seguridad en Mac [Solucionado]

¿Falló la copia de seguridad de Time Machine con el mensaje 'Time Machine no pudo completar la copia de seguridad'? Lee esta publicación para aprender soluciones al error en diferentes situaciones.

Disk Utilityがパーティションのアクティブ化を待っている間に停止している

パーティションをアクティブ化するのを待っていて固定磁気ディスクユーティリティがスタックするのを修正する方法

Macの内蔵ハードドライブ、SDカード/SSD/HDD、またはUSBフラッシュドライブを消去するときにDisk Utilityが'パーティションをアクティブ化するのを待っている'とスタックする問題を修正する方法を学ぶ

'Time Machine could not create a local snapshot'の修正方法

エラー:'タイムマシンがローカルスナップショットを作成できませんでした' [修正]

タイムマシンでMacをバックアップしようとすると、'タイムマシンがバックアップ元とするローカルスナップショットを作成できませんでした'というエラーが表示されます。問題を解決するための確立された2つの方法を学びましょう。