From owner-freebsd-questions Sun Oct 13 21:20:51 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 6923B37B401 for ; Sun, 13 Oct 2002 21:20:49 -0700 (PDT) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB19C43EB2 for ; Sun, 13 Oct 2002 21:20:48 -0700 (PDT) (envelope-from daleco@daleco.biz) Received: from DaleCoportable [12.145.226.28] by mail.gbronline.com (SMTPD32-7.13) id A5C51EB500D4; Sun, 13 Oct 2002 23:19:17 -0500 Message-ID: <004001c27338$a6f2ad80$fa00a8c0@DaleCoportable> From: "DaleCo, S.P.---'the solutions people'" To: "Tony M." , References: <3DAA3C93.476AD63@earthlink.net> Subject: Re: Goofed on installing 2nd hard drive Date: Sun, 13 Oct 2002 23:11:59 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Hi, Tony... Your box has booted in "single user" mode. The only filesystem that is mounted is likely / Your environment variables are not set, so you can't call things normally...you have no path. Try calling /bin/ed /etc/fstab in order to invoke the 'ed' editor on the fstab file, or find another editory in /bin or /sbin. "ee", or other editors, are probably on /usr and can't be accessed. What you need to do to recover from the "unexpected inconsistency" is to run "fsck", probably with the -p option. I forget if it's in /bin or /sbin, and my bandwidth right now is being used almost totally so I can't shell in to check manpages or do a "whereis." Try some of this, I'll check back on you later to see what's up. Kevin Kinsey, a (somewhat-recent) newbie.... DaleCo, S.P. ----- Original Message ----- From: "Tony M." To: Sent: Sunday, October 13, 2002 10:40 PM Subject: Goofed on installing 2nd hard drive > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message