From owner-freebsd-geom@FreeBSD.ORG Thu Jan 21 14:22:48 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AA7E1065672 for ; Thu, 21 Jan 2010 14:22:48 +0000 (UTC) (envelope-from ac@belngo.info) Received: from mail-bw0-f214.google.com (mail-bw0-f214.google.com [209.85.218.214]) by mx1.freebsd.org (Postfix) with ESMTP id 2CCA98FC16 for ; Thu, 21 Jan 2010 14:22:47 +0000 (UTC) Received: by bwz6 with SMTP id 6so9443bwz.31 for ; Thu, 21 Jan 2010 06:22:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.16.194 with SMTP id p2mr821391bka.32.1264083766698; Thu, 21 Jan 2010 06:22:46 -0800 (PST) In-Reply-To: References: Date: Thu, 21 Jan 2010 16:22:46 +0200 Message-ID: <5709ce311001210622u43233cacw9646cc0306a6b907@mail.gmail.com> From: Alaksiej C To: BSD Life Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-geom@freebsd.org Subject: Re: geli recovery X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 14:22:48 -0000 Your data is lost. Explanation: some BIOSes do backup themselves on "unused" drives, at the end of the HDD space (Google for "Host Protected Area"). The criteria for detecting "unused" drive is first sector's contents (AFAIK): is it MBR or not. When you inserted your drive to that Windows box, BIOS decided it is not used (no MB and backed itself up to it. As GELI's control block is residing at the end of encrypted container, it is gone forever. So, it's neither GELI's nor Windows bug, it is just dangerous BIOSes' feature. -- Best regards, Alaksiej On Thu, Jan 21, 2010 at 3:16 PM, BSD Life wrote: > Hi, > you are right, there should be no partition table at all .. > > # dd if=/dev/ada0 bs=512 skip=976773167 | hd > 1+0 records in > 1+0 records out > 512 bytes transferred in 0.000687 secs (745137 bytes/sec) > 00000000 24 47 41 46 52 10 41 08 00 00 00 00 00 00 00 00 |$GAFR.A.........| > 00000010 00 00 00 00 00 00 00 00 00 00 ef 57 38 3a 00 00 |...........W8:..| > 00000020 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 |................| > 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| > * > 00000100 21 30 36 2f 32 39 2f 32 30 30 37 2d 50 33 35 2d |!06/29/2007-P35-| > 00000110 49 43 48 39 2d 36 41 37 39 4f 47 30 4e 43 2d 30 |ICH9-6A79OG0NC-0| > 00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| > * > 00000200 > > This doesn't look like to be from geli. > Any ideas? > _______________________________________________ > freebsd-geom@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" >