Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-27-2005, 04:13 AM   #1
LQ Newbie
Registered: Jan 2005
Location: UK
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Question Fr: linuxrookie..How to mount USB Memory Stick!:-)

Hi, everyone
I am linux rookie and getting to enjoy joys from learning liunx...
Just two "silly" questions to bother. Appreciate if you can give me specific steps...
1. how to mount USB memory stick in Debian ?
2. how to mount cd/dvd driver... it seems that my cd/dvd driver is not working under linux....


Last edited by lj2bz; 01-27-2005 at 05:04 AM.
Old 01-27-2005, 06:54 AM   #2
Senior Member
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
first of all USB Mass storage devices needs to be in your kernel, either by module, or compiled in. then you should be able to type
mount /dev/sda1
after you set up a place to mount it.
Old 01-27-2005, 11:40 AM   #3
LQ Newbie
Registered: Jan 2005
Location: UK
Distribution: Debian
Posts: 2

Original Poster
Rep: Reputation: 0

Thanks a lot...just didn't get the first step:
USB Mass storage devices needs to be in your kernel, either by module, or compiled in....

What should I do to put in kernel? seems silly enough
Old 01-27-2005, 01:27 PM   #4
Dead Parrot
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Debian systems usually have hotplug installed by default and hotplug should autodetect your usb-stick and also automatically load the needed kernel module. If there doesn't appear to be /dev/sda1 in your system, you can pluck the usb-stick in and reboot the computer. After that you should be able to grep some info about your usb-stick from the boot messages (dmesg | grep usb).

I have formatted my usb-stick for fat32 filesystem that both Windows and Linux understand (although Linux calls it vfat). I have created a directory called /media/usbkey and added this line to /etc/fstab :
/dev/sda1       /media/usbkey   vfat    user,quiet,umask=0      0       0
After this I can mount my usb-stick by plugging it in at any time and executing the command "mount /media/usbkey" and the files in the usb-stick will show up in that directory.


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
mount, Usb memory stick amer_58 Linux - Newbie 2 03-25-2005 05:44 AM
usb memory stick mount nadroj Linux - Hardware 10 01-13-2005 10:41 PM
mount point for USB memory stick gmontry Linux - Hardware 1 11-01-2004 12:58 AM
How do you auto mount a USB memory stick ? KiwiPingu Linux - Newbie 1 07-29-2004 05:44 PM
How do I mount a USB flash memory stick? brian Linux - Newbie 3 02-07-2004 02:49 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration