Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2002 22:57:06 -0500
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        "Tony M." <zigner@earthlink.net>, FreeBSD-Questions@FreeBSD.ORG
Subject:   Re: Goofed on installing 2nd hard drive
Message-ID:  <3.0.5.32.20021013225706.0136e5e8@mail.sage-one.net>
In-Reply-To: <3DAA3C93.476AD63@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20021013225706.0136e5e8>