17c478bd9Sstevel@tonic-gate# 2*2dea4eedSJan Setje-Eilers# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 3*2dea4eedSJan Setje-Eilers# Use is subject to license terms. 4*2dea4eedSJan Setje-Eilers# 5*2dea4eedSJan Setje-Eilers 6*2dea4eedSJan Setje-Eilers# With zfs root the active menu.lst file is /<pool>/boot/grub/menu.lst 7*2dea4eedSJan Setje-Eilers# This reference copy of the file is not used. 8*2dea4eedSJan Setje-Eilers 97c478bd9Sstevel@tonic-gate# default menu entry to boot 107c478bd9Sstevel@tonic-gatedefault 0 117c478bd9Sstevel@tonic-gate# 127c478bd9Sstevel@tonic-gate# menu timeout in second before default OS is booted 137c478bd9Sstevel@tonic-gate# set to -1 to wait for user input 147c478bd9Sstevel@tonic-gatetimeout 10 157c478bd9Sstevel@tonic-gate# 167c478bd9Sstevel@tonic-gate# To enable grub serial console to ttya uncomment the following lines 177c478bd9Sstevel@tonic-gate# and comment out the splashimage line below 18*2dea4eedSJan Setje-Eilers# WARNING: do not enable grub serial console when BIOS console serial 19*2dea4eedSJan Setje-Eilers# redirection is active. 207c478bd9Sstevel@tonic-gate# serial --unit=0 --speed=9600 217c478bd9Sstevel@tonic-gate# terminal serial 227c478bd9Sstevel@tonic-gate# 237c478bd9Sstevel@tonic-gate# Uncomment the following line to enable GRUB splashimage on console 247c478bd9Sstevel@tonic-gate# splashimage /boot/grub/splash.xpm.gz 257c478bd9Sstevel@tonic-gate# 267c478bd9Sstevel@tonic-gate# To chainload another OS 277c478bd9Sstevel@tonic-gate# 287c478bd9Sstevel@tonic-gate# title Another OS 297c478bd9Sstevel@tonic-gate# root (hd<disk no>,<partition no>) 307c478bd9Sstevel@tonic-gate# chainloader +1 317c478bd9Sstevel@tonic-gate# 327c478bd9Sstevel@tonic-gate# To chainload a Solaris release not based on grub 337c478bd9Sstevel@tonic-gate# 347c478bd9Sstevel@tonic-gate# title Solaris 9 357c478bd9Sstevel@tonic-gate# root (hd<disk no>,<partition no>) 367c478bd9Sstevel@tonic-gate# chainloader +1 377c478bd9Sstevel@tonic-gate# makeactive 387c478bd9Sstevel@tonic-gate# 397c478bd9Sstevel@tonic-gate# To load a Solaris instance based on grub 40ae115bc7Smrj# If GRUB determines if the booting system is 64-bit capable, 41ae115bc7Smrj# the kernel$ and module$ commands expand $ISADIR to "amd64" 427c478bd9Sstevel@tonic-gate# 437c478bd9Sstevel@tonic-gate# title Solaris <version> 447c478bd9Sstevel@tonic-gate# root (hd<disk no>,<partition no>,x) --x = Solaris root slice 45ae115bc7Smrj# kernel$ /platform/i86pc/kernel/$ISADIR/unix 46ae115bc7Smrj# module$ /platform/i86pc/$ISADIR/boot_archive 47ae115bc7Smrj 487c478bd9Sstevel@tonic-gate# 497c478bd9Sstevel@tonic-gate# To override Solaris boot args (see kernel(1M)), console device and 507c478bd9Sstevel@tonic-gate# properties set via eeprom(1M) edit the "kernel" line to: 517c478bd9Sstevel@tonic-gate# 52ae115bc7Smrj# kernel /platform/i86pc/kernel/unix <boot-args> -B prop1=val1,prop2=val2,... 537c478bd9Sstevel@tonic-gate# 54