From owner-freebsd-questions Mon Sep 27 10:30:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dmitrov.ru (dmitrov.ru [195.161.147.1]) by hub.freebsd.org (Postfix) with ESMTP id 751AE14CF2 for ; Mon, 27 Sep 1999 10:30:00 -0700 (PDT) (envelope-from skiller@dmitrov.ru) Received: (from skiller@localhost) by dmitrov.ru (8.7.5/8.7.5) id VAA62119; Mon, 27 Sep 1999 21:29:33 +0400 (MSD) From: "Oleg L. Tortseff" Message-Id: <199909271729.VAA62119@dmitrov.ru> Subject: Re: Problem with repearing damaged filesystem! In-Reply-To: <19990925092638.Z54407@freebie.lemis.com> from Greg Lehey at "Sep 25, 1999 9:26:38 am" To: grog@lemis.com (Greg Lehey) Date: Mon, 27 Sep 1999 21:29:33 +0400 (MSD) Cc: freebsd-questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Greg! > > run fsck on /dev/wd3c > > Oleg's error message indicates that the file label is so messed up > that he can't even read it. This is bad stuff. Not at all. When I'm booting from fixit floppy I CAN read label, but it is empty! Step-by-step: Fixit# disklabel -r /ev/rwd3 # /dev/rwd3: type: unknown disk: amnesiac label: flags: ...some sh#t about HDD... 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 6185088 0 unused 0 0 # (Cyl. 0 - 6135) In fact, label is really empty (I saw it in 1-st physical sector). I don't know who and how made it, but i need to repear that HDD. In man pages I saw something about in-core label... I wanna drag it from, and drop it in 1-st physical sector, if it possible. Were? In which sector, kernel offset, or something else, I may find it? With best wishes. Oleg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message