The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 05-14-2008
Perderabo's Avatar
Perderabo Perderabo is offline
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,355
That's what I did. Here is my menu.lst file from Solaris:
Code:
#pragma ident	"@(#)menu.lst	1.1	05/09/01 SMI"
default 1
timeout 30
#
# To enable grub serial console to ttya uncomment the following lines
# and comment out the splashimage line below
# WARNING: don't enable grub serial console when BIOS console serial
#	redirection is active!!!
#   serial --unit=0 --speed=9600
#   terminal serial
#
# Uncomment the following line to enable GRUB splashimage on console
#splashimage /boot/grub/splash.xpm.gz

color red/black black/green
title Trinity --- triple boot system with Windows XP/RHEL 5/Solaris 10
	root
title Windows XP
	rootnoverify (hd0,0)
	chainloader +1

title Redhat Enterprise Linux 5
	root (hd0,7)
	kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.18-8.el5.img

#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
#title Solaris 10 5/08 s10x_u5wos_10 X86
title Solaris 10 
kernel /platform/i86pc/multiboot
module /platform/i86pc/boot_archive
#---------------------END BOOTADM--------------------
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Solaris failsafe
kernel /boot/multiboot kernel/unix -s
module /boot/x86.miniroot-safe
#---------------------END BOOTADM--------------------

# Unknown partition of type 15 found on /dev/rdsk/c0d0p0 partition: 2
# It maps to the GRUB device: (hd0,1) .

# Unknown partition of type 187 found on /dev/rdsk/c0d0p0 partition: 4
# It maps to the GRUB device: (hd0,3) .

title -----UTILITIES-----
	root
title _^H      reboot
	reboot
title _^H      off
	halt
title _^H      halt
	halt --no-apm
title _^H      boot from floppy
	chainloader (fd0)+1
That _^H is an underscore followed by a backspace. I had to play around to get leading spaces with a grub title and I settled on that.
Reply With Quote