LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-22-2008, 07:21 AM   #1
johnfrance
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
Smile Don't know how to install external hdd


Hi All,

I have purchased a WD 250GBit external hdd. Can somebody point in the right direction as to how I can install it. My os is Mint 6. The system doesn't recognise the drive hence it would appear that the auto recognise function hasn't been set correctly. Where does the auto recognise function reside, and how do I modify it to recognise the hdd? can somebody help please. Thanks.

Regards
johnfrance
 
Old 12-22-2008, 08:08 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
With modern distros, any USB device should be recognized when it is plugged in. If you can't find any other indication, then try this:
After plugging in the drive and turning it on, open a terminal and enter "dmesg|tail -n 20". You should see something similar to this:
Code:
usb 2-4: new high speed USB device using ehci_hcd and address 6
usb 2-4: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
scsi 7:0:0:0: Direct-Access     WDC      WD1600BB-00GUC0  08.0 PQ: 0 ANSI: 2
sd 7:0:0:0: [sde] 312581808 512-byte hardware sectors (160042 MB)
<<snipped>>
sd 7:0:0:0: [sde] Attached SCSI disk
sd 7:0:0:0: Attached scsi generic sg7 type 0
usb-storage: device scan complete
In my case, this says the device was detected as "sde".

Next, run "mount" to see if possibly the drive did in fact automount. If not, the next thing to check would be if it is formatted. Run "fdisk /dev/sde" (substitute the correct label for "sde")

Let us know what you find, and we'll go from there.

Note that these commands must be entered as root---or, with something like Mint, with "sudo" added in front---eg "sudo fdisk /dev/sde"

Last edited by pixellany; 12-22-2008 at 08:12 AM.
 
Old 12-22-2008, 03:35 PM   #3
johnfrance
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Pixellany,

Thanks for you help. I have done what you have suggested, with the following results:

john@john-desktop ~ $ dmesg| tail -n 20
[ 1708.011072] usb 3-3: configuration #1 chosen from 1 choice
[ 1708.118737] usb 3-3: USB disconnect, address 76
[ 1731.612029] usb 3-3: new high speed USB device using ehci_hcd and address 77
[ 1731.762609] usb 3-3: configuration #1 chosen from 1 choice
[ 1731.885639] usb 3-3: USB disconnect, address 77
[ 1755.376033] usb 3-3: new high speed USB device using ehci_hcd and address 78
[ 1755.526394] usb 3-3: configuration #1 chosen from 1 choice
[ 1755.658665] usb 3-3: USB disconnect, address 78
[ 1779.152029] usb 3-3: new high speed USB device using ehci_hcd and address 79
[ 1779.301496] usb 3-3: configuration #1 chosen from 1 choice
[ 1779.425193] usb 3-3: USB disconnect, address 79
[ 1802.916029] usb 3-3: new high speed USB device using ehci_hcd and address 80
[ 1803.066214] usb 3-3: configuration #1 chosen from 1 choice
[ 1803.191468] usb 3-3: USB disconnect, address 80
[ 1826.684030] usb 3-3: new high speed USB device using ehci_hcd and address 81
[ 1826.834127] usb 3-3: configuration #1 chosen from 1 choice
[ 1826.956372] usb 3-3: USB disconnect, address 81
[ 1850.448028] usb 3-3: new high speed USB device using ehci_hcd and address 82
[ 1850.597562] usb 3-3: configuration #1 chosen from 1 choice
[ 1850.720038] usb 3-3: USB disconnect, address 82
john@john-desktop ~ $ mount
/dev/sdb1 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-7-generic/volatile type tmpfs (rw,mode=755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/john/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=john)

What do you make of this?

Regards
Johnfrance
 
Old 12-22-2008, 05:12 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
First, it is not getting auto-mounted. If it were, the "mount" output would have something like /dev/sdd1 mounted at /mnt/<something> or /media/<something>.

I'm no expert at dmesg output, but what you show does not look promising. Go back farther to see how the messages start. (You can use dmesg by itself, or maybe dmesg|grep "usb 3-3")

The other thing to try is to go into /dev and delete all the disk device files except the ones you know you are using. For example, your "mount" output suggests you are only using sda and sdb. Thus you could delete /dev/sdc, /dev/sdc1, /dev/sdd, etc.
Then connect the external drive and see what new nodes are created.

But try dmesg first---it should show you the node name if the disk is being recognized. (Try also "dmesg|grep "\[sd")

ALSO---try "lsusb" (I'm not totally sure, but I think the drive will show here even if dmesg does not show it being assigned to a node)
 
Old 12-22-2008, 05:27 PM   #5
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
Is it a Raptor hard drive? IIRC WD external hard disks are all raptors, not sure though. My brother has one of 160GB and whenever I connect it, it opens up a prompt asking me to run the autorun thing on the disk, I refuse and it mounts. Are you getting any such things? Also are things like HAL, fuse, etc installed on the system which help in mounting and the likes? And are you able to mount other USB things, maybe pendrive, a camera, a phone etc..

As said above, produce output of "lsusb". [disk should be connected]
 
  


Reply



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
can i install other os on an external hdd? negrito211 Linux - Hardware 1 12-13-2008 12:38 PM
External ubuntu install on external USB HDD th3_tr00p3r Linux - Newbie 1 05-11-2008 02:56 PM
External USB HDD Install - can't find root Jabor Slackware - Installation 4 05-08-2008 12:08 AM
Fedora install on External HDD Mafia Linux - Newbie 11 12-11-2004 04:40 PM
How do i Install Slackware 10.0 onto an external HDD Ravenscythe Linux - Newbie 2 08-31-2004 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:42 AM.

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
Open Source Consulting | Domain Registration