How to Install Boot Blocks Solaris

How to Install Boot Blocks for a ZFS Root  FS (rpool)


As root user run the following:
#installboot -F zfs /usr/platform/`uname i`/lib/fs/zfs/bootblk /dev/rdsk/c#t#d#s0
#init 6

 

How to Install Boot Blocks Solaris Sparc


As root user run the following:
#installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c#t#d#s0
#init 6


How to install Boot Block Solaris x86


As root user run the following:
#/sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c#t#d#s#
#init6


What are the grub stage1 and stage 2? below the explanation
/boot/grub/stage1 partition boot file.

/boot/grub/stage2 boot block code.

For each command you will need to reboot in order to check or verify that is correctly installed

#init 6





 

Comments