From owner-freebsd-questions@FreeBSD.ORG Thu Mar 9 14:29:31 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A51216A420 for ; Thu, 9 Mar 2006 14:29:31 +0000 (GMT) (envelope-from jofsama@yahoo.com) Received: from smtp006.mail.ukl.yahoo.com (smtp006.mail.ukl.yahoo.com [217.12.11.95]) by mx1.FreeBSD.org (Postfix) with SMTP id DA63943D48 for ; Thu, 9 Mar 2006 14:29:30 +0000 (GMT) (envelope-from jofsama@yahoo.com) Received: (qmail 7648 invoked from network); 9 Mar 2006 14:29:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:Importance:In-Reply-To:X-MimeOLE; b=27XLHAMQu8od2LDy6uVxZIEMu1rOBK9G3UVYjT6VxShmhncKpvPP69NOe5zt7bfGP/0yrIbr+wQaBDmHgOyirO83r6LhBYiub4K8m2kTPTVads7C/rPZSFYeBhMB7e6smmU6/dmQjhBXW0EkAKFbWEYsZVD+MZ9eWvgamwIh3LA= ; Received: from unknown (HELO HAPLO) (jofsama@220.107.17.136 with login) by smtp006.mail.ukl.yahoo.com with SMTP; 9 Mar 2006 14:29:25 -0000 From: "Jarrod O'Flaherty" To: Date: Thu, 9 Mar 2006 23:31:05 +0900 Message-ID: <000001c64386$1dfd3550$040ba8c0@HAPLO> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal In-Reply-To: <20060305211729.EB6F716A430@hub.freebsd.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: Help with lost MBR on USB HDD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 14:29:31 -0000 [Apologies. Posting again with thread header.] For those who might be interested... > Message: 26 > Date: Sun, 05 Mar 2006 13:46:30 -0500 > From: Gerard Seibert > Subject: Re: Help with lost MBR on USB HDD > To: freebsd-questions@freebsd.org > Message-ID: <20060305134300.75D1.GERARD@seibercom.net> > Content-Type: text/plain; charset="UTF-8" > > Jarrod O'Flaherty wrote: > > > And last but not least, I really hope someone can tell me how I can > > salvage my MBR & other 3 partitions. If that is not possible, then > > perhaps you can point me in the direction of a tool which will > > salvage the files on the lost slices? There's not heaps of data > > there, only around 20 GB or so across all three. But if I can, I'd > > really like to get it back. I'm hoping NTFS is robust enough to > > allow salvaging like this? > > > > Any and all help GREATLY appreciated!! > > > > Thankyou, > > Jarrod. > > I know you do not want to hear this, but why on earth did you > attempt to mess with the HD without a full backup in place first? > > I am not sure if you can recover the lost data. If not, this would be > a good time to wipe the disk clean and partition it to your liking. I > believe that you will have to install Windows before installing > FreeBSD. > > Good Luck! > -- > Gerard > I've done a lot of reading the last couple of days into the MBR and the like. Have to say it's a tad tough going, but quite a bit of fun at the same time. ;) Gerard, yes, this would be a good opportunity to wipe it and start again. If only it wasn't for those MP3s. ;) For those who couldn't read my last email because it was rather a bit too long, the short of it is that FDISK fried my USB HDD's MBR when I asked it to change a partition type's from NTFS to FreeBSD. Why did this happen? Does anyone have a large (blank!) USB HDD that they could experiment with? It would be great to see if this problem is replicable on FreeBSD. If so, I would suggest that a PR needs to be raised against FDISK. For anyone in the distant future who perhaps has trouble with their MBR and/or partitions I've found a stack of great literature on the web I'd be more than happy to post up. Also, tools that you might be interested in in order to "investigate" things are: - dskprobe.exe (WinNT / XP "Support Tool" for hex viewing disk) - dd (Data [File] dumping tool in Linux / BSD) - hd (Pretty print tool -- used with dd it apparently gets similar results to Dskprobe.exe) - gpart (Partition search and retrieval tool -- not yet tried myself) - part.exe (Ranish Partition Manager tool -- runs under DOS) They would be the main ones thus far. Anyone know of anything else I should be checking out? As it is, now that I am armed to the teeth, I hope to find out how much damage my USB HDD suffered, and then hopefully patch up the MBR and/or Logical Drives I lost. Keep you all posted. Cheers, Jarrod.