Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-16-2007, 05:15 AM
|
#1
|
LQ Newbie
Registered: Oct 2007
Posts: 4
Rep:
|
external usb hdd
I am having some problems getting an external usb hdd to work. The drive is
a fujitsu MHT2040AT. I have pluged it into the usb port and it powers on, but I am not sure which device entry under /dev represents is. What makes matters worse is that the MBR is missing from this drive which means I am unable to read to it.. How do I go about rescuing this drive from the trash
heap?
|
|
|
10-16-2007, 05:22 AM
|
#2
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
Even if it is a raw disk without a partition and hence no filing system inside it will always show up in a root console by command
which reports its size and the device name as detected and used in Linux.
If you can't see the device in the above terminal command (in root) then it is time to check the hardware connection.
If no one says it then I will shout
Welcome to the Forum.
|
|
|
10-16-2007, 05:30 AM
|
#3
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Rep:
|
Another approach might be to look at the output of
dmesg
after you have plugged in the drive
|
|
|
10-16-2007, 05:31 AM
|
#4
|
LQ Newbie
Registered: Oct 2007
Posts: 4
Original Poster
Rep:
|
thankyou for your help
I think it is time to check the hardware.
_stan_
|
|
|
10-16-2007, 05:32 AM
|
#5
|
Member
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47
Rep:
|
one way to know the device name is after plugging into the usb drive, just run the command
dmesg
this command will give the output of kernel.
at the end of the output you will find the detection of this hardware and details about this hardware.
this is deteced as /dev/sda1 if your system does not have any SCSI hard disk already.
if you have already 1 SCSI harddisk then
your new usb harddisk number detected as no. of SCSI disks + 1
|
|
|
10-16-2007, 05:39 AM
|
#6
|
LQ Newbie
Registered: Oct 2007
Posts: 4
Original Poster
Rep:
|
dmesg yields the following output;
usb 4-3: new high speed USB device using ehci_hcd and address 2
usb 4-3: configuration #1 chosen from 1 choice
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: FUJITSU Model: MHT2040AT Rev: 0000
Type: Direct-Access ANSI SCSI revision: 00
usb-storage: device scan complete
scsi 0:0:0:0: Attached scsi generic sg0 type 0
SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)
sda: Write Protect is off
sda: Mode Sense: 27 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)
sda: Write Protect is off
sda: Mode Sense: 27 00 00 00
sda: assuming drive cache: write through
sda:<6>sd 0:0:0:0: SCSI error: return code = 0x08000002
sda: Current: sense key: Medium Error
Additional sense: Unrecovered read error
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
sd 0:0:0:0: SCSI error: return code = 0x08000002
sda: Current: sense key: Medium Error
Additional sense: Unrecovered read error
end_request: I/O error, dev sda, sector 0
|
|
|
10-16-2007, 05:45 AM
|
#7
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Rep:
|
Suspect this is a hardware problem. I assume that the disc isn't working with Windows either.
|
|
|
10-16-2007, 05:49 AM
|
#8
|
LQ Newbie
Registered: Oct 2007
Posts: 4
Original Poster
Rep:
|
haven't tested is under windows... I'm pretty sure it is a paperweight
|
|
|
10-16-2007, 05:54 AM
|
#9
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Rep:
|
This is a tentative idea. I wonder if it is worth trying to reformat the disc. It seems to have been identified as sda and I assume that none of your internal drives is sda
|
|
|
10-16-2007, 06:47 AM
|
#10
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
Before to format it how do we know sda is not an internal hard disk that has an operation system providing the dmesg data?
A "fdisk -l" output can tell us a lot of things.
|
|
|
All times are GMT -5. The time now is 10:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|