*BSD News Article 46504


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans.net!dish.news.pipex.net!pipex!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Recovering del'd partitions
Date: 6 Jul 1995 23:34:56 +0100
Organization: None
Lines: 22
Message-ID: <3thoeg$knt@awfulhak.demon.co.uk>
References: <DAz05A.2Kr@emi.net>
NNTP-Posting-Host: awfulhak.demon.co.uk
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Chris May (cmay@athens.emi.net) wrote:
: Hi, I recently took over for a disgruntled employee who deleted
: the partitions on some drives on a crucial machine.  Can anyone
: suggest a utility which might be able to rebuild the partion tables?

: I've used MicroHouse's Drivepro before to rebuild fat tables, but
: I need one for drives which were formatted for FreeBSD.


: Any help would be greatly appreciated.

This was recently discussed:  You need to find out the SuperBlock magic number
of your file systems, and search the raw disk for this number.  When you
find it on a cylinder boundry, you've probably got a partition.  From this,
you can re-fdisk the disk.  It's a pain, but it's also doable.  Just remember,
until you're certain you've got things right, ALWAYS mount -r the file systems.

--
Brian <brian@awfulhak.demon.co.uk>

Don't _EVER_ lose your sense of humour....