LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-17-2005, 10:20 AM   #1
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
mounting pendrive


im using Slackware 10.1 on kernel 2.6.12.3

whenever i plug in pendrive

it detects it as scsi1 device

but i have no node as sda or sdb made on the OS

so i run this comman

# mknod /dev/sda c 8 0
# chmod 777 /dev/sda
# mount /dev/sda /mnt/pendrive
sda is not a block device

im getting the above error
how do i mount the pen drive
 
Old 08-17-2005, 10:44 AM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
What do you see from dmesg right after you plug it in? It may not be a simple /dev/sdaX (my camera isn't, for example.)
 
Old 08-17-2005, 07:44 PM   #3
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
dmesg i wrote above is detecting it as scsi device....
 
Old 08-17-2005, 08:38 PM   #4
rnicolson
Member
 
Registered: Jul 2004
Location: Winnipeg
Distribution: Slackware 11
Posts: 74

Rep: Reputation: 15
Shouldn't you be mounting sda1 and not sda? In order for you to access a drive to read or write data there needs to be at least one partition.
 
Old 08-18-2005, 02:57 AM   #5
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
sda1 is also giving me the same error message
 
Old 08-18-2005, 08:37 AM   #6
rnicolson
Member
 
Registered: Jul 2004
Location: Winnipeg
Distribution: Slackware 11
Posts: 74

Rep: Reputation: 15
Check to see if the device is recognized as /dev/uba when you plug it in. I had this happen when I upgraded to the 2.6 kernal from the Slackware 10.1 cd. It would mount for me but would not let me copy to or from the drive though. I am sure it is just an option in the kernel but am not sure which one. Upgrading again to the kernel packages in the current tree under testing solved the problem for me. If you don't want to try upgradin the kernel as an option this ealy in trouble shooting and it does show up as /dev/uba then try to see if you have the sd_mod module as in this earlier thread.

http://www.linuxquestions.org/questions/history/330482
 
  


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
error:mounting usb pendrive in debian pspec Linux - Newbie 3 11-30-2005 11:24 PM
Mounting USB pendrive on Debian malesandro Linux - Newbie 15 10-14-2005 04:19 PM
Mounting USB-Pendrive in Debian Elbryan Linux - Software 4 09-22-2005 12:39 PM
mounting a pendrive minm Linux - Hardware 13 09-06-2004 01:05 PM
automate mounting pendrive carboncopy Slackware 2 08-10-2004 12:33 PM

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

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