Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 a newbie in Linux... I've recently installed it in my computer...
but Ican't use my usb mobile disk, it seems that it must be mounted before I can use it...
I would be gratefull if you can help me to mount it... should there be a driver that I must install before?
you shouldn't need a driver if your linux is fairly up to date.
you will need to be root for these kinds of things.
first make a mount point (e.g. mkdir /mnt/usbdrive)
second, look at the message log (e.g. tail /var/log/message)
third, mount your drive (e.g. mount /dev/sda1 /mnt/usbdrive)
then you should be able to see your usb drive (e.g. ls /mnt/usbdrive)
If you can't figure out which device your usb is, try a few. It's likely to be sda1, sdb1, sdc1 etc depending upon which usb port you are plugged into. It you try to mount and get an error message like "not a valid block device" try another. The sda sdb etc is because the usb stuff uses scsi stuff for access. the 1 is to mount the first partition on the usb drive.
The assumption is that the usb drive is formatted as FAT which is automatically detected by mount.
tail /var/log/message will show the end of the message file. When you insert your USB drive, there will often be a log entry that shows what device (/dev/hda or whatever) has been detected. If you can find this log message then you know what device to mount.
Sometimes this message will show up on the console if you are logged in as root when you stick the drive in the USB socket.
If you're a nOOb, then i would try something like Mandrake. That automatically connects my wifes camera and my obscure camcorder so i can read the memory cards like a usb drive.
Everything eles listed above in this post should have worked by now. Seeing how your usb isn't working and i have no clue what distro you are using, there is no point in me blabing about a bunch of "possible fixes/problems" until there is a little more info on the table.
A distro is what kind of linux you are using - distribution. A noob is someone who has just started linux (or anything for that matter).
Try doing this in a console (and as root using su or sudo)......
lsmod - (look for a module called "sg")
If not, then "modprobe sg".
Next, type "dmesg" while your usb drive is plugin and turned on (if that is possible). There should be a message on the very last line about your usb storage device. If it's there, than you need to mount it.
Make a directory in /mnt/ called "hd" or whatever you want.
Now, this is the hard part. You need to find what device is being used for the hard drive. It might be /dev/sda or /dev/sg1 or a couple of others i think. It sucks, i know, but i don't know how to check (i did the tail /var/log thing but nothing was there) where the device is whithout a lot of hit and miss. If you find it, try this.....