From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 14 03:54:58 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE0DB16A41A for ; Wed, 14 Jun 2006 03:54:58 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from samus.cyberbotx.com (cyberbotx.com [70.88.125.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F7EC43D48 for ; Wed, 14 Jun 2006 03:54:58 +0000 (GMT) (envelope-from cyberbotx@cyberbotx.com) Received: from localhost (localhost [127.0.0.1]) by samus.cyberbotx.com (Postfix) with ESMTP id 84D99C207; Tue, 13 Jun 2006 23:54:57 -0400 (EDT) X-Virus-Scanned: amavisd-new at cyberbotx.com Received: from samus.cyberbotx.com ([127.0.0.1]) by localhost (samus.cyberbotx.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9b1MboTk83s6; Tue, 13 Jun 2006 23:54:31 -0400 (EDT) Received: from metroid (c-68-61-58-20.hsd1.mi.comcast.net [68.61.58.20]) by samus.cyberbotx.com (Postfix) with SMTP id 76D45C1B1; Tue, 13 Jun 2006 23:54:30 -0400 (EDT) Message-ID: <00cf01c68f66$3de93e50$fe02a8c0@metroid> From: "Naram Qashat" To: "Eric Anderson" , References: <61325.10.20.200.100.1150219994.squirrel@10.20.200.100> Date: Tue, 13 Jun 2006 23:54:30 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Cc: Subject: Re: fdisk partition / disklabel recovery (help!) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 03:54:58 -0000 You've also got the choice of using the program testdisk in sysutils/testdisk to try to fix your problem. It helped me when I accidently hosed the MBR and partition table on one of my drives. Naram Qashat ----- Original Message ----- From: "Eric Anderson" To: Sent: Tuesday, June 13, 2006 01:33 PM Subject: fdisk partition / disklabel recovery (help!) > >From the subject, you probably already know my dilemma. After booting a > linux livecd (I'll refrain from naming the distro), my laptop no longer > has any partitions. Now, the drive was not newfs'ed with any other OS, so > I believe only the boot loader and partitioning are messed up. I see an > ffsrecov tool, that could probably help me, but I want to make sure I > don't make any bad decisions here. > > So, my partitioning was something like: > ad0 > ad0s1 DOS > ad0s2 ?? > ad0s3 ?? > ad0s4 Linux root / swap > > FreeBSD was on either ad0s2 or ad0s3, I can't recall which, but I believe > it was ad0s3. I had 3 partitions (/, /alt, /home) and a swap. > > I'm running the ffsrecov tool now, but it appears to be very slow chugging > through the disk. > > Is there any additional ways I can find the partitioning scheme, or find > the bsdlabel's on the disk? Does anyone know of a command line (dd+some > tools/perl/etc) way to find the bsdlabels? > > Once the bsdlabels are found, then what? > > Also - if I rewrite the bsdlabel exactly as it was before, I should be in > business, correct? > > I'm in a very bad spot without this machine (happened at a particularly > in-opportune time also, of course), so I'd appreciate any help anyone > could provide. > > Thanks in advance! > Eric > > > > -- > ------------------------------------------------------------- > Eric Anderson anderson@centtech.com Centaur Technology > You have my continuous partial attention > ------------------------------------------------------------- > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"