Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 12:58:47 -0700 (PDT)
From:      Gordon Tetlow <gordont@gnf.org>
To:        Tomi Vainio - Sun Finland - <Tomi.Vainio@Sun.COM>
Cc:        obrien@FreeBSD.ORG, <freebsd-sparc@FreeBSD.ORG>
Subject:   Re: Preserving Solaris disklabel when installing FreeBSD?
Message-ID:  <Pine.LNX.4.44.0204191255180.27481-100000@smtp.gnf.org>
In-Reply-To: <15547.19012.467708.838750@gargle.gargle.HOWL>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Apr 2002, Tomi Vainio - Sun Finland - wrote:

> David O'Brien writes:
>  > 
>  > FreeBSD with a GEOM kernel can understand a Solaris FFS.  A non-GEOM
>  > kernel can also, but fsck is deadly.  At this point, though all you care
>  > about is that FreeBSD can understand a Solaris disk label.  You can now
>  > boot the ISO and install FreeBSD onto 'a'.
>  > 
> There has to be a problem with DP1 kernel (missing options?) because
> FreeBSD can't read disklabel or mount 'a' ?
> 
> # disklabel -r ad0
> disklabel: bad pack magic number (label is damaged, or pack is unlabeled)
> # mount /dev/ad0a /mnt
> mount: /dev/ad0a on /mnt: incorrect super block

I think what David is trying to say is, you need to partition your disk
using the Solaris disktools. Once you have it setup they way you want it
(ie install Solaris with partitions set aside for FreeBSD), you boot a
FreeBSD/sparc64 cd and do the install into the already set aside partition
(from the Solaris install). You don't use the FreeBSD disklabel tool at 
all, as it doesn't read Solaris disklabels. While the kernel is smart 
enough to know about it, that logic hasn't made it into the disklabel 
userland tool.

-gordon


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0204191255180.27481-100000>