Having a hard time making linux recognizing my new external hard drive
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.
Your system should automatically recognize it when you plug in the drive..
with the drive plugged in open a shell and as root try the following commands tail /var/log/messages
fdisk -l
The first one should show if/how the drive was detected, and what Device ID it was assigned.
The second command will show what drives/partitions your system can see.
Post the output here so we can help you further
also what distro are you running ? (you should update your profile to include your distro, or specifically mention it in any question you post. Thanks !!)
this is the first command but the other did nothing.(I also might add my brother added linux os to my computer, so I when it comes to commands i'm a bit of a dunce when it come's to that)
Mar 16 13:33:32 jared-desktop kernel: [ 4726.499056] sd 12:0:0:0: [sdb] Write Protect is off
Mar 16 13:33:32 jared-desktop kernel: [ 4726.502545] sd 12:0:0:0: [sdb] Cache data unavailable
Mar 16 13:33:44 jared-desktop kernel: [ 4726.502565] sdb: [mac] sdb1 sdb2 sdb3 sdb4
Mar 16 13:33:44 jared-desktop kernel: [ 4739.000277] sd 12:0:0:0: [sdb] Attached SCSI disk
Mar 16 13:33:44 jared-desktop kernel: [ 4739.000353] sd 12:0:0:0: Attached scsi generic sg2 type 0
Mar 16 13:33:44 jared-desktop kernel: [ 4739.006927] scsi13 : SBP-2 IEEE-1394
Mar 16 13:33:45 jared-desktop kernel: [ 4740.022112] ieee1394: sbp2: Logged into SBP-2 device
Mar 16 13:33:45 jared-desktop kernel: [ 4740.024223] ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
Mar 16 13:33:45 jared-desktop kernel: [ 4740.038590] scsi 13:0:1:0: Enclosure WD My Book Device 1010 PQ: 0 ANSI: 4
Mar 16 13:33:45 jared-desktop kernel: [ 4740.038756] scsi 13:0:1:0: Attached scsi generic sg3 type 13
Last edited by jared nelson; 03-16-2009 at 01:59 PM.
jared nelson do you have any idea what distro your brother installed
Ubuntu,fedora,slackware, something else
depending on what is installed ( all the major distros include "ntfs-3g" ) a MS Windows formated "ntfs" drive should be auto detected and auto mounted
and mounted in one of a few places
in
/mnt/someName
/media/someName
So i was thinking that all I have to do is pluge it in to a another computer and configer it so that linux can recognize it.(this is what my brother had to do when he gave me his la cie, he restored it and made it a open drive, because it configured for his mac).On the box it said that it can work for mac and pc, so that could possibly mean that it has a preexisting os that confects with linux. this is what I'm thinking anyway
Last edited by jared nelson; 03-17-2009 at 04:55 AM.
so it is a brand new, never used, external ( usb) harddrive ? -- not new - i answered my question
but is it a usb or internal drive
if is it a regular hard drive that you need to plug in to the , inside the computer .
if inside the computer -- did you change the pin setting from master to slave on the new drive ?
so it was reformated to the hfs ( mac) format - Ubuntu should be able to read it and there should be a icon for it on your desktop.
-------------
and from this it looks like it is being seen by Ubuntu
" Mar 16 13:33:44 jared-desktop kernel: [ 4726.502565] sdb: [mac] sdb1 sdb2 sdb3 sdb4 "
and it has 4 partitions on it
He's connecting via firewire rather than USB if I'm reading the message log correctly, not that it makes any difference. I have a drive that connects eitehr way and it comes up the same, regardless of wether I am using USB or Firewire.
I'm still waiting for the fdisk -l output as well..
I believe it's just not mounting because of the file system type.. but verification would be nice.
if it is mac formatted, as we believe, and you want to access data on it, then:
Its a never been used externel hard drive that has 800 fire wire to 400 fire wire and usb 2.0.
When i do the command fdisk -l it just restarts the root command and acts as if i didn't do anything.I consulted my brother and he said it could be a driver problem, because it is a new hardware.
And now that i'm thinking about it the cd it comes with, is a driver download
Are you using fdisk -l (lower case L) not fdisk -1 (one) or anything else, just like farslayer said? Crazy fonts make it impossible to tell. Your post listing:
I've been copy and past the commands.
I tried to look up sudo apt-get install hfsutils and nothing was there to tell me what it is, so I hate to be a pain but can you explain what it is.
Last edited by jared nelson; 03-17-2009 at 09:12 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.