LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 03-16-2009, 01:54 PM   #1
jared nelson
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Rep: Reputation: 0
Having a hard time making linux recognizing my new external hard drive


I just got a My book studio edition II 2tb and linux won't recognize the hard drive. the cd to configer it, only for mac and pc.
 
Old 03-16-2009, 02:11 PM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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 !!)


Welcome to Linuxquestions.org
 
Old 03-16-2009, 02:58 PM   #3
jared nelson
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
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 02:59 PM.
 
Old 03-16-2009, 03:00 PM   #4
jared nelson
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
just got it


Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
or: fdisk /dev/sdc (for the third SCSI disk)
or: fdisk /dev/eda (for the first PS/2 ESDI drive)
or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
 
Old 03-16-2009, 11:52 PM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
second one should be fdisk -(lowercase L)

Code:
fdisk -l
Looks like the drive is identified as /dev/sdb

Are there any partitions on teh device yet ? (four possibly ?)
if so do you know what filesystem they are using (FAT32, NTFS, EXT4, etc..) ?

Last edited by farslayer; 03-16-2009 at 11:55 PM.
 
Old 03-17-2009, 12:36 AM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 13,535

Rep: Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807
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
 
Old 03-17-2009, 05:46 AM   #7
jared nelson
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Its ubuntu.
 
Old 03-17-2009, 05:52 AM   #8
jared nelson
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
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 05:55 AM.
 
Old 03-17-2009, 01:44 PM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 13,535

Rep: Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807
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 ?

Quote:
the cd to configer it, only for mac and pc.
the windows tools on that cd will not work for linux ( Ubuntu )
the built in ones should do the job
but you might need to download the " gparted - live cd"
to format the drive to "ext3" format
http://gparted.sourceforge.net/
http://gparted.sourceforge.net/download.php

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


with the drive pluged in the output of
Code:
fdisk -l
would help
 
Old 03-17-2009, 02:34 PM   #10
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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:

sudo apt-get install hfsutils

http://fosswire.com/post/2007/9/deal...ives-on-linux/
 
Old 03-17-2009, 07:35 PM   #11
jared nelson
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 03-17-2009, 07:38 PM   #12
jared nelson
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Like so
jared@jared-desktop:~$ fdisk -l
jared@jared-desktop:~$
 
Old 03-17-2009, 08:06 PM   #13
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.16.2
Posts: 1,571
Blog Entries: 13

Rep: Reputation: 182Reputation: 182
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:

Quote:
Mar 16 13:33:44 jared-desktop kernel: [ 4726.502565] sdb: [mac] sdb1 sdb2 sdb3 sdb4
Also makes it look like a mac formatted hd with four partitions, so I'd agree with farslayer's advice:

sudo apt-get install hfsutils

(Sorry to be repetitive)

Last edited by mostlyharmless; 03-17-2009 at 08:07 PM.
 
Old 03-17-2009, 08:38 PM   #14
John VV
Guru
 
Registered: Aug 2005
Posts: 13,535

Rep: Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807
also the dev tools , or system tools might not have been installed by your brother

on ubuntu i am not sure of there group names for apt-get to use
 
Old 03-17-2009, 10:08 PM   #15
jared nelson
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
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 10:12 PM.
 
  


Reply

Tags
drives, external, hard


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
External USB hard drive enclosure - not recognizing all drives speck Slackware 6 09-27-2009 01:15 PM
ubuntu installed on external hard drive, can't startup without external hard drive. Vanostaajen Linux - Software 23 01-20-2009 10:59 AM
Need help making external hard drive writable chengas123 Suse/Novell 7 06-20-2008 01:04 AM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-05-2007 12:28 AM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 10:03 AM


All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration