Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 1998 18:07:41 -0700 (PDT)
From:      "Jason C. Wells" <jcwells@u.washington.edu>
To:        BEAUPRE Antoine <beaupran@JSP.UMontreal.CA>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: 2nd stupidiest thing I could ever do.
Message-ID:  <Pine.BSF.4.02A.9810111759490.2942-100000@s8-37-26.student.washington.edu>
In-Reply-To: <Pine.SGI.3.96.981011161938.19300A-100000@derby.jsp.umontreal.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 11 Oct 1998, BEAUPRE Antoine wrote:

>Hi.
>
>Believe it or not, I just did newfs /dev/wd0s2 . wd0s2 is where FreeBSD is
>on my system... Now the root partition is gone, and I only hope that the
>others are still there... I think so because newfs took about one or 2

I just saw this. There may be more you can do.

The other filesystems should still be there. Are you certain that you did
not newfs /dev/wd0s2c (the entire slice) ?

Do you have the source on your system? If so, it is in /usr/src. You can
reinstall source if you can just get a bootable kernel. You will need some
build tools. I don't know if boot.flp has cc and such.

When re-newfsing the root partition ensure that it does not run into the
next partition.

Have you done a recent "make world"? If so, all of your binarries are
already there. You can just do "make installworld" with out building.

Maybe I am stretching, but you should be able to get that partition back
without clobbering the others. If you can get the right compile tools you
can pull off a 'make world' to reinstall.

(I have never done any of this. :) Here is a grain of salt. )

Catchya Later, | UW Mechanical Engineering 
Jason Wells | http://weber.u.washington.edu/~jcwells/


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?Pine.BSF.4.02A.9810111759490.2942-100000>