From owner-freebsd-questions@FreeBSD.ORG Sat Dec 4 16:20:56 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 9145716A4CE for ; Sat, 4 Dec 2004 16:20:56 +0000 (GMT) Received: from web50710.mail.yahoo.com (web50710.mail.yahoo.com [206.190.38.251]) by mx1.FreeBSD.org (Postfix) with SMTP id 1A52D43D5E for ; Sat, 4 Dec 2004 16:20:56 +0000 (GMT) (envelope-from weyrich_comp@yahoo.com) Received: (qmail 10197 invoked by uid 60001); 4 Dec 2004 16:20:55 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=e4gZ4V5LllaIE5ul9fU7ZIYss+ttJADfuyWiKifhbCcREir84l9tZql8yisTW/yAVipnMj1Z3KTfyinE5KBqXRFbSTd/GsWniC/d9rpHRD9JgfpwfFhpB4aGfiC+0Ei2v34l7KHsQa1Nwo1sp+FQYzsJ2mQc8ty1m8a9urkPrSo= ; Message-ID: <20041204162055.10195.qmail@web50710.mail.yahoo.com> Received: from [64.249.12.251] by web50710.mail.yahoo.com via HTTP; Sat, 04 Dec 2004 08:20:55 PST Date: Sat, 4 Dec 2004 08:20:55 -0800 (PST) From: orville weyrich To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: FDISK Woes 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: Sat, 04 Dec 2004 16:20:56 -0000 I did a stupid thing and zapped my system FreeBSD 4.3 system disk (/dev/ad0) with FDISK and Label (in /stand/sysinstall)instead of zapping /dev/da0 that I intended to do. Needless to say, my system got sick. I have built a new FreeBSD 4.10 system on another disk and have the old (zapped) system disk installed in the system (but not mounted). Is there a way to reconstruct the disk label? (I need to find the locations of the / (ad0s1a), /usr (ad0s1f), and /var (ad0s1e), and then write a suitable disk label without destroying the data on the disk. I feel so dumb doing this, but it seems strange that FDISK would allow me to zap the label of a mounted disk. Anyway, please help me save my system! TIA orvile. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com