Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2004 10:31:26 -0800
From:      Kevin Smith <smithcam@adelphia.net>
To:        CHris Rich <freebsdnews@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: mount ntfs (windows) file system in /etc/fstab fails at boot
Message-ID:  <41ACBC7E.2020502@adelphia.net>
In-Reply-To: <8292450b04113010165bc95e74@mail.gmail.com>
References:  <41A6FD07.1020900@adelphia.net> <8292450b04113010165bc95e74@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris K. explained the problem earlier in the thread.

The correct entry in your /etc/fstab should be somethig like bellow. I 
had a "2" in the 6th field (instead of "0" or leave it out); this causes 
the file system to be checked on bootup which fails with the ntfs file 
system. If you have this in your fstab, you should not need to mount it 
in your rc files. Mine mounts automatically with no problem with the 
following line:

/dev/ad0s1 /windows ntfs ro 2 0


CHris Rich wrote:

>On Fri, 26 Nov 2004 01:53:11 -0800, Kevin Smith <smithcam@adelphia.net> wrote:
>  
>
>>I am able to mount my windows partition manually by either:
>>
>>    
>>
>>>mount -t ntfs /dev/ad0s1 /windows
>>>      
>>>
>>or by putting an entry in by /dev/fstab that looks like:
>>
>>/dev/ad0s1             /windows          ntfs     ro              2       2
>>
>>and using command:
>>
>>    
>>
>>>mount /windows
>>>      
>>>
>>-however,
>>
>>If I leave this entry in my /etc/fstab, the OS reports inconsistency
>>errors on bootup when it tries to mount and goes into single-user mode.
>>I then had to remount / for read-write and delete the line in the fstab
>>before it would boot again.
>>    
>>
>
>I put a script in /usr/local/etc/rc.d/ that mounts my windows partition for me
>not sure if it is the best way to do it but it works for me
>
>Regards
>
>  
>
>>Am I using the wrong syntax for the fstab entry  ?- also, why does it
>>mount manually with no error - but complain at boot time ?
>>
>>-K
>>    
>>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41ACBC7E.2020502>