Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 1998 11:37:51 +0930
From:      Greg Lehey <grog@lemis.com>
To:        "Stephen A. Derdau" <sderdau@xtdl.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Where is fixit instructions?
Message-ID:  <19980406113751.62042@freebie.lemis.com>
In-Reply-To: <Pine.BSF.3.91.980405192028.4689A-100000@user.xtdl.com>; from Stephen A. Derdau on Sun, Apr 05, 1998 at 07:22:37PM -0400
References:  <Pine.BSF.3.91.980405192028.4689A-100000@user.xtdl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun,  5 April 1998 at 19:22:37 -0400, Stephen A. Derdau wrote:
> Can't seem to find fixit instructions anywhere.
> I need to fix my fstab file and I cannot.
> I have boot.flp and fixit.flp.  However
> when I get to fixit not sure what to do.
> searched for awhile now looking for instructions.
> Help would be greatly appreciated.  I'm not being
> rude when I am asking.  Hope someone can help.

After mounting the fixit floppy, you should be able to run fsck
against your disk partitions and then mount them on /mnt.  Assuming
you have your root partition on /dev/sd0s1a and your /usr partition on
/dev/sd0s1e, you'd do:

 # fsck -y /dev/rsd0s1a
 # fsck -y /dev/rsd0s1e
 # mount /dev/rsd0s1a /mnt
 # mount /dev/rsd0s1e /mnt/usr
 # TERM=cons25 export TERM
 # vi /mnt/etc/fstab

You'll probably need to mount /usr as well in order to run vi.  You
may also have to set your TERM environment variable.

Greg



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?19980406113751.62042>