> I have Solaris 10 installed on 1 HDD, which I would
> like to keep.  Is it possible to install and dual
> boot OpenSolaris on a second HDD on the same
> machine?

Is Solaris 10 installed using a zfs root?

With some manual steps it should be possible to
boot from an opensolaris zfs root, from the same
HDD that is used for the S10 root pool. 

I'm using something like this to dual boot
SX:CE and OpenSolaris from a single HDD:

- boot from the opensolaris livecd, and install
  to a temporary hdd, e.g. a usb storage device

- when the opensolaris livecd installer is done,
  reboot from the livecd into s10

- in s10, zpool import the temporary hdd.

  In case both pools use the name "rpool", you
  have to import the temporary hdd using an
  alternate name, e.g.
   zpool import -f {id_of_opensolaris_zpool} rpool2

- create a snapshot on the temporary hdd's root
  zfs filesystem and copy it to your s10 root pool:

    zfs snapshot rpool2/ROOT/opensolaris at backup
    zfs send rpool2/ROOT/opensolaris at backup | zfs recv rpool/ROOT/opensolaris

- edit /rpool/boot/grub/menu.lst
  create a new grub boot entry for opensolaris,
  using the "bootfs rpool/ROOT/opensolaris" option.
  Something like this

    title OpenSolaris 2009.06 snv_111 X86
    bootfs rpool/ROOT/opensolaris
    findroot (pool_rpool,0,a)
    kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
    module$ /platform/i86pc/$ISADIR/boot_archive

  (swap and dump zvols should be shared between
  solaris / opensolaris)

- reboot, and select the opensolaris grub
  boot entry.  This should complete the opensolaris
  installation.


Note: when using the same zpool from multiple os versions,
make sure *not* to zpool upgrade the on disk format to newer
version from the newer os releases, otherwise the older 
os releases won't be able to access the pool!
-- 
This message posted from opensolaris.org

Reply via email to