Wednesday, May 20, 2009

OpenSolaris - slow boot fix

If you've installed opensolaris 11/08 and unhappily found it's slow as mud to boot..

# edit /rpool/boot/grub/menu.lst
# look for the lines like.. below and remove them..

splashimage /boot/solaris.xpm
foreground d25f00
background 115d93

# next find the kernel line and change from
--kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
++kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS

My boot time went from longer than 5 minutes to under 30 seconds. and you get to see the svc errors :)