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!
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'm using Mandrake Linux 10.1 on a Compaq Deskpro PC which has two USB ports. I recently plugged in a 64MB 'flashdrive' into the USB port, and was delighted to find that Linux not only found the disk drive automatically, but also mounted the disk and showed it as an icon (both under Gnome and KDE) with the correct name. Files put on the USB drive by Windows 2000 could be read, and I was able to write new files to the drive. When I'd completed this I dismounted the drive using the "umount" command before removing the drive from the USB port, and the drive icon disappeared from the KDE (and Gnome) screen.
My problem arose when I later re-inserted the drive into the USB port. Whilst the drive lights flashed, the icons did not reappear and the device had to be mounted manually. Whilst this is OK, it lacks the convenience of what happened beforehand. How can the original situation be restored such that it happens each time the drive is inserted? How should I remove the memory stick from the USB port - simply pull it out, or is some form of "umount" or equivalent command required (as for Windows) beforehand?
I noticed that the device appears as a SCSI drive. As I already have a SCSI disk 'sda1' on the system, the USB pen drive was seen as 'sdb1'. I don't know if this has any bearing on the problems I'm experiencing.
I subsequently went on to connect a USB-based memory card reader to the same USB port. Under Windows this appears a 4 drives, and under Linux I expected a similar result. However, no drives were detected at all, even though one slot contained a compact-flash card! Are there problems with detecting such devices in Linux? My hope was to be able to archive the JPEG files on the card from my camera onto the hard disk before processing them using the GIMP.
Thank you for your response, and the various references which I've now read. I was also not aware of the 'sync' command and will use this in future.
Since my original posting I've noticed that if the pen drive is attached at boot-up, the drive is correctly detected, an icon displayed on KDE (and presumably also GNOME), and /etc/fstab has been updated. If you dismount the device after using it, the icon disappears as you would expect. However, my problem arises if then re-insert the pen drive as the drive icon does not reappear and the mounting has to be done manually. Is there an option in KDE or elsewhere whereby this remounting on replugging can be automatically performed?