Skip site navigation (1)Skip section navigation (2)
Date:      19 Dec 2001 20:28:49 +0100
From:      Julio Merino <juli@merino.net>
To:        freebsd-stable@freebsd.org
Subject:   Unexisting disklabel
Message-ID:  <1008790129.398.6.camel@klamath>

next in thread | raw e-mail | index | archive | help
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 <juli@merino.net> ICQ: 18961975

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1008790129.398.6.camel>