MESS

Daniel Bye freebsd-questions at slightlystrange.org
Mon May 22 07:05:00 PDT 2006


On Mon, May 22, 2006 at 08:51:19AM -0400, Jerry McAllister wrote:
> >   I fear that this time a messed up big time. I have two hard drives one 
> > with Windows XP (40G) and another with FreeBSD 6.1  (10G). Eveything was 
> > ok until I decided i wanted to mount my windows drive to FreBSD (i run KDE 
> > as GUI). I followed the instruction from OnLamp.com and since i wanted the 
> > whole process to be automated on every boot i added the following lines 
> > in /etc/fstab using ee: 
> >   /dev/ad0s1  /windows        ntfs   rw       1     1
> 
> The only thing I see wrong, as long as the "ntfs" is correct might be
> wanting 'ro' instead of 'rw' and '2   2'  instead of  '1    1'.  Try
> modifying those.

Definitely "ro" in the flags field, but I would suggest 0 in the final
field - it is used to determine when the partition should be fsck'd. As
the OP saw, there is no fsck_ntfs so that particular error would still
manifest.

The penultimate field might also get away with being 0, depending on
whether or not the OP wants to back up the Windows partition on his
FreeBSD bckup sets.  That's down to local policy though.

> 
> >   and everything looked normal until i rebooted! now when i choose FreeBSD 
> > on the bootmanager it starts looking ok and ends up with the following:
> >   fsck: exec fsck-ntfs for /dev/ad0s1 in /sbin:/usr/sbin: No such file or directory
> >   Unknown error: help!
> >   init /bin/sh on /etc/rc terminated abnormaly, going to single user mode
> >   Enter full pathname of shell of RETURN for /bin/sh
> >    
> >   if i enter single user mode it dasen't seem to recognize many commands: 
> > starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case this 
> > is the problem. 
> 
> Yes.   Generally none of those extra things are availiable in single user.
> Single user is minimal and does not have services started nor anything
> but root mounted and root is mounted in a special non-write way.

If the machine comes /up/ into single user mode, true.  If the machine
goes /down/ to single user mode, I believe file systems remain mounted,
but all your rc.d stuff will be terminated.  In this latter case, most
tools should still be available without any extra intervention.

Dan

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060522/3186894f/attachment.pgp


More information about the freebsd-questions mailing list