*BSD News Article 73229


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!zib-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Bad partition table. Fixable?
Date: 9 Jul 1996 07:34:32 GMT
Organization: Private BSD site, Dresden
Lines: 21
Message-ID: <4rt228$4fl@uriah.heep.sax.de>
References: <4rphtj$77n@polo.iquest.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

dougal@vespucci.iquest.com (Dougal Campbell) wrote:

> I've got a disk that suddenly has a bad partition table. Is there any
> way to fix this without losing the data on the filesystem?

partition table?  Do you mean fdisk (which we call `slices'), or BSD
partitions (from the disklabel)?

Anyway, as long as nothing more has been damaged, and you happen to
know the exact locations of your partitions on the disk, you should be
able to resurrect either of both tables without losing data.  The key
point is whether your file system data are still intact, and whether
you manage it to create new tables that point to the exact same
locations as the original ones did.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)