17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# Sample boot menu configuration file 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate 57c478bd9Sstevel@tonic-gate# Boot automatically after 30 secs. 67c478bd9Sstevel@tonic-gatetimeout 30 77c478bd9Sstevel@tonic-gate 87c478bd9Sstevel@tonic-gate# By default, boot the first entry. 97c478bd9Sstevel@tonic-gatedefault 0 107c478bd9Sstevel@tonic-gate 117c478bd9Sstevel@tonic-gate# Fallback to the second entry. 127c478bd9Sstevel@tonic-gatefallback 1 137c478bd9Sstevel@tonic-gate 147c478bd9Sstevel@tonic-gate# For booting GNU/Hurd 157c478bd9Sstevel@tonic-gatetitle GNU/Hurd 167c478bd9Sstevel@tonic-gateroot (hd0,0) 177c478bd9Sstevel@tonic-gatekernel /boot/gnumach.gz root=hd0s1 187c478bd9Sstevel@tonic-gatemodule /boot/serverboot.gz 197c478bd9Sstevel@tonic-gate 207c478bd9Sstevel@tonic-gate# For booting GNU/Linux 217c478bd9Sstevel@tonic-gatetitle GNU/Linux 227c478bd9Sstevel@tonic-gateroot (hd1,0) 237c478bd9Sstevel@tonic-gatekernel /vmlinuz root=/dev/hdb1 247c478bd9Sstevel@tonic-gate#initrd /initrd.img 257c478bd9Sstevel@tonic-gate 267c478bd9Sstevel@tonic-gate# For booting GNU/kFreeBSD 277c478bd9Sstevel@tonic-gatetitle GNU/kFreeBSD 287c478bd9Sstevel@tonic-gateroot (hd0,2,a) 297c478bd9Sstevel@tonic-gatekernel /boot/loader.gz 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gate# For booting GNU/kNetBSD 327c478bd9Sstevel@tonic-gatetitle GNU/kNetBSD 337c478bd9Sstevel@tonic-gateroot (hd0,2,a) 347c478bd9Sstevel@tonic-gatekernel --type=netbsd /boot/knetbsd.gz 357c478bd9Sstevel@tonic-gate 367c478bd9Sstevel@tonic-gate# For booting Mach (getting kernel from floppy) 377c478bd9Sstevel@tonic-gatetitle Utah Mach4 multiboot 387c478bd9Sstevel@tonic-gateroot (hd0,2) 397c478bd9Sstevel@tonic-gatepause Insert the diskette now!! 407c478bd9Sstevel@tonic-gatekernel (fd0)/boot/kernel root=hd0s3 417c478bd9Sstevel@tonic-gatemodule (fd0)/boot/bootstrap 427c478bd9Sstevel@tonic-gate 437c478bd9Sstevel@tonic-gate# For booting FreeBSD 447c478bd9Sstevel@tonic-gatetitle FreeBSD 457c478bd9Sstevel@tonic-gateroot (hd0,2,a) 467c478bd9Sstevel@tonic-gatekernel /boot/loader 477c478bd9Sstevel@tonic-gate 487c478bd9Sstevel@tonic-gate# For booting NetBSD 497c478bd9Sstevel@tonic-gatetitle NetBSD 507c478bd9Sstevel@tonic-gateroot (hd0,2,a) 517c478bd9Sstevel@tonic-gatekernel --type=netbsd /netbsd 527c478bd9Sstevel@tonic-gate 537c478bd9Sstevel@tonic-gate# For booting OpenBSD 547c478bd9Sstevel@tonic-gatetitle OpenBSD 557c478bd9Sstevel@tonic-gateroot (hd0,2,a) 567c478bd9Sstevel@tonic-gatekernel --type=netbsd /bsd 577c478bd9Sstevel@tonic-gate 587c478bd9Sstevel@tonic-gate# For booting OS/2 597c478bd9Sstevel@tonic-gatetitle OS/2 607c478bd9Sstevel@tonic-gateroot (hd0,1) 617c478bd9Sstevel@tonic-gatemakeactive 627c478bd9Sstevel@tonic-gate# chainload OS/2 bootloader from the first sector 637c478bd9Sstevel@tonic-gatechainloader +1 647c478bd9Sstevel@tonic-gate# This is similar to "chainload", but loads a specific file 657c478bd9Sstevel@tonic-gate#chainloader /boot/chain.os2 667c478bd9Sstevel@tonic-gate 677c478bd9Sstevel@tonic-gate# For booting Windows NT or Windows95 687c478bd9Sstevel@tonic-gatetitle Windows NT / Windows 95 boot menu 697c478bd9Sstevel@tonic-gaterootnoverify (hd0,0) 707c478bd9Sstevel@tonic-gatemakeactive 717c478bd9Sstevel@tonic-gatechainloader +1 727c478bd9Sstevel@tonic-gate# For loading DOS if Windows NT is installed 737c478bd9Sstevel@tonic-gate# chainload /bootsect.dos 747c478bd9Sstevel@tonic-gate 757c478bd9Sstevel@tonic-gate# For installing GRUB into the hard disk 767c478bd9Sstevel@tonic-gatetitle Install GRUB into the hard disk 777c478bd9Sstevel@tonic-gateroot (hd0,0) 787c478bd9Sstevel@tonic-gatesetup (hd0) 797c478bd9Sstevel@tonic-gate 807c478bd9Sstevel@tonic-gate# Change the colors. 817c478bd9Sstevel@tonic-gatetitle Change the colors 827c478bd9Sstevel@tonic-gatecolor light-green/brown blink-red/blue 83