Become superuser or assume an equivalent role.
Install a boot block on the system disk.
For a UFS root file system:
# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/cwtxdys0 |
Is the boot block code.
Is the raw device of the root (/) file system.
For a ZFS root file system:
# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/cwtxdys0 |
Is the boot block code.
Is the raw device of the root (/) file system.
For more information, see installboot(1M).
Verify that the boot blocks are installed by rebooting the system to run level 3.
# init 6 |
The following example shows how to install the boot block on a UFS root file system.
# installboot /usr/platform/sun4u/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s0 |
The following example shows how to install the boot block on a ZFS root file system.
# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c0t1d0s0 |