From owner-freebsd-questions Thu Jul 25 17:55:39 2002 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 B34A237B400 for ; Thu, 25 Jul 2002 17:55:37 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AB6243E31 for ; Thu, 25 Jul 2002 17:55:37 -0700 (PDT) (envelope-from paulbeard@mac.com) Received: from mac.com ([12.231.115.57]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020726005537.KXE24728.rwcrmhc51.attbi.com@mac.com>; Fri, 26 Jul 2002 00:55:37 +0000 Message-ID: <3D409DFC.7000500@mac.com> Date: Thu, 25 Jul 2002 17:55:24 -0700 From: paul beard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020528 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jerry McAllister Cc: questions@FreeBSD.ORG Subject: Re: restoring disklabel from an active disk? References: <200207252335.g6PNZJi16204@clunix.cl.msu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jerry McAllister wrote: > But, try looking at the disk with fdisk with no extra flags - just > the main disk name like da0 without slice info. > like 'fdisk da0' > and it will print out what it thinks the slices are. > FreeBSD slices will have a sysid of 165. > How it starts and ends will depend a little on the disk itself > unless it is a SCSI disk (then you are lucky). It sees the whole disk (partition 1) as a freebsd slice (ID=165). So redoing that would be where to start: find out where my old slice 2 needs to start, in other words, then let disklabel operate on that. -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 http://paulbeard.no-ip.org/movabletype USER, n.: The word computer professionals use when they mean "idiot." -- Dave Barry, "Claw Your Way to the Top" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message