External drive check

"Not showing up" can mean four different failures, and the safe next step is different for each. The operating system already knows which one you have. Run one of these read-only commands with the drive plugged in, paste the output, and the page tells you which layer is broken.

# Linux (key="value" output, parent column included)
lsblk -P -o NAME,PKNAME,SIZE,TYPE,FSTYPE,MOUNTPOINT,TRAN

# macOS
diskutil list external

The four layers

What the system showsBroken layerSafe next stepDo not
Drive absent, or size 0USB link, enclosure bridge, or the drive itselfOther cable, rear port, powered hub, then dmesg | tail (Linux) or System Information, USB (macOS). Clicking or no spin: stop powering it.Keep replugging a drive that clicks
Disk listed, no partitionPartition tableImage the disk, then scan the image with recovery software or TestDiskInitialize (Windows) or erase (macOS)
Partition listed, no filesystem typeFilesystem (Windows calls it RAW)Image first, then recovery software reads files without the filesystemFormat, or run chkdsk /f on a failing disk
Filesystem known, not mountedMount onlyMount read-only, copy the data offForce a repair before copying

On Windows, Disk Management shows the same layers with other words: no disk entry or "No Media" is the first row, "Not Initialized" or "Unallocated" the second, "RAW" the third, a healthy volume without a letter the fourth.

The full procedure for each case, including the chkdsk trap and when a lab is the only option, is in external hard drive recovery: what to do when the drive stops working.