From owner-freebsd-questions@FreeBSD.ORG Thu Jun 19 20:36:55 2003 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 9A62937B423 for ; Thu, 19 Jun 2003 20:36:55 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68DED43F75 for ; Thu, 19 Jun 2003 20:36:54 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp121.sa.padsl.internode.on.net [150.101.244.120]) h5K3am7R032981; Fri, 20 Jun 2003 13:06:51 +0930 (CST) Content-Type: text/plain; charset="euc-kr" From: Malcolm Kay Organization: At home To: Ju Hyuk Park , "Ju Hyuk Park" , Date: Fri, 20 Jun 2003 13:06:47 +0930 User-Agent: KMail/1.4.3 References: <008e01c336c2$dd65d6a0$39cf693f@blue0> In-Reply-To: <008e01c336c2$dd65d6a0$39cf693f@blue0> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200306201306.47916.malcolm.kay@internode.on.net> Subject: Re: force bsdlabel? 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: Fri, 20 Jun 2003 03:36:55 -0000 On Fri, 20 Jun 2003 09:58, Ju Hyuk Park wrote: > I had this stupid problem, unused partition had offset at 63, > mounted as "ad1s1" but worked fine; however fsck or vinum > changed it to offset 0, and everything blowed up. >=20 > How do i force bsdlabel to make "partition c" to offset 63? >=20 Within disklabel partition c is the entire slice if MS slicing(partitioni= ng) is used or entire disk otherwise, and must therefore start at offset 0. I= t is=20 hard to believe it was ever 63. However the slice (that is ad1s1) itself as reported by fdisk will commonly start at an offset of 63 from the beginning of the entire disk. Does ad1s1 hold your base system? If so how do you determine the offset is changed to 0? Fixit? If it is a bsd filesystem (ufs) then it is most unlikely to have ever bee= n=20 mounted as ad1s1 (a slice) but as a number of bsd partitions:=20 ad1s1a, ad1s1e etc. If you can get into your system or through fixit please run: # fdisk ad1 and # disklabel ad1s1 and post the results here. Malcolm Kay