From owner-freebsd-stable Wed Dec 19 11:26:31 2001 Delivered-To: freebsd-stable@freebsd.org Received: from yuha.menta.net (yuha.menta.net [212.78.128.42]) by hub.freebsd.org (Postfix) with ESMTP id A1FCC37B405 for ; Wed, 19 Dec 2001 11:26:27 -0800 (PST) Received: from gibson.menta.net ([212.78.128.22]) by yuha.menta.net (Netscape Messaging Server 4.15) with ESMTP id GOLVG103.1X4 for ; Wed, 19 Dec 2001 20:28:49 +0100 Received: from klamath.local ([62.57.120.44]) by gibson.menta.net (Netscape Messaging Server 4.15) with ESMTP id GOLV5J00.OHI for ; Wed, 19 Dec 2001 20:22:31 +0100 Received: from juli by klamath.local with local (Exim 3.33 #1 (Debian)) id 16GmOX-00008V-00 for ; Wed, 19 Dec 2001 20:28:49 +0100 Subject: Unexisting disklabel From: Julio Merino To: freebsd-stable@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 19 Dec 2001 20:28:49 +0100 Message-Id: <1008790129.398.6.camel@klamath> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all Yesterday I created a new slice in my harddrive (moving partitions around with partition magic) to install FreeBSD 4.3 (again :-). My first disk layout is more or less the following now: slice 1 - Win98 slice 2 - FreeBSD disklabel slice 3 - Linux root slice 4 - Extended (more linux partitions, swap and /home) Well, the problem is that when I boot into FreeBSD I get the following warnings each time it tries to access the partition table or the disklabel: ad0s3: rejecting BSD label: raw partition offset != slice offset ad0s3: start 13398273, end 13542794, size 144522 ad0s3c: start 8177085, end 16354169, size 8177085 ad0s3: rejecting BSD label: raw partition offset != slice offset ad0s3: start 13398273, end 13542794, size 144522 ad0s3c: start 8177085, end 16354169, size 8177085 And, as you can see, the 3rd slice contains a linux partition... I guess that it might be some disklabel information laying around from a previous freebsd installation (that got overwritten by the linux partition)... Could this be? Shouldn't it check the A5 type of the partition first? A bug? So, what is FreeBSD reading?? I've tried with the FreeBSD 4.3 kernel and then recompiled my own 4.4-stable kernel... but it still happens. I've think to do the following: store a copy of ad0s3, clear out that space with dd if=/dev/zero of=/dev/ad0s3 and then restore the contents of that slice... would this work? Thanks! -- La ignorancia es la felicidad. Julio Merino ICQ: 18961975 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message