LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-04-2003, 05:07 AM   #1
aiims1777
Member
 
Registered: Oct 2003
Location: India
Distribution: Kubuntu Dapper Drake, Edgy Eft;Red Hat Linux 9 Personal Edition
Posts: 39

Rep: Reputation: 15
Cool 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.
 
Old 11-04-2003, 05:22 AM   #2
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
post your /etc/fstab here.

You mean you can see the files in your windows partition?
 
Old 11-04-2003, 05:22 AM   #3
denominator
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
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.
 
Old 11-05-2003, 02:59 AM   #4
aiims1777
Member
 
Registered: Oct 2003
Location: India
Distribution: Kubuntu Dapper Drake, Edgy Eft;Red Hat Linux 9 Personal Edition
Posts: 39

Original Poster
Rep: Reputation: 15
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?
 
Old 11-05-2003, 03:17 AM   #5
denominator
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
those last two values actually control two things

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
 
Old 11-05-2003, 05:36 AM   #6
aiims1777
Member
 
Registered: Oct 2003
Location: India
Distribution: Kubuntu Dapper Drake, Edgy Eft;Red Hat Linux 9 Personal Edition
Posts: 39

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a hard disk??? dsschanze Linux - Hardware 4 09-25-2004 10:46 PM
mounting hard disk LTF Linux - Newbie 5 08-31-2004 03:49 PM
Hard Disk mounting !! ShaanAli Solaris / OpenSolaris 14 08-07-2004 02:04 AM
what entries to put into fstab for new hard disk? chuck_notorious Linux - Hardware 1 04-21-2004 03:37 AM
Mounting another hard disk Bluebottle Linux - General 3 02-08-2003 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration