From owner-freebsd-questions@FreeBSD.ORG Wed Sep 29 14:52:43 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 2D33316A4CE for ; Wed, 29 Sep 2004 14:52:43 +0000 (GMT) Received: from paf.se (argv.paf.se [195.66.31.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B0343D4C for ; Wed, 29 Sep 2004 14:52:42 +0000 (GMT) (envelope-from didi@yuebing.net) Received: from [213.88.236.3] (account didi@yuebing.net HELO yuebing.net) by paf.se (CommuniGate Pro SMTP 4.2b1) with ESMTP id 1847682; Wed, 29 Sep 2004 16:52:41 +0200 Message-ID: <415ACC37.2090207@yuebing.net> Date: Wed, 29 Sep 2004 16:52:39 +0200 From: didi User-Agent: Mozilla Thunderbird 0.5 (X11/20040429) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Subhro References: <415A56F2.3060300@yuebing.net> <415A6B0F.5000908@yuebing.net> <415A8436.2090205@yuebing.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Questions Subject: Re: corrupt disklabel, how to restore? 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: Wed, 29 Sep 2004 14:52:43 -0000 Ok, thanks I managed to rescue my disk from /usr/sbin/sysinstall Freebsd Disklabel Editor in combination with fdisk. It automatically fsck'd my filesystem in write of disklabel... Thanks :) -d Subhro wrote: > Y means a new file system would be created > > Regards > S. > > > On Wed, 29 Sep 2004 11:45:26 +0200, didi wrote: > >>Does : >> >>UFS2+S N >> >>in "freebsd disklabel editor" >> >>mean that no newfs will be created i.e that only the disklabel will be >>written and the acyual filesystem be left alone? >> >>as opposed to >> >>UFS+S Y >> >>? >> >>d-tail >> >>(I'm a bit worried :| ) >> >> >> >> >>Subhro wrote: >> >>>There is a key for toggling new filesystem. Probably Y..... sorry >>>don't rember it. >>> >>>Regards >>>S. >>> >>> >>>On Wed, 29 Sep 2004 09:58:07 +0200, didi wrote: >>> >>> >>>>It's partitioned and mounted from sysinstall in 5.2.1 >>>> >>>>And the machine rins 5.2.1 again :( >>>> >>>>So, I guess I could: >>>> >>>>use fdisk and/or disklabel from within sysinstall again. But how do I >>>>prevent sysinstall from making 'newfs' ? >>>> >>>>Thanks & Regards D-tail >>>> >>>> >>>> >>>> >>>>Subhro wrote: >>>> >>>> >>>>>If you have partitioned your disk as UFS2, then there is no way in >>>>>which you can access them running 4.10. >>>>> >>>>>Regards >>>>>S, >>>>> >>>>> >>>>>On Wed, 29 Sep 2004 08:32:18 +0200, didi wrote: >>>>> >>>>> >>>>> >>>>>>I did what you shouldn't do. I have two disks one 80gb and one 100gb >>>>>>I was not happy with FreeBSD 5.2.1 so I downgraded to 4.10. >>>>>>Problem is the disklabel on my second drive somehow got corrupt, on this >>>>>>drive i backed up all home/* folders etc and so on, but now I can't get >>>>>>to my backup. >>>>>>I really need a way to restore the disklabel. >>>>>> >>>>>>I have tried scan_ffs with no result is there any other way, >>>>>> >>>>>>The disk was mounted as ad1s1d one large slice. >>>>>> >>>>>>Any information could be usefull >>>>>>_______________________________________________ >>>>>>freebsd-questions@freebsd.org mailing list >>>>>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>>>>> >>>>> >>>>> >>>>> >>>>> >>> >>> > > >