Software >> OS >> Unix >> Solaris >> 11 >> How to install boot block on Solaris 11 SPARC/x86

  1. Install the boot blocks on ZFS root disk.
    • SPARC:

      # installboot /tmp/mnt/usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c2t0d0s0
    • x86:
       

      # installgrub /tmp/mnt/boot/grub/stage1 /tmp/mnt/boot/grub/stage2 /dev/rdsk/c2t0d0s0
      
      

       

  2. Install boot block on UFS root disk

    • SPARC:

      # installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/cwtxdys0

       

    • x86:  # /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/cwtxdysz