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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Kubuntu Dapper Drake, Edgy Eft;Red Hat Linux 9 Personal Edition
Posts: 39
Rep:
Mounting hard disk through fstab
I have Red Hat Linux 9.Whenever I change the settings in my /etc/fstab file by adding a line to mount my other partitions like windows, during bootup I get a failure message saying mount point 0( or 1) does not exist.Still the mounting takes place and I can see my windows partition using Nautilus.
Can someone help me send away these failure messages at bootup?Thanks.
where is the windows partition mounted that you can see in nautilus? i think you've added an extra 0 (or 1) somewhere in the line and linux is trying to mount the partition there as well. post the contents of your fstab here, so someone can take a look at it.
Distribution: Kubuntu Dapper Drake, Edgy Eft;Red Hat Linux 9 Personal Edition
Posts: 39
Original Poster
Rep:
My windows partition is /hda1 and I have a directory called /mnt/Windows which I created to use as a mount point. My /etc/fstab entry for this reads
/dev/hda1 /mnt/Windows vfat noauto,user,owner 0 0
At boot the error message i get reads
Mounting local filesystems : mount : mount point 0 does not exist : no mount point defined ( FAILED)
I tried changing the last field to 1 0 or 2 0 or 2 1. Each time the error message comes and mount point 1 (or 2) does not exist comes in the message.
Booting, however proceeds and I come to the GNOME desktop. On opening /mnt/Windows in Nautilus, I can navigate all my windows partition files.
Can you tell me what values to set for the last field in fstab so that the boot error message does not come?
first number - whether the filesystem should be backed up or not 1 is yes 0 is no
second number - how frequently fsck is run on the filesystem. Its probably a good idea to leave the windows filesystem alone, so leave this option as 0.
I cant understand why it gives that error, the only thing i can think of right now is to make sure that the last values don't get shoved to the next line. This could happen if you tried editing the file with line-wrapping enabled and spurious newlines got inserted. Hang around and someone should give you better advice
Distribution: Kubuntu Dapper Drake, Edgy Eft;Red Hat Linux 9 Personal Edition
Posts: 39
Original Poster
Rep:
Problem solved!
Thank you Denominator.
I was editing my fstab with text wrapping enabled and so the line was breaking on to the next line. Tip for others with such problems Click Edit --Preferences--Wrap and uncheck the Enable text wrapping box. Then write your text on a single line.
Thanks again, Denominator.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.