Date: Tue, 22 Apr 1997 18:29:35 +0200 (MET) From: "Reini (Reinhold Huber)" <Reinhold.Huber@Fachschaften.TU-Muenchen.DE (Reinhold Huber)> To: freebsd-fs@freebsd.org Subject: Recreating destroyed filesystem Message-ID: <Pine.ULT.3.91.970422181716.6176E-100000@boogie.fachschaften.tu-muenchen.de>
next in thread | raw e-mail | index | archive | help
Hi! My problem: I've screwed up my disk by typing 'dd if=/dev/zero of=/dev/rsd0c count=20', which was not at all healthy to the contens of my disk. I should really have typed 'sd1' instead of 'sd0' :(. Now I've jumpered SCSI ID 0 to ID 1 and installed FreeBSD on another disk (now SCSI ID 0 / sd0). The manpages of dumpfs and fs tell me that I need to find a superblock. The questions: * Does the info the superblock contains allow to find the beginning of the partition? * How do I find the superblock? * What is where in the superblock? Aim is to get my user files back, and then using this disk for 2.2[.1]-RELEASE. I habe been using FreeBSD 2.1.0-RELEASE on the machine, installed by the /stand/sysinstall utility, using the default partition layout computed before I upgraded memory from 16 to 48 MB. Any info, including hints on manpages, webpages, FAQs, ..., is valuable for me. Thanks in advance, Reinhold Huber
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.ULT.3.91.970422181716.6176E-100000>