17c478bd9Sstevel@tonic-gate#pragma ident "%Z%%M% %I% %E% SMI" 27c478bd9Sstevel@tonic-gate# 37c478bd9Sstevel@tonic-gate# default menu entry to boot 47c478bd9Sstevel@tonic-gatedefault 0 57c478bd9Sstevel@tonic-gate# 67c478bd9Sstevel@tonic-gate# menu timeout in second before default OS is booted 77c478bd9Sstevel@tonic-gate# set to -1 to wait for user input 87c478bd9Sstevel@tonic-gatetimeout 10 97c478bd9Sstevel@tonic-gate# 107c478bd9Sstevel@tonic-gate# To enable grub serial console to ttya uncomment the following lines 117c478bd9Sstevel@tonic-gate# and comment out the splashimage line below 127c478bd9Sstevel@tonic-gate# WARNING: don't enable grub serial console when BIOS console serial 137c478bd9Sstevel@tonic-gate# redirection is active!!! 147c478bd9Sstevel@tonic-gate# serial --unit=0 --speed=9600 157c478bd9Sstevel@tonic-gate# terminal serial 167c478bd9Sstevel@tonic-gate# 177c478bd9Sstevel@tonic-gate# Uncomment the following line to enable GRUB splashimage on console 187c478bd9Sstevel@tonic-gate# splashimage /boot/grub/splash.xpm.gz 197c478bd9Sstevel@tonic-gate# 207c478bd9Sstevel@tonic-gate# To chainload another OS 217c478bd9Sstevel@tonic-gate# 227c478bd9Sstevel@tonic-gate# title Another OS 237c478bd9Sstevel@tonic-gate# root (hd<disk no>,<partition no>) 247c478bd9Sstevel@tonic-gate# chainloader +1 257c478bd9Sstevel@tonic-gate# 267c478bd9Sstevel@tonic-gate# To chainload a Solaris release not based on grub 277c478bd9Sstevel@tonic-gate# 287c478bd9Sstevel@tonic-gate# title Solaris 9 297c478bd9Sstevel@tonic-gate# root (hd<disk no>,<partition no>) 307c478bd9Sstevel@tonic-gate# chainloader +1 317c478bd9Sstevel@tonic-gate# makeactive 327c478bd9Sstevel@tonic-gate# 337c478bd9Sstevel@tonic-gate# To load a Solaris instance based on grub 34*ae115bc7Smrj# If GRUB determines if the booting system is 64-bit capable, 35*ae115bc7Smrj# the kernel$ and module$ commands expand $ISADIR to "amd64" 367c478bd9Sstevel@tonic-gate# 377c478bd9Sstevel@tonic-gate# title Solaris <version> 387c478bd9Sstevel@tonic-gate# root (hd<disk no>,<partition no>,x) --x = Solaris root slice 39*ae115bc7Smrj# kernel$ /platform/i86pc/kernel/$ISADIR/unix 40*ae115bc7Smrj# module$ /platform/i86pc/$ISADIR/boot_archive 41*ae115bc7Smrj 427c478bd9Sstevel@tonic-gate# 437c478bd9Sstevel@tonic-gate# To override Solaris boot args (see kernel(1M)), console device and 447c478bd9Sstevel@tonic-gate# properties set via eeprom(1M) edit the "kernel" line to: 457c478bd9Sstevel@tonic-gate# 46*ae115bc7Smrj# kernel /platform/i86pc/kernel/unix <boot-args> -B prop1=val1,prop2=val2,... 477c478bd9Sstevel@tonic-gate# 48