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 recently added Fedora Core to my computer to coexist with Windows, and have them on two different hard drives. I wanted to be able to retrieve data from the Windows hard drive, and to do that, I had to add the drive to the fstab file, right?
So, I opened the terminal window, became root, typed in gedit /etc/fstab, and I got a message that said this: (gedit:2449): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
I wasn't sure if this made any difference, so I typed in the data that corresponded with the windows drive into gedit: dev/hda /mnt/windows vfat defaults,users,auto 0 0
I pressed save, and exited gedit. I created the mountpoint using mkdir /mnt/windows, and I thought nothing happened for some reason, so I typed it in again. I figured it must have worked this time, so I restarted, and the icon wasn't there on the desktop. (I typed "auto" in the fstab file) So, I right clicked on the desktop and clicked "windows" under the "drives" section, and it said that Nautilus was unable to mount selected volume because the directory did not exist, so I removed it, and created it again.
I opened up gedit again to see if I had made a typo (which some people are prone to do) and it said that the file "ect/fstab" did not exist. I told the program I would like to create it, and I got another error message saying I couldn't create the file because a directory component in the filename doesn't exist or is a dangling symbolic link.
I am completely stumped. Any help would be much appreciated. (:
Thank you for the help, but I have another problem with editing the fstab file. When I first opened gedit, in the beginning, I saw the fstab file. Now, when opening it, the file will not show at all.
After entering what you said in the fstab file from the command line, I got the error, "E486: Pattern not found: dev". I'm not really sure, except for not putting the correct drive name, what I could have done to mess up the fstab file.
If using Vim (highly recommended ) then you'll need to go to 'insert' mode before trying to add /dev/hda1 etc. Download a cheat sheet from vimdoc.sourceforge.net/ or have a quick glance at the manual page for Vim (man vim).
Essentially: type "i" to go to insert mode, then use the cursors to navigate to where you want to go (there are quicker methods, but that'll suffice for now), type what you want, then press "escape" to return to control mode, then type ":wq" to write the file, and then quit. Voila !