xref: /titanic_51/usr/src/grub/menu.lst (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
2*7c478bd9Sstevel@tonic-gate#
3*7c478bd9Sstevel@tonic-gate# default menu entry to boot
4*7c478bd9Sstevel@tonic-gatedefault 0
5*7c478bd9Sstevel@tonic-gate#
6*7c478bd9Sstevel@tonic-gate# menu timeout in second before default OS is booted
7*7c478bd9Sstevel@tonic-gate# set to -1 to wait for user input
8*7c478bd9Sstevel@tonic-gatetimeout 10
9*7c478bd9Sstevel@tonic-gate#
10*7c478bd9Sstevel@tonic-gate# To enable grub serial console to ttya uncomment the following lines
11*7c478bd9Sstevel@tonic-gate# and comment out the splashimage line below
12*7c478bd9Sstevel@tonic-gate# WARNING: don't enable grub serial console when BIOS console serial
13*7c478bd9Sstevel@tonic-gate#	redirection is active!!!
14*7c478bd9Sstevel@tonic-gate#   serial --unit=0 --speed=9600
15*7c478bd9Sstevel@tonic-gate#   terminal serial
16*7c478bd9Sstevel@tonic-gate#
17*7c478bd9Sstevel@tonic-gate# Uncomment the following line to enable GRUB splashimage on console
18*7c478bd9Sstevel@tonic-gate#   splashimage /boot/grub/splash.xpm.gz
19*7c478bd9Sstevel@tonic-gate#
20*7c478bd9Sstevel@tonic-gate# To chainload another OS
21*7c478bd9Sstevel@tonic-gate#
22*7c478bd9Sstevel@tonic-gate# title Another OS
23*7c478bd9Sstevel@tonic-gate#	root (hd<disk no>,<partition no>)
24*7c478bd9Sstevel@tonic-gate#	chainloader +1
25*7c478bd9Sstevel@tonic-gate#
26*7c478bd9Sstevel@tonic-gate# To chainload a Solaris release not based on grub
27*7c478bd9Sstevel@tonic-gate#
28*7c478bd9Sstevel@tonic-gate# title Solaris 9
29*7c478bd9Sstevel@tonic-gate#	root (hd<disk no>,<partition no>)
30*7c478bd9Sstevel@tonic-gate#	chainloader +1
31*7c478bd9Sstevel@tonic-gate#	makeactive
32*7c478bd9Sstevel@tonic-gate#
33*7c478bd9Sstevel@tonic-gate# To load a Solaris instance based on grub
34*7c478bd9Sstevel@tonic-gate#
35*7c478bd9Sstevel@tonic-gate# title Solaris <version>
36*7c478bd9Sstevel@tonic-gate#	root (hd<disk no>,<partition no>,x)	--x = Solaris root slice
37*7c478bd9Sstevel@tonic-gate#	kernel /platform/i86pc/multiboot
38*7c478bd9Sstevel@tonic-gate#	module /platform/i86pc/boot_archive
39*7c478bd9Sstevel@tonic-gate#
40*7c478bd9Sstevel@tonic-gate# To override Solaris boot args (see kernel(1M)), console device and
41*7c478bd9Sstevel@tonic-gate# properties set via eeprom(1M) edit the "kernel" line to:
42*7c478bd9Sstevel@tonic-gate#
43*7c478bd9Sstevel@tonic-gate#   kernel /platform/i86pc/multiboot <boot-args> -B prop1=val1,prop2=val2,...
44*7c478bd9Sstevel@tonic-gate#
45