Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 14:06:28 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        kok Roy <roykok@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: freebsd boot
Message-ID:  <19991228140628.A45090@strontium.scientia.demon.co.uk>
In-Reply-To: <19991228033117.11989.qmail@web3202.mail.yahoo.com>
References:  <19991228033117.11989.qmail@web3202.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
kok Roy wrote:

> My harddisk are partitiioned 'NT workstation' and 'freebsd'.  I
> changed my NT partition. Then freebsd is changed from 'wd03a, d, e' to
> 'wd04a, d, e' Finally, I couldn't boot it and got the message to run
> 'fsck'

If you can get to a single user prompt, edit /etc/fstab using everyone's
favourite editor, ed. (This might fix it anyway, though you could have
been clearer about what exact messages you got.) Just do

# ed /etc/fstab
%s/wd0s3/wd0s4/g
wq
#

making a backup of fstab before you do that might be a good idea, though
it isn't the hardest file to recreate if you screw up. You may also have
to change your dumpdev setting in /etc/rc.conf if you have set it.

-- 
Ben Smithurst            | PGP: 0x99392F7D
ben@scientia.demon.co.uk |   key available from keyservers and
                         |   ben+pgp@scientia.demon.co.uk


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?19991228140628.A45090>