DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've been trying to get Debian to automatically recognize and mount my USB flash drive (aka thumb drive aka usb stick). I tried following the instructions at http://www.xs4all.nl/~bsamwel/usb_st...n_debian.html, but haven't had much luck. I also tried downloading the help?usb-mount package, but it doesn't contain any binary files (?!). To top it off, my Nvidia kernel module has died and plugging in the USB flash drive now locks up my USB mouse. Any
Last edited by talkingwires; 11-03-2004 at 09:20 PM.
No, I was able to mount it just fine by adding it the lines to my /etc/fstab file. What I'm looking to do is to plug the USB stick in, and have it automatically mount, a la Windows, OS X, and even Linux distros like SuSE. I don't want to be limited to just one mount point, or have to create more fstab entries if I plug a digital camera in too.
But if nobody out there knows how to do this, can someone please tell me how to unmount the USB stick? Using umount doesn't work (it whines about the drive still being in use) and if I just unplug it, I lose data.
As for the Nvidia situation, I went in and changed my driver in my XFREE86-Config file to the generic one. Since then, I've deleted udev, since it was causing more harm than good.
I'm not sure what you mean by "in the flash drive". I'm not writing to it when I try to unmount it, and whether I'm viewing the contents or not shouldn't make a difference. But for the record, I closed all programs (and logged out and back in) and still couldn't unmount it. I ended up yanking it out only to have zero-byte files for the last few I'd put on the drive.
Alrighty, that seems to work pretty well. The USB stick isn't mounted until I try to access it. But it automounts as soon as I do and an icon pops up on my desktop. But the permanent entry in my fstab file (and resulting listing under my available drives, even if it isn't plugged in) still kinda bugs me. I don't suppose you know a way get it to set all that up automatically when any USB device is plugged in, do you?
I use both floppies and usb-stick to back up the data in my home directory but I have chosen a very different approach -- I prefer XFCE4, Window Maker, and IceWM to Gnome and I use MToolsFM to access my vfat formatted floppies & usb-stick. MToolsFM is a simple GUI filemanager that can deal with all vfat formatted media without mounting them, using the "mtools" utility. You'll probably want to continue accessing removable media the Gnome way, but here is how I prefer to do it:
1) First I installed MToolsFM (apt-get install mtoolsfm).
2) Next I added myself to the "disk" group (adduser my_username disk) so that I can access /dev/sda1 as normal user.
3) Then I launched MToolsFM as normal user and chose "Options -> Configure MToolsFM -> drives 'ac' -> OK", which wrote ~/.mtoolsfm file into my home directory. (I had checked before that there's a line in /etc/mtools.conf that assigns drive c: to /dev/sda1.)
4) OK, now I can access my vfat formatted floppies and usb-stick via MToolsFM without actually mounting them. I just stick a floppy to the floppy drive or a usb-stick to the usb port, and then I launch MToolsFM, which makes it very easy to copy files to and fro between removable media and my home directory.
If you've got a vfat formatted partition, it's probably also possible to access this partition via MToolsFM without mounting it. You just need to edit /etc/mtools.conf so that mtools can assign a drive letter for your vfat partition.