4

I have a failing HDD that I want to recover data from, using ddrescue.

However, I don't know how to find the device name.

When I booted Ubuntu with the disk plugged in, Ubuntu seemed to get stuck trying to read the drive and seemed to be getting nowhere after 10mins. I rebooted with the disk unplugged, and plugged its sata cable in once the system had finished booting.

How can I find out what the device name is?

1 Answers1

7

Run sudo fdisk -l in a terminal and it will list all connected disk drives and the partitions on them. If that does not work for some reason, see this webpage on how disks and partitions are named in Linux.