System Administration Guide: Devices and File Systems

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

  1. Become superuser or assume an equivalent role.

  2. Install the boot blocks on the system disk.

    # /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/cwtxdysz

    Is the partition boot file.


    Is the boot block code.


    Is the raw device name that represents the location of the GRUB menu, /boot/grub/menu.lst on the Solaris root slice.

    For more information, see installgrub(1M).

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

    # init 6

Example 13–4 x86: Installing a Boot Block on a System Disk

The following example shows how to install the boot blocks on an x86 system.

# /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c1d0s0
stage1 written to partition 0 sector 0 (abs 2016)
stage2 written to to partition 0, 227 sectors starting 50 (abs 2066)