From owner-freebsd-questions Sun Dec 1 8:56:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E31337B401 for ; Sun, 1 Dec 2002 08:56:57 -0800 (PST) Received: from nollie.summersault.com (nollie.summersault.com [208.10.44.140]) by mx1.FreeBSD.org (Postfix) with SMTP id B948843EC5 for ; Sun, 1 Dec 2002 08:56:56 -0800 (PST) (envelope-from mark-dated-1039625816.3c2038@summersault.com) Received: (qmail 45036 invoked from network); 1 Dec 2002 16:56:56 -0000 Received: from localhost (HELO nollie.summersault.com) (127.0.0.1) by localhost with SMTP; 1 Dec 2002 16:56:56 -0000 Date: Sun, 1 Dec 2002 11:56:52 -0500 (EST) To: freebsd-questions@freebsd.org Subject: Re: requesting help restoring disklabel on unbootable system In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII From: Mark Stosberg X-Delivery-Agent: TMDA/0.65 (Johnstown) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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