Become superuser or assume an equivalent role.
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).
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 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) |