LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-08-2009, 05:06 AM   #1
kaotik
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
Mounting a USB Drive in DSL???


Hi guys..
Im new here and very new to linux.
Im just having some problems accessing a USB flash drive. I have been trying for days with no luck.
Im using DSL on a Live CD.
Im trying to get my WIFI working (i have an internal wifi card on my laptop).

In order to do this I believe I have to install the drivers for it and use ndiswrapper (came with DSL) so linux can use them.
I have the drivers on a USB stick. (Atheros drivers).
Now my problem is accessing the USB stick in linux.

Do I need to format the stick in any special way for linux to see it?
When I boot DSL before the 'desktop' loads it saids 'found usb storage device' (or something to that effect). does this mean it is already mounted?

I used the 'dmesg' command it is saids that my usb is on sda3.

I tried to mount it manually using:
mount /dev/sda3 /mnt/pen/
but i get the error message:
"mount: relocation error: mount: undefined symbol: blkid_known_fstype"

Ive also navigated to /mnt/sda3 but the directory is empty.

The device is listed under the lsusb command.

I dont know what else to try. Thanks in advance for any help you guys can offer me.
 
Old 02-08-2009, 07:31 AM   #2
ArfaSmif
Member
 
Registered: Oct 2008
Location: Brisbane Australia
Distribution: Fedora, Centos
Posts: 268

Rep: Reputation: 54
You can check what has been mounted by running the following command:-

# mount

This will display all mounted file systems. If your USB stick is not mounted then use the following procedure.

I'm guessing that the file system on your USB stick is FAT32, in which case you can mount the stick using the following command as root :-

# mount -t vfat /dev/sda3 /mnt/pen

Don't forget that /mnt/pen has to exist first (ie. mkdir /mnt/pen if it doesn't already exist)
 
Old 02-09-2009, 05:45 AM   #3
kaotik
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
thanks for your reply.
i tried that n i think i got it mounted.
but i cant seem to find the wifi drivers on the usb stick.
i navigate to /mnt/pen/ and all thats is listed there is
two folders: 001 and 002 (the folders contain files called "001" "002")
two files: called "devices" and "drivers" (to which it saids "permission denied" when i try to open them.)
but i cant find my wifi driver files anywhere.
i should note that the drive is mounted with the "usbdevfs" file system. i found this out using the 'mount' command. so when i mounted the drive i changed vfat to usbdevfs.
thanks for your help so far. much appreciated.
 
Old 02-10-2009, 12:02 AM   #4
kaotik
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Can anyone help me please????
 
Old 02-10-2009, 12:39 AM   #5
ArfaSmif
Member
 
Registered: Oct 2008
Location: Brisbane Australia
Distribution: Fedora, Centos
Posts: 268

Rep: Reputation: 54
Kaotik,

Become root and type in the following command once the USB stick is mounted :-


# chmod -R 777 /mnt/pen

This will then allow you to view all files on the stick
 
Old 02-10-2009, 04:22 AM   #6
kaotik
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
thanks for your reply.
i typed that command once the usb drive was mounted.
and the command worked but when i navigate to the /mnt/pen directory i cant find the wifi drivers.
as mentioned before all there is is:

two folders: 001 and 002 (the folders contain files called "001" "002")
two files: called "devices" and "drivers"

however now when i tried to open the devices file i got the following message:
.devices: line1: T:: command not found
.devices: line2: syntax error near expected token '('
.devices: line2: 'B: Alloc= 0/900 us (0%), #Int= 0, #Iso= 0'

Where would the wifi files be located?

Thanks again much appreciated.
 
Old 02-10-2009, 07:38 AM   #7
ArfaSmif
Member
 
Registered: Oct 2008
Location: Brisbane Australia
Distribution: Fedora, Centos
Posts: 268

Rep: Reputation: 54
Do this as root please and post the result here (copy and paste from the next line):-

# find /mnt/pen -exec file '{}' \;
 
  


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 drive works on DSL, not DSL-N. DSL-N has kernel 2.6.12 mkenyon2 Linux - Hardware 1 08-07-2008 12:29 PM
fedora 7: autofs is not mounting USB flash drive or DVD ROM drive Hewson Linux - General 3 05-12-2008 09:58 AM
Installing GRUB and mounting my HDD on DSL thru USB? avD,ZeeK DamnSmallLinux 0 10-24-2007 09:52 AM
[DSL] USB-Drive not mounting and Keyboard has no special characters polemon DamnSmallLinux 3 04-01-2007 09:21 PM
Mounting split raid drive as normal drive via USB William_Syd Linux - Newbie 2 11-01-2006 08:07 PM

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

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