Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2002 11:56:52 -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.0212011153200.43501-100000@nollie.summersault.com>
In-Reply-To: <Pine.BSF.4.50.0212011115120.43501-100000@nollie.summersault.com>
References:  <Pine.BSF.4.50.0212011115120.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:
>
> 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/

  -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.0212011153200.43501-100000>