From owner-freebsd-questions Sun Oct 13 22:56: 6 2002 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 4FF6F37B401 for ; Sun, 13 Oct 2002 22:56:05 -0700 (PDT) Received: from dsl-64-128-185-9.telocity.com (dsl-64-128-185-9.telocity.com [64.128.185.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85E7C43E91 for ; Sun, 13 Oct 2002 22:56:04 -0700 (PDT) (envelope-from mjoyner2@hq.dyns.cx) Received: (from root@localhost) by dsl-64-128-185-9.telocity.com (8.12.6/8.11.5) id g9E5tsxw054631; Mon, 14 Oct 2002 01:55:54 -0400 (EDT) (envelope-from mjoyner2@hq.dyns.cx) Received: from ip-24.internal (ip-34.internal [192.168.2.34]) by hq.dyns.cx (8.12.6/8.11.5av) with ESMTP id g9E5pR5w054459; Mon, 14 Oct 2002 01:55:44 -0400 (EDT) (envelope-from mjoyner2@hq.dyns.cx) Received: from hq.dyns.cx (localhost [127.0.0.1]) by ip-24.internal (8.12.6/8.12.6) with ESMTP id g9E3vErG044437; Sun, 13 Oct 2002 23:57:14 -0400 (EDT) (envelope-from mjoyner2@hq.dyns.cx) Message-ID: <3DAA409A.5080908@hq.dyns.cx> Date: Sun, 13 Oct 2002 23:57:14 -0400 From: wolf User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 To: "Tony M." Cc: FreeBSD-Questions@freebsd.org Subject: Re: Goofed on installing 2nd hard drive References: <3DAA3C93.476AD63@earthlink.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG at the single user mode prompt: try this: mount / mount /usr mount /var cd /etc vi fstab ** make changes ** :w ^D Tony M. wrote: > To start - I am a total newbie to FreeBSD. > I'm using version 4.7 > > I installed a 2nd hard drive using the sysinstall, as directed by the FreeBSD > Handbook. I then added a line to the /etc/fstab, again as directed. > I apparently messed up when I added that line. Now, upon booting, I am told "THE > FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY /dev/ad1s1e (/mnt)" > > After that, I hit enter to load the shell from /bin/sh. At that point, I don't even > get a log-on prompt. I can ls the directories and move around to some extent, but I > can't figure out how to edit /etc/fstab to remove the line that I shouldn't have put > in. > > Any help would be appreciated. > > Thanks, > > Tony > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Michael Joyner FreeBSD System Administrator http://manhattan.hq.dyns.cx/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message