From owner-freebsd-questions Sun Oct 11 18:08:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA15863 for freebsd-questions-outgoing; Sun, 11 Oct 1998 18:08:05 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jason05.u.washington.edu (jason05.u.washington.edu [140.142.78.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA15856 for ; Sun, 11 Oct 1998 18:08:03 -0700 (PDT) (envelope-from jcwells@u.washington.edu) Received: from saul5.u.washington.edu (root@saul5.u.washington.edu [140.142.83.3]) by jason05.u.washington.edu (8.8.4+UW97.07/8.8.4+UW98.06) with ESMTP id SAA51440; Sun, 11 Oct 1998 18:07:52 -0700 Received: from S8-37-26.student.washington.edu (S8-37-26.student.washington.edu [128.208.37.26]) by saul5.u.washington.edu (8.8.4+UW97.07/8.8.4+UW98.06) with SMTP id SAA03225; Sun, 11 Oct 1998 18:07:51 -0700 (PDT) Date: Sun, 11 Oct 1998 18:07:41 -0700 (PDT) From: "Jason C. Wells" X-Sender: jason@s8-37-26.student.washington.edu Reply-To: "Jason C. Wells" To: BEAUPRE Antoine cc: freebsd-questions Subject: Re: 2nd stupidiest thing I could ever do. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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