From owner-freebsd-questions@FreeBSD.ORG Sun Feb 15 22:50:08 2004 Return-Path: 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 44D3F16A4CE for ; Sun, 15 Feb 2004 22:50:08 -0800 (PST) Received: from hotmail.com (bay8-f82.bay8.hotmail.com [64.4.27.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EC5D43D31 for ; Sun, 15 Feb 2004 22:50:08 -0800 (PST) (envelope-from evantd@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 15 Feb 2004 22:50:08 -0800 Received: from 128.208.59.136 by by8fd.bay8.hotmail.msn.com with HTTP; Mon, 16 Feb 2004 06:50:07 GMT X-Originating-IP: [128.208.59.136] X-Originating-Email: [evantd@hotmail.com] X-Sender: evantd@hotmail.com From: "Evan Dower" To: dejan.lesjak@ijs.si Date: Sun, 15 Feb 2004 22:50:07 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 Feb 2004 06:50:08.0073 (UTC) FILETIME=[1D807390:01C3F459] cc: freebsd-questions@freebsd.org Subject: Re: Recovering Damaged Partition Table X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 06:50:08 -0000 Well, it worked mostly. I've got the partition table back and reinstalled boot0, but I must be confused about the later boot stages, because I can't get the partition I want to boot properly. I can boot from ad0s1a, but I want to boot from ad0s2a. I can mount ad0s1a and ad0s2a as well as ad0s3{d,e,f}, and everything seems to be in tact. In the bootloader, when I hit F2 to boot ad0s2a it just beeps at me. I tried to use 'bsdlabel -B /dev/ad0s2', but I must have done something wrong, because it didn't work. I also tried 'bsdlabel -B -b /current/boot/boot /dev/ad0s2' where /dev/ad0s2a is mounted on /current to no avail. What do I need to do? Thanks some more, -- Evan Dower Undergraduate, Computer Science University of Washington Public key: http://students.washington.edu/evantd/pgp-pub-key.txt Key fingerprint = D321 FA24 4BDA F82D 53A9 5B27 7D15 5A4F 033F 887D >From: Dejan Lesjak >To: Evan Dower >CC: freebsd-questions@freebsd.org >Subject: Re: Recovering Damaged Partition Table >Date: Mon, 16 Feb 2004 04:44:32 +0100 > >Evan Dower wrote: > > > So, the other day I was ripping some CDs... > > > > Upon restart, there was a message that ad0 had an unrecoverable error > > (media changed). It's a hard disk. I didn't notice any gnomes breaking > > into my computer and changing it on me. No matter. It won't boot. I > > installed FreeBSD on an empty partition of another disk, which is how I > > got to where I am now. Naturally, I have no backups. > > > > My plan is to reconstruct the partition table and then all should be >fine. > > I've determined that my files seem to be in tact using 'strings /dev/ad0 >| > > less'. It even looks like part of the partition table remains. > > > >Hello, >You can try with this utility: >http://www.stud.uni-hannover.de/user/76201/gpart/ >which is also included on knoppix live-cd >(http://www.knoppix.org/) >I just saved two NTFS partitions with it, so I hope this helps... > >Dejan _________________________________________________________________ Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/