2

I have a hard drive (/dev/sda) that is visible when I run sudo lsblk -f, but not when I run sudo fdisk -l.

What could be causing this?

All the google results I could find were about drives that were not listed with either lsblk nor fdisk.

edit to add:

When I run sudo fdisk /dev/sda, I get the error

fdisk: cannot open /dev/sda: Input/output error

PortMan
  • 121
  • 4

1 Answers1

-2

Use gdisk. It should work. This means either the disk is physically damaged, but to the extent that is it sill recognised or that partition table has been damaged in a way that fdisk is not able to recognize. fdisk will not let you in, but gdisk will.