Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an IDE HDD and I bought an IDE to USB adapter. I connected the connector to the HDD and plugged it into my USB port, and I plugged the power in as well, but when I try to mount it, it gives me an error:
Quote:
mount: /dev/sdb: can't read superblock
dmesg | tail:
Code:
~$ dmesg | tail
[437202.031193] usb-storage: device scan complete
[437202.032235] scsi 7:0:0:0: Direct-Access PQ: 0 ANSI: 2 CCS
[437202.047126] sd 7:0:0:0: [sdb] Attached SCSI disk
[437202.047222] sd 7:0:0:0: Attached scsi generic sg2 type 0
[437251.944530] FAT: unable to read boot sector
[154323.320484] RPC: Registered udp transport module.
[154323.320490] RPC: Registered tcp transport module.
[437651.011347] FAT: unable to read boot sector
Last edited by SentralOrigin; 10-01-2008 at 07:13 PM.
Is this a brand new drive? That message is probably from automount. When you plug the device in automount tries to automatically mount the device and cannot if the drive has not been partitioned and formatted yet. When you get the message you should reply ignore or something similar. Then log in as root and partition and format the drive.
Those errors look like it didn't detect any usable drive connected to the adapter. Check the Master/Slave jumper on the drive. Some IDE drives need to be set as Master even if there is no Slave, and others need the jumpers removed if they are single-Master.
you are trying to mount the device not a partition..
typically you would mount /dev/sdb1 but it looks as though the partition table might be corrupt on the drive.
Is there data on the drive you wish to access ? or could you repartition and reformat the drive ?
I have also run into IDE to USB adapters that didn't work very well and provided similar results to what you are experiencing. so it could be related to the adapter as well. I purchased an expensive enclosure a while back, and it failed miserably in both Windows and Linux.
amazingly enough, this el-cheapo adapter works great for Windows and Linux at times I just want to hook up a IDE or SATA drive to a USB port to grab some data. http://www.inland-products.com/singl...&partnum=08412
So there are a couple things you need to look at.
Is the drive OK ? does it work when connected ot an actual IDE cable ?
Is your Adapter functioning properly ? or is it a paperweight like the first one I purchased ...
$ sudo mount -t ntfs /dev/sdb /mount1/
Failed to read bootsector (size=0)
Failed to mount '/dev/sdb': Invalid argument
The device '/dev/sdb' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
Code:
$ sudo fdisk /dev/sdb
Unable to read /dev/sdb
Code:
$ dmesg
[439866.653800] usb 4-3: new high speed USB device using ehci_hcd and address 11
[439866.787900] usb 4-3: configuration #1 chosen from 1 choice
[155216.806112] scsi10 : SCSI emulation for USB Mass Storage devices
[155216.817994] usb-storage: device found at 11
[155216.818000] usb-storage: waiting for device to settle before scanning
[439872.294135] usb-storage: device scan complete
[439872.295158] scsi 10:0:0:0: Direct-Access PQ: 0 ANSI: 2 CCS
[439872.310090] sd 10:0:0:0: [sdb] Attached SCSI disk
[439872.310184] sd 10:0:0:0: Attached scsi generic sg2 type 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.