I just received a new unformatted 2.5" hard disk (1 TB) and an external USB 3.0 enclosure to use with my laptop (Thinkpad). I'm running Kubuntu 12.04 on my laptop.
How do I access and format this HDD when it is connected via USB? I have installed it into the external enclosure and connected it to my laptop and it is powered on, yet it does not show up with either sudo fdisk -l
or blkid
. The only device that shows up is /dev/sda.
The USB HDD also fails to show up in the GUI Partition Manager too, unsurprisingly.
When I plug the USB HDD in, I get message like this:
attached enclosure device
attached scsi generic sg2 type 13
uas_eh_abort_handler tag 0
uas_eh_device_reset_handler tag 0
...
reset high speed USB device number 5
Device offlined - not ready after error recovery
rejecting I/O to offline device
I ran into a similar problem before on a desktop and the only solution I found was to connect the HDD to an internal sata port and format the disk. Then I could use it while connected via USB. Currently I am traveling and I only have access to my laptop.
Assuming I cannot connect the disk internally on my computer and I don't have access to any other computer to do the same, how can I accomplish this task? I need to initially partition and format the disk (ext4) via USB.
Update: the drive+enclosure are recognized in Windows. Windows allowed me to partition and format the drive.
cat /proc/partitions
to see if kernel sees the disk