From owner-freebsd-questions Wed Feb 10 19:03:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA06556 for freebsd-questions-outgoing; Wed, 10 Feb 1999 19:03:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA06551 for ; Wed, 10 Feb 1999 19:03:07 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id NAA12248; Thu, 11 Feb 1999 13:33:04 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id NAA81311; Thu, 11 Feb 1999 13:33:02 +1030 (CST) Date: Thu, 11 Feb 1999 13:33:02 +1030 From: Greg Lehey To: Doug Jolley Cc: questions@FreeBSD.ORG Subject: Re: Corrupted partition Message-ID: <19990211133302.A71962@freebie.lemis.com> References: <199902110258.SAA12915@footech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199902110258.SAA12915@footech.com>; from Doug Jolley on Wed, Feb 10, 1999 at 06:58:10PM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 10 February 1999 at 18:58:10 -0800, Doug Jolley wrote: > Hi -- > > I had some corrupted disk partions as a result of a power outage. > I was able to repair all but one using fsck. The one remaining > is a DOS partition; so, it isn't killing me to not have it. > However, I'd like to get it fixed. > > Here's what I get: > > # fsck -f /dev/wd1s1 > ** /dev/rwd1s1 > BAD SUPER BLOCK: MAGIC NUMBER WRONG > ioctl (GCINFO): Invalid argument > /dev/rwd1s1: can't read disk label Is this the DOS partition? You can't fix them with fsck. If Microsoft supplies any tools for file recovery, use them under a Microsoft platform. If it's a UFS partition, it looks like you're in bad shape. Try an alternate superblock; there's usually one at offset 32: # fsck -b32 -n /dev/wd1s1 Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message