Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2002 23:11:59 -0500
From:      "DaleCo, S.P.---'the solutions people'" <daleco@daleco.biz>
To:        "Tony M." <zigner@earthlink.net>, <FreeBSD-Questions@FreeBSD.ORG>
Subject:   Re: Goofed on installing 2nd hard drive
Message-ID:  <004001c27338$a6f2ad80$fa00a8c0@DaleCoportable>
References:  <3DAA3C93.476AD63@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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." <zigner@earthlink.net>
To: <FreeBSD-Questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004001c27338$a6f2ad80$fa00a8c0>