LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-30-2005, 11:13 AM   #1
nick021
Member
 
Registered: Jan 2005
Location: india
Distribution: slackware 10.0 (kernel 2.4.26)
Posts: 104

Rep: Reputation: 15
how to connect pen drive


hi

i have slackware 10.0 on my laptop.
it has 3 usb slots.
i want to connect pen drive(usb flash drive) to it .
how will i detect my usb flash drive and mount it on slackware

regards
 
Old 08-30-2005, 11:43 AM   #2
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Hi nick021, and welcome to LQ!

Ok, plug your pen drive into one of the USB ports - whichever one you like the most! Then, go into terminal/console. If you are using GNOME, then just right-click on the desktop and select "Open Terminal". If not just browse your menu for Konsole or a terminal program and open it. Then, type in the following:
Code:
$ su
Password:
# mount -a
That should automatically mount your drive (it mounts everything visible), and the mounted drive should be found in either /mnt or /media (I'm not too familiar with Slackware).

If you are still having trouble mounting it, or trouble with file permissions, then please reply stating the problem.

J_K9
 
Old 08-30-2005, 11:44 AM   #3
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
connect your drive...open up a terminal

$ dmesg | tail

gives you the device details...like device name...sda1 or sdb1 or something else.

go ahead log in as root

# mkdir /mnt/pendrive
# mount -t <fs-type> -o rw /dev/device /mnt/pendrive

fs-type is generally fat32 for usb pen drives

replace "device" with whatever number you get from dmesg

you can then

# cd /mnt/pendrive

# ls

to see contents of your pendrive.


Tux,
 
Old 09-01-2005, 01:55 PM   #4
nick021
Member
 
Registered: Jan 2005
Location: india
Distribution: slackware 10.0 (kernel 2.4.26)
Posts: 104

Original Poster
Rep: Reputation: 15
detecting pen drive

hi

my pendrive has been detected by slackware 10.0

thanks
 
Old 09-01-2005, 03:10 PM   #5
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
USB devices are most often detected as Serial devices in Slackware. An easy way to do it in the future is to do the following:

$ su -
# mkdir /mnt/usb
# mount /dev/sda1 /mnt/usb

Then you can edit your fstab so it knows to mount there, and so users can mount it.
 
  


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
Pen Drive like on XP La Dima Fedora 1 08-28-2005 05:38 AM
Pen drive question Lier Linux - Software 1 03-03-2005 09:49 PM
Mounting Pen Drive coolfrog Linux - General 4 09-09-2004 09:10 AM
USB Pen Drive fuoi2 Linux - Newbie 10 09-08-2004 08:03 AM
DSL on pen drive? Jestrik DamnSmallLinux 1 12-27-2003 05:57 PM

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

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