Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2002 00:20:30 +0300
From:      Tomi Vainio - Sun Finland - <Tomi.Vainio@Sun.COM>
To:        obrien@FreeBSD.ORG
Cc:        freebsd-sparc@FreeBSD.ORG
Subject:   Re: Preserving Solaris disklabel when installing FreeBSD?
Message-ID:  <15547.17438.866488.79313@gargle.gargle.HOWL>
In-Reply-To: <20020413003935.B34470@dragon.nuxi.com>
References:  <15543.20405.653991.106466@gargle.gargle.HOWL> <20020413003935.B34470@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien writes:
 > 
 > It is my understanding Solaris can boot from any partition (SVR4 slice).
 > I wonder if you can install Solaris -- creating 4 partitions 'a', 'b',
 > 'c', 'h' (SVR4 slices 0,1,2,6).  Use 'h' for Solaris /, swap to 'b'.
 > Then boot the Solaris install and untar the FreeBSD bits into the 'a'
 > partition.
 >
I've installed Solaris to 'd' and swap to 'b'.  There is also 'a'
where I preserved space for FreeBSD.  I don't understand how FreeBSD could
understand Solaris fs on 'a' or vice versa to do this untar?

Here is what Solaris can see now

  0       root    wm       0 -  8295        3.99GB    (8296/0/0)   8362368
  1       swap    wu    8296 -  9336      512.37MB    (1041/0/0)   1049328
  2     backup    wu       0 - 17659        8.49GB    (17660/0/0) 17801280
  3 unassigned    wm    9337 - 17659        4.00GB    (8323/0/0)   8389584
  4 unassigned    wm       0                0         (0/0/0)            0
  5 unassigned    wm       0                0         (0/0/0)            0
  6        usr    wm       0                0         (0/0/0)            0
  7 unassigned    wm       0                0         (0/0/0)            0

 > I assume the Solaris bootbocks will be at sector 0, before the label?
 > Will the Solaris bootblocks load the FreeBSD '/boot/boot1'
 > (ok boot disk0:a /boot/boot1)?
 > 
VTOC sits on sector 0 and sectors 1-15 are for bootblock.  Secondary
bootfile name (ufsboot) is hardcoded into bootblock code and the full path
name for ufsboot is /platform/<arch>/ufsboot

I think the file name you write on obp is passed to ufsboot and the
default is /platform/<arch>/kernel/unix

  Tomppa

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?15547.17438.866488.79313>