LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-30-2005, 06:47 AM   #1
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Mounting External HDD


Hi,

I have plugged in my USB External Hard Drive into my FC3 laptop, and it doesn't mount automatically. Please may someone tell me what command I need to issue into terminal to mount my Ext. HDD? Thanks, it's quite urgent.

J_K9
 
Old 03-30-2005, 06:51 AM   #2
gerardt
Member
 
Registered: Feb 2005
Location: South Africa
Distribution: SuSE
Posts: 60

Rep: Reputation: 15
try fdisk -l to see if the device/partitions are visible.
If they are use the mount command.
mount /dev/sd?? /<path_to_mount_point>
This is a temporary mount available only until next reboot.
For a more permanent mount use /etc/fstab.
Be aware that a device may not always appear at the same position on USB and therefore permanent mounts may be tricky.
 
Old 03-30-2005, 06:56 AM   #3
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Thanks for replying gerardt, but when I type in "fdisk -l" it just says that bash has an error because fdisk does not exist! Do you know of anything else I can do? Thanks,

[EDIT]
But if I type n "man fdisk", the man file comes up!
[/EDIT]

J_K9

Last edited by J_K9; 03-30-2005 at 06:58 AM.
 
Old 03-30-2005, 07:03 AM   #4
gerardt
Member
 
Registered: Feb 2005
Location: South Africa
Distribution: SuSE
Posts: 60

Rep: Reputation: 15
you need to be logged in as root to run the fdisk command. But only use the -l option as it can destroy partition information.
 
Old 03-30-2005, 07:21 AM   #5
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Here is the result of my fdisk -l (I'm sorry it took so long but I haven't managed to get my FC3 laptop onto my home network yet).

Code:
Disk /dev/hda: 20.0 GB, 20003880960 bytes
16 heads, 63 sectors/track, 38760 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device         Boot   Start          End       Blocks            Id      System

/dev/hda1                1           951      479272+       82      Linux swap
/dev/hda2      *       952       23001     11113200     83      Linux
/dev/hda3            23002      36727     6917904       83      Linux
/dev/hda4            36728      38760     1024632        5       Extended
/dev/hda5            36728      38759     1024096+    82       Linux swap
Oh, by the way, I am dualbooting between SUSE 9.1 and FC3 just in case you're confused, and I accidentally made two swaps...

J_K9

P.S I'm sorry about the formatting

Last edited by J_K9; 03-30-2005 at 07:23 AM.
 
Old 03-30-2005, 07:39 AM   #6
gerardt
Member
 
Registered: Feb 2005
Location: South Africa
Distribution: SuSE
Posts: 60

Rep: Reputation: 15
if the drive was visible we would see it in this output as a sd device.

One last try. try lsusb and see if it returns anything.

Is the device by any chance a maxtor?
 
Old 03-30-2005, 07:45 AM   #7
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Here is the result:

Code:
Bus 001 Device 002: ID 059f:0341 LaCie, Ltd
Bus 001 Device 001: ID 0000:000
That's right, because my hard drive is a LaCie Mobile Hard Drive. Thanks again,

J_K9
 
Old 03-30-2005, 07:57 AM   #8
gerardt
Member
 
Registered: Feb 2005
Location: South Africa
Distribution: SuSE
Posts: 60

Rep: Reputation: 15
Try "mount /dev/sd?1 /mnt" where ? is the device number alphabetically
001=a 002=b etc.
 
Old 03-30-2005, 08:09 AM   #9
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
I tried what you said:
Code:
# mount /dev/sdb1 /mnt
mount: special device /dev/sdb1 does not exist
I also tried "/dev/sda1" (even though that's not what you said) and that didn't work either? Do you have any more ideas? Thanks for your help so far,

J_K9
 
Old 03-30-2005, 08:29 AM   #10
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
Note: this is what I would do in Slackware, not sure about FC* but worth a try...

open a console window and as root enter (without the ' ' )
'tail -f /var/log/messages'
Then plug it in and some messages should appear telling you where the device has been recognised, then use that info to mount the drive.

For some reason I have a USB drive showing up a sr0 , but this method helped me mount it

I am a newb, but I hope this helps

Last edited by slackist; 03-30-2005 at 08:34 AM.
 
Old 03-30-2005, 02:06 PM   #11
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
I think it might be "scsi0" so I'm going to try and mount that now!

[EDIT]
No, scsi0 doesn't exist. I'll copy out all the messages but it might take a while!
[/EDIT]

J_K9

Last edited by J_K9; 03-30-2005 at 02:08 PM.
 
Old 03-30-2005, 02:37 PM   #12
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Code:
Apr 30 21:10:28 localhost kernel: usb 1-2: new full speed USB device using address 3
Apr 30 21:10:28 localhost kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Apr 30 21:10:33 localhost wait_for_sysfs[3507]: either wait_for_sysfs (udev 039) 
needs an update to handle the device '/devices/pci0000:00/0000:00:07.2/usb1/1-2/1-2:1.0' 
properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, 
please report to <linux-hotplug-devel@lists.sourceforge.net>
Apr 30 21:10:43 localhost hal.hotplug[3529]: timeout(10000 ms) waiting for /devices/pci0000:00/0000:00:07.2/usb1/1-2/1-2:1.0
The funny thing is that the update rpm for "udev" is on the hard disk! If I write it onto a CD-RW and install it do you think it might work? Thanks in advance,

J_K9

Last edited by J_K9; 03-30-2005 at 02:42 PM.
 
Old 03-30-2005, 03:14 PM   #13
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Sorry for triple posting, but:

Now that I have installed the new udev, this is the result of "tail -f /var/log/messages" when I plug in my LaCie External Hard Drive:
Code:
Apr 30 22:06:08 localhost kernel: usb 1-2: new full speed USB device using address 2
Apr 30 22:06:10 localhost kernel: SCSI subsystem initialized
Apr 30 22:06:10 localhost kernel: Initializing USB Mass Storage driver...
Apr 30 22:06:10 localhost kernel: scsi0 : SCSI emulation for USB Mass Storage devices
And then slightly later on...
Code:
Apr 30 22:07:00 localhost kernel: usb 1-2: reset full speed USB device using 
address 2
Apr 30 22:07:16 localhost kernel: scsi: Device offlined - not ready after error
recovery: host 0 channel 0 id 0 lun 0
Apr 30 22:07:16 localhost kernel: usbcore: registered new driver usb-storage
Apr 30 22:07:16 localhost kernel: USB Mass Storage support registered.
The only problem remaining is - 1) Is it already mounted? If so, where? - or 2) If it isn't mounted, how do I mount it? Any help would be greatly appreciated. Thanks again,

J_K9
 
Old 03-30-2005, 04:37 PM   #14
coontie
Member
 
Registered: Jun 2003
Distribution: Fedora Core 5
Posts: 100

Rep: Reputation: 15
I'm having the exact same problem, same exact error messages! I'm trying to get external USB Maxtor 40gb drive working.

Mar 30 17:35:02 oxygen su(pam_unix)[22644]: session opened for user root by ig(uid=500)
Mar 30 17:35:54 oxygen kernel: usb 1-8: new high speed USB device using ehci_hcd and address 11
Mar 30 17:35:54 oxygen kernel: scsi8 : SCSI emulation for USB Mass Storage devices
Mar 30 17:35:59 oxygen kernel: Vendor: (l(l(l(l Model: (l(l(l(l(l(l(l(l Rev: 0811
Mar 30 17:35:59 oxygen kernel: Type: Direct-Access ANSI SCSI revision: 00
Mar 30 17:35:59 oxygen kernel: SCSI device sda: 678176876 512-byte hdwr sectors (347227 MB)
Mar 30 17:35:59 oxygen kernel: sda: assuming drive cache: write through
Mar 30 17:35:59 oxygen kernel: SCSI device sda: 678176876 512-byte hdwr sectors (347227 MB)
Mar 30 17:35:59 oxygen kernel: sda: assuming drive cache: write through
Mar 30 17:36:15 oxygen hal.hotplug[22765]: timout(10000 ms) waiting for /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8:1.0/host8/target8:0:0/8:0:0:0
Mar 30 17:36:25 oxygen scsi.agent[22776]: Attribute /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8:1.0/host8/target8:0:0/8:0:0:0/type does not exist

[root@oxygen ~]# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 011: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
Bus 001 Device 001: ID 0000:0000

Any ideas?
 
Old 03-30-2005, 04:39 PM   #15
coontie
Member
 
Registered: Jun 2003
Distribution: Fedora Core 5
Posts: 100

Rep: Reputation: 15
Forgot to add the kernel details:

Linux oxygen 2.6.10-1.770_FC3smp #1 SMP Thu Feb 24 14:20:06 EST 2005 i686 i686 i386 GNU/Linux
 
  


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
Mounting external HDD as user mabalel Mandriva 12 01-20-2006 04:03 AM
Mounting external Firewire NTFS HDD & Permissions Ganza Linux - Newbie 9 11-06-2005 07:39 AM
Bootable partion on external HDD? 40 gb firelight hdd. Trebile34 Linux - Hardware 1 03-14-2005 11:50 AM
External USB HDD"Mounting local filesystems: /dev/sdb1 is not a valid block device" manudath Linux - Hardware 3 12-13-2004 09:59 PM
External USB HDD not mounting glk Linux - Hardware 1 01-22-2004 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:38 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
Open Source Consulting | Domain Registration