From owner-freebsd-stable Wed Mar 7 15:18:35 2001 Delivered-To: freebsd-stable@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 20CFF37B71A for ; Wed, 7 Mar 2001 15:18:30 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 77034 invoked by uid 100); 7 Mar 2001 23:18:29 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15014.49605.434564.15058@guru.mired.org> Date: Wed, 7 Mar 2001 17:18:29 -0600 To: Erik Trulsson Cc: Kal Torak , FreeBSD-stable , FreeBSD-questions Subject: Re: Oh no... In-Reply-To: <20010307212411.A63107@student.uu.se> References: <3AA5EAE0.C9CEF366@quake.com.au> <20010307212411.A63107@student.uu.se> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Erik Trulsson types: > On Wed, Mar 07, 2001 at 07:01:36PM +1100, Kal Torak wrote: > > Hiyas... > > > > I kinda did a fdisk -BI on my main HDD by accident... It killed > > all my partitions... I tried to get them back with sysinstall and > > the live file system, but I cant mount them and stuff... > > > > Is there some way I can get my data back? I dont care so much about > > the file systems.. But there are some files I would *LOVE* to get > > back... > > > > Any pointers would be great... > > *IF* you know exactly how large your partitions were and where they started > and ended then a bit of work with fdisk/disklabel can restore them. > You just create new entries with the same info on the disk as you had before. This is why you should print a copy of the fdisk and disklabel for the relevant disks, and save them with your backups. At one point, there was a handbook entry discussing this, but I couldn't find it last time I looked. I've had BIOSes overwrite my disklabel on DD disks. Having the information printed and ready saved my ass. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message