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.
Here's the deal
I have 2 harddrives. Hda has all of my Windows XP stuff on it. Hdb has all of my linux partitions and a fat32 partition. When I installed redhat 8 I created another fat32 partition so that I could share information between my linux and windows drives. I can access the drive from windows no problem, just open up my computer and boom. There it is. But I'm a little confused as to how to do this on linux. I searched around google and found the "mount" command. A little more research and I was able to come up with "mount /mnt/(partition you want to mount)". So I typed:
# mount /mnt/hdb2
The result was something like.... "No entry found in fstab blah blah blah". Anyone know what the problem is or more importantly, how to fix this? This is really important.
Thanks in advance.
well there's no "problem" you're just not using the command correctly. What you're doing there is to rely on an entry in /etc/fstab which details what where and how to mount a partition. All you're doing there is saying the "what" part, which is fine IF the rest of the info is in /etc/fstab, but it's not there yet for you, you'll need to add it. e.g.
/dev/hdb2 /mnt/share vfat defaults
you can see similar examples nio your existing file. alternatively just run the full one off mount command
what to give in place of /dev/hdb2 if we want to mount a cd drive or
a usb flash drive
It depends what your system is calling your devices. For CD drives, you'll usually have an entry in /etc/fstab. It may be called /dev/cdrom. For USB devices, you should run dmesg and look at the output to determine what to use. You really shouldn't drag up old threads like this and this question would have been suitable in your other thread.