OpenSolaris

You are not signed in. Sign in or register.

Transition from the old mountroot setup to the new zfsboot x86 in snv_62.

  1. Assume the system is boot up on a ZFS root using the old mountroot setup.

  1. Remove the following entries in /etc/system:

    (delete from /etc/system)
    rootfs:zfs
    zfsroot:rootpool/rootfs 
    

  1. BFU to snv_62+.

  1. Copy /boot/grub/menu.lst to your top level rootpool filesystem since that is where GRUB will read the menu.lst from:

    # mkdir -p /rootpool/boot/grub (assuming rootpool is mounted on /rootpool)
    # cp /boot/grub/menu.lst /rootpool/boot/grub
    

  1. Edit /rootpool/boot/grub/menu.lst to include an entry for booting up your ZFS root filesystem:

    title Solaris ZFS
    bootfs rootpool/rootfs
    kernel$ /platform/i86pc/kernel/unix -B $ZFS-BOOTFS,console=ttya
    module$ /platform/i86pc/boot_archive
    

  1. Install the new bootloader, assuming ZFS rootpool is on c0d0s3:

    # installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s3
    

  1. Reboot. Remember to change the boot device in BIOS to where the rootpool is and select your ZFS Boot entry from the GRUB menu.