From owner-freebsd-questions Thu Jun 6 11:45:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by hub.freebsd.org (Postfix) with ESMTP id 16FBF37B404 for ; Thu, 6 Jun 2002 11:45:00 -0700 (PDT) Received: from pc-02 (pc02.ekahuna.com [198.144.200.197]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com; Thu, 6 Jun 2002 11:44:58 -0700 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: questions@FreeBSD.ORG Date: Thu, 6 Jun 2002 11:44:58 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: slice/partition/disklabel/disk copy question Reply-To: pjklist@ekahuna.com Cc: Axel Scheepers In-reply-to: <20020606155541.L67863@mars.thuis> References: <20020606011859428.AAA484@empty1.ekahuna.com@pc02.ekahuna.com>; from pjklist@ekahuna.com on Wed, Jun 05, 2002 at 06:18:59PM -0700 X-mailer: Pegasus Mail for Win32 (v3.12c) Message-ID: <20020606184458205.AAA510@empty1.ekahuna.com@pc02.ekahuna.com> 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 On 6 Jun 2002, at 15:55, Axel Scheepers boldly uttered: > On Wed, Jun 05, 2002 at 06:18:59PM -0700, Philip J. Koenig wrote: > > (perhaps because I split the DOS partition onto a smaller separate > > logical drive and now the slice offset is different) > > heh, indeed there it went wrong. > > > > > Anyway I booted up with the fixit CD, was going to install booteasy > > on the MBR of logical disk 1, but I noticed the following repeated > > several times in dmesg and wondered if its likely I can just change > > the disklabel and fix this? (ie change the slice offset?) Newlines > > added for readability: > > Yes. Change the values to the new ones. That should make things normal > again. So do you have any hints on this? IE, is there a way I can just reset the beginning partition offset (ie for amrd1c or amrd1s2c) and everything else just "moves to the left", or do I have to re- calculate all the numbers and re-create the whole disklabel from scratch? If the latter I have a feeling something will go wrong. (As it is, I rarely use disklabel, I usually use the more user-friendly version in sysinstall instead.) Here's part of the output of "disklabel -r /dev/amrd1s2": [...] 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 409600 417690 4.2BSD 2048 16384 97 # (Cyl. 26 - 51*) b: 1024000 827290 swap # (Cyl. 51*-115*) c: 17510850 417690 unused 0 0 # (Cyl. 26 - 1115) e: 2048000 1851290 4.2BSD 2048 16384 90 # (Cyl. 115*- 242*) f: 2048000 3899290 4.2BSD 2048 16384 90 # (Cyl. 242*- 370*) g: 11981250 5947290 4.2BSD 2048 16384 89 # (Cyl. 370*- 1115*) partition c: partition extends past end of unit Warning, partition c dosn't start at 0! Warning, An incorrect partition c may cause problems for standard system utilities partition g: partition extends past end of unit -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message