From owner-freebsd-questions Sun Oct 13 20:57:55 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 9045B37B406 for ; Sun, 13 Oct 2002 20:57:53 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50BD143EBE for ; Sun, 13 Oct 2002 20:57:44 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g9E3v4f13519; Sun, 13 Oct 2002 22:57:16 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021013225706.0136e5e8@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 13 Oct 2002 22:57:06 -0500 To: "Tony M." , FreeBSD-Questions@FreeBSD.ORG From: "Jack L. Stone" Subject: Re: Goofed on installing 2nd hard drive In-Reply-To: <3DAA3C93.476AD63@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 08:40 PM 10.13.2002 -0700, 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 > When you load /bin/sh, then: mount -u / mount -a -t ufs #it may gripe about the bad fstab line, but ignore it Then go to /etc/fstab and edit the file Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message