From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 22 18:55:37 2004 Return-Path: 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 1824C16A4CE for ; Fri, 22 Oct 2004 18:55:37 +0000 (GMT) Received: from smtp2.dnainternet.net (smtp2.dnainternet.net [62.240.72.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD27743D39 for ; Fri, 22 Oct 2004 18:55:36 +0000 (GMT) (envelope-from erik.u@dnainternet.net) Received: from b-204-211.cable.kpy.customers.dnainternet.fi ([212.149.204.211]:63013smtp2.dnainternet.net with ESMTP id S1228787AbUJVSzg (ORCPT ); Fri, 22 Oct 2004 21:55:36 +0300 Message-ID: <417957A7.30602@dnainternet.net> Date: Fri, 22 Oct 2004 21:55:35 +0300 From: Erik Udo User-Agent: Mozilla Thunderbird 0.8 (X11/20041012) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Messed up my partition X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-hackers@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 18:55:37 -0000 My boot loader wansn't working properly and i didn't find my 5.2.1 install cd, so i grabbed 4.4(or is that 4.6) install cd, and chose fdisk, marked the freebsd partition bootable(S), and wrote changes. I didn't notice that it had made my about 150GB partition as 100GB(ad0s3) and 60GB(unused) partitions. After that i haven't touched the partitions, so it should be possible to retrieve the data. I had one slice on that partition and i think it is dirty, i accidently pressed the reset instead of the power button. So i heard in #freebsdhelp@EFnet that i could retrieve the data on that partition by modifying the partition table(like the beginning and the end of the partition). I dont know any probrams that could do this, how to use them or what to change. Here is some information about my HD: -200GB maxtor Offset Size(MB) End Name PType Desc Subtype Flags 0 0 62 - 12 unused 0 63 20473 41929649 ad0s1 8 freebsd 165 41929650 10236 62894474 ad0s2 7 fat 12 62894475 100361 268435454 ad0s3 8 freebsd 165 268435455 63409 398297087 - 12 unused 0 And please, answer me. this is rather important. I'll answer any questions as soon as i can. Any help is greatly appreciated.