LinuxQuestions.org
Review your favorite Linux distribution.
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 07-10-2004, 04:05 PM   #1
KNIVES
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Rep: Reputation: 0
Accessing a USB pendrive..


I got it in, but im not sure how to mount it..
i searched for a topic, a guy said he culdnt umount one, and he used the
mount /dev/sda1 /mnt/usbHD
command to mount it, since he was on redhat 8, and im on 9, i tried that, but it didnt work...
So now im not entirely sure how to get it workin..

 
Old 07-10-2004, 05:02 PM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
Your USB thumbdrive will be mounted as if it were a SCSI device. The /dev/sda1 device file is the way your system connects to the first partition on its first SCSI device. If the "mount /dev/sda1 /mnt/usbHD" invocation did not work, it is because something else is being treated as the first SCSI device, or the /mnt/usbHD mount location did not exist.

If you provide the following information, I am sure someone here can help you:
1) the contents of /proc/scsi/scsi
2) the error message displayed when your mount attempt fails
 
Old 07-10-2004, 05:04 PM   #3
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
Make a mount directory (/mnt/pendrive or whatever), plug it in and mount it. It will probably show up at /dev/sda1 but you can find out which /dev it is by checking:
tail /var/log/messages

Shouldn't be too difficult.
 
Old 07-11-2004, 11:27 AM   #4
raulgotor
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
Thanks for your answers. When i have a moment, ill try it, and say what happens.

Thank you!
 
Old 07-11-2004, 03:43 PM   #5
KNIVES
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Original Poster
Rep: Reputation: 0
"If you provide the following information, I am sure someone here can help you:
1) the contents of /proc/scsi/scsi
2) the error message displayed when your mount attempt fails"

1) Using the cat ./scsi command, i get
"Attached Devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: _NEC Model: DVD+RW ND1100A REV: 108B
Type: CD-ROM ASCI SCSI revision: 02"

2)Using the `mount /dev/sda1 /mnt/usbHD' command, i get:
"mount: you must specify the file system type"

------

Im going to try what Vincent_Vega said..
heres wut i did:
# mkdir /mnt/usb
# mnt /dev/sda1 /mnt/usb
mount: /dev/sda1 is not a valid block device
# tail /var/log/messages

I read the messages, and the basicly said that (im think) the usb stick was assigned an address, and it didnt accept the address. Like:
USB assigned address 2
USB cant accept address
and then it said address 3..

i can type out the whole log if needed..=/
 
Old 07-11-2004, 05:35 PM   #6
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
The contents of /proc/scsi/scsi that you show indicate that your USB device is not being seen.

Was the USB drive connected to your system when you did this?

Quote:
1) Using the cat ./scsi command, i get
"Attached Devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: _NEC Model: DVD+RW ND1100A REV: 108B
Type: CD-ROM ASCI SCSI revision: 02"
 
Old 07-11-2004, 10:30 PM   #7
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
Unplug the drive, type this command:
tail -s 3 -f /var/log/messages
Now insert the drive to the USB port and look for something like this after a second or two
:
Attached scsi disk sda aat scsi5, channel 0, id 0, lun 0

That 'sda' means you'll mount it at sda, probably sda1 or sda0 possibly...maybe even sda5 in this case since it says scsi5. I can't say for sure. If you don't see a line like that let us know. I think you might.

Last edited by Vincent_Vega; 07-11-2004 at 10:31 PM.
 
  


Reply


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
USB Pendrive DarkAsHell Linux - Hardware 3 04-07-2005 03:26 PM
cant unmoun usb pendrive? dwarf007 Linux - Newbie 2 09-20-2004 09:38 AM
USB pendrive help jojotx0 Fedora 12 09-14-2004 02:49 AM
usb pendrive mount eg72 Linux - Hardware 1 05-16-2004 11:20 AM
USB Pendrive d4d4n9 Mandriva 7 02-03-2004 08:44 PM

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

All times are GMT -5. The time now is 07:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration