Linux - NewbieThis 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
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.
OK, I have a few friends who use USB keys (and hope to join them soonish). This is really quite trivial. I know how to mount the keys (thanks to Google ) using::
mount -t vfat -oumask=0000 /dev/sda1 /mnt/usbkey
However, I would like to automount them when they are plugged in (ala CD-ROMs and floppy drives) and I was wondering if anyone could give me some advice.
I'm not sure if you can make the keyring automount in Red Hat 9 simply. Since these devices are USB, it requires some hot plug scripting to work properly, and I'm not sure that can be done automatically without writing some custom scripts. What you can do however is add a line like this to your /etc/fstab file:
/dev/sda1 /mnt/usbkey vfat noauto,user 0 0
next create a link to /dev/sda1 on your desktop (ie KDE). Then you can mount/unmount the drive with your mouse.
BTW I like the poem at the end of your signature. Who's the author?
I havn't figured out how to do it yet. I'm using Slack8.1, not sure whether it's worth me upgrading or no, seeing that my Linuxbox is a 200mhz POS. Hopefully I'll be able to put Linux on a newer box when we get one.
Hey, do you know how to get the two modprobes (usb-storage & usb-uhci(?)) to autoload? Right now I have to type both in the console before I can mount my usb keys.... Or did RH9 just make it easier for you?
I have the line I listed above in my fstab file for a usb 2.0 hard drive and it works fine. The modules were loaded automatically for me, buy you should be able to make them load automatically. Check the conf.modules/modules.conf file in your /etc directory to see if you have an alias for it. If not, you may want to add one. Also make sure the dependencies are set up in the /lib/modules/<kernel-specific>/modules.dep file.
I might be wrong, but can't you edit your /etc/auto.misc file to mount your USB drive when you access it? You could have it mount when you try and access your key drive, and then unmount itself after however long you want?
I'm a newbie myself, but I found this link that helped me get my USB key working with Redhat9. Sorry if this is no help, I'm just trying to give back to the community that has helped me so kindly. Try this article if you're having problems with USB thumb drives.
Not much to add, in SuSe 8.2, the USB key loaded onto KDE fairly easily as sda1 and a desktop icon is listed. The same can not be said for Gnome.
In KDE, the key seems to load automatically, I have left it in the USB port at home and have turned the machine off several times since leaving it, and it always comes up the same in kde. Its always absent in Gnome.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.