From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764145AbXGTHAg (ORCPT ); Fri, 20 Jul 2007 03:00:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754280AbXGTHAa (ORCPT ); Fri, 20 Jul 2007 03:00:30 -0400 Received: from lug-owl.de ([195.71.106.12]:37587 "EHLO lug-owl.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753428AbXGTHA3 (ORCPT ); Fri, 20 Jul 2007 03:00:29 -0400 Date: Fri, 20 Jul 2007 09:00:28 +0200 From: Jan-Benedict Glaw To: James Lamanna Cc: Al Boldi , linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFH] Partion table recovery Message-ID: <20070720070028.GI22998@lug-owl.de> Mail-Followup-To: James Lamanna , Al Boldi , linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org References: <200707200813.03553.a1426z@gawab.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BWWlCdgt6QLN7tv3" Content-Disposition: inline In-Reply-To: X-Operating-System: Linux mail 2.6.18-4-686 X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net X-Echelon-Enable: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll X-TKUeV: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --BWWlCdgt6QLN7tv3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 2007-07-19 22:25:49 -0700, James Lamanna wrote: > On 7/19/07, Al Boldi wrote: > > > > 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? >=20 > Tried gpart? > http://www.stud.uni-hannover.de/user/76201/gpart/ Right, gpart should be the way to go. I used that several times and it always worked great. You'll probably loose the first partition at first (it searches for filesystem signatures and may fail to find the first partition's filesystem), but it should find all the rest. Once you've written the guessed partition table, just use cfdisk (or any other fdisk you're comfy with) to create a maximum-sized partition in the first free area. Depending on the filesystem used there, you may even be able to get back the remaining data. MfG, JBG --=20 Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481 Signature of: God put me on earth to accomplish a certain numbe= r of the second : things. Right now I am so far behind I will never = die. --BWWlCdgt6QLN7tv3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGoF2MHb1edYOZ4bsRAnV+AJ9do/SO0H7Hhih8Snm7G9BKsAkMvwCfZXRg UjBO3SScnIc6hk2kP6Pznh4= =iY3R -----END PGP SIGNATURE----- --BWWlCdgt6QLN7tv3--