From owner-freebsd-questions@FreeBSD.ORG Mon Oct 16 12:53:23 2006 Return-Path: X-Original-To: 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 AC0B816A407 for ; Mon, 16 Oct 2006 12:53:23 +0000 (UTC) (envelope-from kyrreny@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2947843D62 for ; Mon, 16 Oct 2006 12:53:15 +0000 (GMT) (envelope-from kyrreny@broadpark.no) Received: from broadpark.no ([217.13.4.96]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J7800F7OBSQTB50@osl1smout1.broadpark.no> for questions@freebsd.org; Mon, 16 Oct 2006 14:53:14 +0200 (CEST) Received: from [80.202.4.61] (Forwarded-For: [80.203.212.30]) by bgo1mstore1.broadpark.no (mshttpd); Mon, 16 Oct 2006 14:53:14 +0200 Date: Mon, 16 Oct 2006 14:53:14 +0200 From: =?iso-8859-1?Q?Kyrre_Nyg=E5rd?= To: questions@freebsd.org Message-id: MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.1 HotFix 0.05 (built Oct 21 2004) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal Cc: Subject: I am such a fool! How to recover my data? 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: Mon, 16 Oct 2006 12:53:23 -0000 Hello, thanks for checking this out! My hard disk and I are in a rather tight situation right now. I believe my partition table's system ID is messed up. Other things are probably messed up too, however I have not done anything which would constitute a format of my data -- hence I hope that whatever data is still there. I believe I've been a fool. The hard drive in question is hard drive 1, a 150gb S-ATA that ran Windows XP and NTFS. Hard drive 2, same type, ran FreeBSD and UFS. I was lacking space in Windows, so I decided to format hard drive 2 into NTFS. I right clicked on My Computer, went to Manage, then Disk Management and then I did what I was suppose to do. Everything went fine. I backed up some data to hard drive 2, which was now NTFS, and enjoyed my session a little bit more before I rebooted. But then, NTLDR was missing. I figured this was because my hard drive 2 had GRUB installed allowing me to dual boot between FreeBSD and Windows. But since it was now NTFS, the MBR now suffered problems. So I figured all I had to do was to remove the FreeBSD MBR, so silly me booted the FreeBSD installation CD and pretended to do an installation, went into fdisk, selected Use entire disk, set it to system ID 6, which is FAT, and then selected Standard boot loader. I don't know what I was thinking, I hadn't eaten all day. A few steps later, the process failed, after all I didn't actually want to format or install anything. Nothing happened. Next I played around with boot0cfg -B on /dev/ad0 and /dev/ad1. Nothing happened there either. Then I went into the Windows XP setup's recovery console and did a fixmbr as well as fixboot. Still, nothing happened. I am currently running gpart /dev/ad0 from FreeSBIE, hoping I'll get lucky. Is there any chance at all I may rescue my data? All the best, Kyrre