Date: Wed, 29 Sep 2004 16:52:39 +0200 From: didi <didi@yuebing.net> To: Subhro <subhro.kar@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: corrupt disklabel, how to restore? Message-ID: <415ACC37.2090207@yuebing.net> In-Reply-To: <b2807d040409290735112e8036@mail.gmail.com> References: <415A56F2.3060300@yuebing.net> <b2807d0404092900467c5c9d20@mail.gmail.com> <415A6B0F.5000908@yuebing.net> <b2807d04040929005943cd2a5e@mail.gmail.com> <415A8436.2090205@yuebing.net> <b2807d040409290735112e8036@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <didi@yuebing.net> 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 <didi@yuebing.net> 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 <didi@yuebing.net> 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" >>>>>> >>>>> >>>>> >>>>> >>>>> >>> >>> > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?415ACC37.2090207>