From owner-freebsd-questions@FreeBSD.ORG Mon May 22 14:04:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8E1F16A640 for ; Mon, 22 May 2006 14:04:48 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc6-cmbg1-0-0-cust82.cmbg.cable.ntl.com [82.10.236.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EA3243D48 for ; Mon, 22 May 2006 14:04:48 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.62 #0) id 1FiB1a-0002le-7Q by authid for ; Mon, 22 May 2006 15:04:46 +0100 Date: Mon, 22 May 2006 15:04:46 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20060522140445.GA3576@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20060522090248.49882.qmail@web26201.mail.ukl.yahoo.com> <200605221251.k4MCpKeS004107@clunix.cl.msu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <200605221251.k4MCpKeS004107@clunix.cl.msu.edu> User-Agent: Mutt/1.4.2.1i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: danielby@slightlystrange.org X-SA-Exim-Scanned: No (on catflap.slightlystrange.org); SAEximRunCond expanded to false Subject: Re: MESS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 14:05:00 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 on= e=20 > > with Windows XP (40G) and another with FreeBSD 6.1 (10G). Eveything wa= s=20 > > ok until I decided i wanted to mount my windows drive to FreBSD (i run = KDE=20 > > as GUI). I followed the instruction from OnLamp.com and since i wanted = the=20 > > whole process to be automated on every boot i added the following lines= =20 > > in /etc/fstab using ee:=20 > > /dev/ad0s1 /windows ntfs rw 1 1 >=20 > 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. >=20 > > and everything looked normal until i rebooted! now when i choose Free= BSD=20 > > 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 mo= de > > Enter full pathname of shell of RETURN for /bin/sh > > =20 > > if i enter single user mode it dasen't seem to recognize many command= s:=20 > > starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case t= his=20 > > is the problem.=20 >=20 > 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 --=20 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 / \ --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEccT9ixf5fBYiFmoRAnF/AKCzkm4U0c+Jj0DdUkIAhYGnhYNd+ACg1S9L JnyComdtLLRNCRhvWCKlvFs= =bpEK -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI--