From owner-freebsd-questions Wed Mar 7 12:24:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by hub.freebsd.org (Postfix) with ESMTP id 6339837B719 for ; Wed, 7 Mar 2001 12:24:18 -0800 (PST) (envelope-from ertr1013@student.uu.se) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by mailg.telia.com (8.9.3/8.9.3) with ESMTP id VAA29973 for ; Wed, 7 Mar 2001 21:24:16 +0100 (CET) Received: from ertr1013.student.uu.se (h35n2fls20o913.telia.com [212.181.163.35]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id VAA22911 for ; Wed, 7 Mar 2001 21:24:00 +0100 (CET) Received: (qmail 63436 invoked by uid 1001); 7 Mar 2001 20:24:12 -0000 Date: Wed, 7 Mar 2001 21:24:11 +0100 From: Erik Trulsson To: Kal Torak Cc: FreeBSD-stable , FreeBSD-questions Subject: Re: Oh no... Message-ID: <20010307212411.A63107@student.uu.se> Mail-Followup-To: Kal Torak , FreeBSD-stable , FreeBSD-questions References: <3AA5EAE0.C9CEF366@quake.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AA5EAE0.C9CEF366@quake.com.au>; from kaltorak@quake.com.au on Wed, Mar 07, 2001 at 07:01:36PM +1100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. (It worked for me when I accidentally did a 'dd if=/dev/null of=/dev/ad2' once. The arguments should have been the other way around :-( Luckily the only data that got destroyed before I stopped it was part of an MSDOS partition that didn't contain anything important.) If you don't have and can't figure out that information you have a problem. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message