Date: Sun, 1 Dec 2002 20:53:06 -0500 (EST) From: Mark Stosberg <mark@summersault.com> To: freebsd-questions@freebsd.org Subject: Re: requesting help restoring disklabel on unbootable system Message-ID: <Pine.BSF.4.50.0212012051040.71967-100000@nollie.summersault.com> In-Reply-To: <Pine.BSF.4.50.0212011153200.43501-100000@nollie.summersault.com> References: <Pine.BSF.4.50.0212011115120.43501-100000@nollie.summersault.com> <Pine.BSF.4.50.0212011153200.43501-100000@nollie.summersault.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 1 Dec 2002, Mark Stosberg wrote: > On Sun, 1 Dec 2002, Mark Stosberg wrote: > > > > After an unfortunate sequence of events, my newly successfully upgraded FreeBSD 4.7 > > machine would not boot anymore and gave me a "boot:" prompt. Returning > > to the install CD disklabel program, I saw that the only partition it > > seemed be to finding was the swap partition. > > > > I recreated and wrote to disk what I thought was the old disk > > partitioning scheme (being careful not to newfs anything). After that, > > the system would boot off the drive, but would not mount /usr, /var or > > /tmp due to complains of "bad super block: magic number wrong". I > > suspect that I guessed my partition sizes wrong. > > I have a lead on solving this now. I found a tool called "find-sb" > which finds superblocks, and seemed like it could be used to make a > smarter guess about what my partition sizes should be. The trouble is, > now I'm scratching my head about how to this tool installed in a useable > state on the system since I can't boot fully in the first place. > > "find-sb": > http://gatekeeper.dec.com/pub/BSD/FreeBSD/FreeBSD-current/src/tools/tools/find-sb/ I downloaded "find-sb" and the associated Makefile, but running "make" failed with many errors on FreeBSD 4.7. I eventually addressed the issue by installing 4.7 on a new disk and restoring from backup. I still have the old disk at this point if any one has ideas how to make it functional again. -mark http://mark.stosberg.com/ 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.50.0212012051040.71967-100000>