LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-27-2008, 06:17 PM   #1
OWA14
LQ Newbie
 
Registered: May 2008
Posts: 4

Rep: Reputation: 0
Copy Files From Lexar USB Drive In Slackware 12.1


I have no clue how to mount a usb drive in Slackware, lsusb shows the drive; but cd /dev/sda returns an error. Please help.
 
Old 05-27-2008, 06:53 PM   #2
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
I think this is the first time I would suggested a google search on this forum, because usually I think it's a counterproductive advice, but if you want to survive on slackware, you'll have to gather a lot of information, and how to mount a usb drive is about the easiest task imaginable.
Searching this forum for "mount usb" should return good results too. (It's the same on all distributions if there is no automount feature available or working)
 
Old 05-27-2008, 06:56 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
As a rule you always mount a device on the filing system tree of Linux.

You can ask Linux to tell you what is the name of the partition of the USB device by command
Code:
fdisk -l
From the display you can see the capacity of the hard disk to tell it is the USB device. Also USB memory devices are factory-partition with type Fat16 or Fat32 filing systems.

Say the device you want to mount in the USB is sdb1 you can mount it with commands
Code:
mkdir /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1
ls /mnt/sdb1
If there is output from the last command then the device has been mounted successfully.

When you finish make sure you unmount the device by either
Code:
umount /dev/sdb1
or
Code:
umount /mnt/sdb1
Premature withdrawal of the USB device without properly unmounting it can cause damage to the files. Yes remember to unmount use the command "umount".

As a rule only the root user has the privilege to mount devices.
 
Old 05-27-2008, 07:50 PM   #4
OWA14
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you so much
 
  


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
Mepis, copy files to thumb drive, files deleted? vremenno Linux - Newbie 6 09-16-2006 12:21 AM
Cannot Retrieve Files from USB Lexar Multi-Card Reader Under RH9 2.4.20-6 deindorfer Linux - General 13 02-13-2005 11:34 PM
copy files from your hard drive to usb key with Knoppix ziegen Linux - Distributions 1 08-09-2004 02:06 PM
Lexar USB Jump drive mounts read only qaball Linux - Hardware 7 02-06-2004 08:22 AM
Cannot Copy Files From Network FAT32/NTFS Drive to My Local Linux Drive michaelh Linux - Networking 3 10-29-2002 11:27 AM

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

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