Wednesday, July 4, 2018

How to Install Boot Block in Solaris 10 and solaris 11


After mounting the data set, install the boot block using installboot or installgrub

SPARC
# installboot -F zfs /mnt/usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1t0d0s0

x86 systems with Solaris 10 or Solaris 11.0
# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c1t1d0s0

x86 systems with Solaris 11.1 and above

Use bootadm on x86 systems with Solaris 11.1 and above.The install-bootloader subcommand installs the system bootloader. It supersedes the functionality of installgrub on x86 as well as supporting installation of GRUB2’s bootloader on x86.

# bootadm install-bootloader -P rpool

Regards
Gurudatta N.R

No comments:

Post a Comment