From owner-freebsd-questions@FreeBSD.ORG Mon Aug 7 20:40:43 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 1886A16A4DE for ; Mon, 7 Aug 2006 20:40:43 +0000 (UTC) (envelope-from backyard1454-bsd@yahoo.com) Received: from web83110.mail.mud.yahoo.com (web83110.mail.mud.yahoo.com [216.252.101.39]) by mx1.FreeBSD.org (Postfix) with SMTP id 81B3543D46 for ; Mon, 7 Aug 2006 20:40:42 +0000 (GMT) (envelope-from backyard1454-bsd@yahoo.com) Received: (qmail 63599 invoked by uid 60001); 7 Aug 2006 20:40:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=cvx581e4q4k5fG8+LSiK8mOxPwsWPPFZhuxrEiUJCYIlL2992GCyCjX3oPEHywxC9RfkFEw5+54X2umZjlaUm2UsGXsX1csfPcNJGIyaqUHV0ih0Xuvi7Ia1Sj6RMo6jq2xGMyP7IDFPGsGEJ5C50G13HSXx442XYkT+cFUTSlg= ; Message-ID: <20060807204041.63597.qmail@web83110.mail.mud.yahoo.com> Received: from [63.240.228.37] by web83110.mail.mud.yahoo.com via HTTP; Mon, 07 Aug 2006 13:40:41 PDT Date: Mon, 7 Aug 2006 13:40:41 -0700 (PDT) From: backyard To: micman , freebsd-questions In-Reply-To: <200608072226218920551@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: /etc/fstab error and I can't start the system normally X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: backyard1454-bsd@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2006 20:40:43 -0000 --- micman wrote: > Hello. > > PROBLEM > I tried and configured FreeBSD 6.1 for many days and > I mounted my FAT extended partition to exchange my > files between Windows and my new Operating System. > That was OK. After I tried to mount automatically at > boot this partition and I make an error (grammatical > error): I wrote “acd0s5” instead of “ad0s5” in > /etc/fstab. > Now, when I start the system, I receive this message > at the end of the boot process: > "Can't open (No such file or directory) > /dev/acd0s5: UNEXPECTED INCONSISTENCY; RUN > fsck_msdosfs MANUALLY. > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED > INCONSISTENCY: > msdosfs: /dev/acd0s5 (/mnt/win) > Automatic file system check failed; help! > Aug 7 20:08:07 int: /bin/sh on /etc/rc terminated > abnormally, going to single user mode > Enter full pathname of shell or RETURN for /bin/sh:" > > QUESTIONS > Can I rewrite the file /etc/fstab in text mode? > If it's possible, how can I do this? > > I tried fsck_manually and also to boot by option '6' > ("Escape to loader") but I was not able to resolve > the problem. > If someone can help me, thank you. > "freebsd-questions-unsubscribe@freebsd.org" get into a console maybe by booting single user. remote root as read/write you may or may not have to remount root as write but... mount -u / ee /etc/fstab fix the error hit [esc] cc [esc] a and you should be good to go. hope that helps -brian