LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-08-2003, 06:07 PM   #1
bob10a
LQ Newbie
 
Registered: Jan 2002
Posts: 24

Rep: Reputation: 15
External USB hard drive


I am running SUSE and I am trying to set up an USB harddrive.

As root I modified /etc/fstab, I added the following line:
'/dev/sda1 /media/usb1 vfat noauto,root,rw, 0 0'

Then I restarted the system and tried to mount the harddrive, this is the outcoming message:
'mount: /dev/sda1 is not a valid block device'.

It seems sda1 is not the right device, but how can I find the proper device name and make it work?. Thanks in advance
 
Old 08-08-2003, 07:22 PM   #2
bob10a
LQ Newbie
 
Registered: Jan 2002
Posts: 24

Original Poster
Rep: Reputation: 15
I think my problem is that I don't have the 'lsmod' installed.
How can I install this module?.
 
Old 08-08-2003, 09:51 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
lsmod isn't a module it is a command to list installed modules.

Try
/sbin/lsmod

So what modules are being loaded?
usb-storage
usbcore
uhci
scsi_mod

The output of dmesg will indicate if the OS finds the drive and if it assigns a device id to it. If is the only SCSI device and or USB memory device then it will be /dev/sda
 
Old 08-09-2003, 03:48 PM   #4
bob10a
LQ Newbie
 
Registered: Jan 2002
Posts: 24

Original Poster
Rep: Reputation: 15
You are right. I read dmesg and it says:
USB new device connect on bus1/1, assigned device number 2.
Then it says
USB disconnected on device 2.

I have two USB ports (i don't have anything else connected there) and I have tried both, I also have tried sdaX where X is 0,1,..., and sdbX, and I get the message about devrice block. ANy ideas?.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
External USB hard drive jhmorris47 Linux - Hardware 6 05-02-2006 04:14 PM
How to mount external USB hard drive? zyzyis Linux - Newbie 6 02-01-2006 09:37 PM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 10:41 PM
external usb hard drive TX_metalhead Linux - Hardware 0 05-06-2002 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:50 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