System Administration Guide, Volume I

x86: How to Install a Boot Block on a System Disk

  1. Become superuser.

  2. Install the boot block.


    # /usr/sbin/installboot /usr/platform/`uname -i`/lib/fs/ufs/pboot /usr/platform/`uname -i`
    /lib/fs/ufs/bootblk /dev/rdsk/cwtxdys2
    

    /usr/platform/`uname -i`/lib/fs/ufs/pboot

    Is the partition boot file. 

    /usr/platform/`uname -i`/lib/fs/ufs/bootblk

    Is the boot block code. 

    /dev/rdsk/cwtxdys2

    Is the raw device name that represents the whole disk. 

  3. Verify the boot blocks are installed by rebooting the system to run level 3.


    # init 6
    

x86: Example--Installing a Boot Block on a System Disk


# /usr/sbin/installboot /usr/platform/i86pc/lib/fs/ufs/pboot
 /usr/platform/i86pc/lib/fs/ufs/bootblk /dev/rdsk/c0t6d0s2