Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 1999 13:33:02 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Doug Jolley <doug@footech.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Corrupted partition
Message-ID:  <19990211133302.A71962@freebie.lemis.com>
In-Reply-To: <199902110258.SAA12915@footech.com>; from Doug Jolley on Wed, Feb 10, 1999 at 06:58:10PM -0800
References:  <199902110258.SAA12915@footech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990211133302.A71962>