From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762236AbXGTLjE (ORCPT ); Fri, 20 Jul 2007 07:39:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755315AbXGTLhf (ORCPT ); Fri, 20 Jul 2007 07:37:35 -0400 Received: from [212.12.190.239] ([212.12.190.239]:33101 "EHLO raad.intranet" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750715AbXGTLh1 (ORCPT ); Fri, 20 Jul 2007 07:37:27 -0400 From: Al Boldi To: linux-raid@vger.kernel.org Subject: Re: [RFH] Partition table recovery Date: Fri, 20 Jul 2007 14:29:54 +0300 User-Agent: KMail/1.5 Cc: linux-kernel@vger.kernel.org References: <200707200813.03553.a1426z@gawab.com> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200707201429.54241.a1426z@gawab.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org James Lamanna wrote: > On 7/19/07, Al Boldi wrote: > > As always, a good friend of mine managed to scratch my partion table by > > cat'ing /dev/full into /dev/sda. I was able to push him out of the way, > > but at least the first 100MB are gone. I can probably live without the > > first partion, but there are many partitions after that, which I hope > > should easily be recoverable. > > > > I tried parted, but it's not working out for me. Does anybody know of a > > simple partition recovery tool, that would just scan the disk for lost > > partions? > > Tried gpart? > http://www.stud.uni-hannover.de/user/76201/gpart/ This definitely looks like the ticket. And also rescuept from util-linux. There is only one small problem; I have been regularly adding / deleting / resizing partitions, which kind of confuses the scanner. But still, it's better than nothing. Anton Altaparmakov wrote: > parted and its derivatives are pile of crap... They cause corruption > to totally healthy systems at the best of times. Don't go near them. > > Use TestDisk (http://www.cgsecurity.org/wiki/TestDisk) and be happy. > (-: This one really worked best, without getting confused about older partitions. Thanks everybody! BTW, what's a partion table? -- Al