How to set console on x-86 Solaris servers

This is a common issue encountered in x-86 solaris boxes. We wont be able to get to the console though all connection and ports for the console are fine. Below are the steps which needs to be done in order to get to the console:

1.) We have to edit the file called /boot/grub/menu.lst.

yogesh-test# cp -p /boot/grub/menu.lst /boot/grub/orig_menu.lst

yogesh-test# vi /boot/grub/menu.lst
#pragma ident “@(#)menu.lst 1.1 05/09/01 SMI”
#
# default menu entry to boot
default 0
#
# menu timeout in second before default OS is booted
# set to -1 to wait for user input
timeout 10
#
# 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 ———————> Uncomment these two lines which are commented bydefault.
terminal serial
#
# Uncomment the following line to enable GRUB splashimage on console
# splashimage /boot/grub/splash.xpm.gz
#
# To chainload another OS
#
# title Another OS
# root (hd,)
# chainloader +1
#
# To chainload a Solaris release not based on grub
#
# title Solaris 9
# root (hd,)
# chainloader +1
# makeactive
#
# To load a Solaris instance based on grub
#
# title Solaris
# root (hd,,x) –x = Solaris root slice
# kernel /platform/i86pc/multiboot
# module /platform/i86pc/boot_archive
#
# To override Solaris boot args (see kernel(1M)), console device and
# properties set via eeprom(1M) edit the “kernel” line to:
#
# kernel /platform/i86pc/multiboot -B prop1=val1,prop2=val2,…
#
#———- ADDED BY BOOTADM – DO NOT EDIT ———-
title Solaris 10 5/08 s10x_u5wos_10 X86
findroot (rootfs0,0,a)
kernel /platform/i86pc/multiboot
module /platform/i86pc/boot_archive
#———————END BOOTADM——————–
#———- ADDED BY BOOTADM – DO NOT EDIT ———-
title Solaris failsafe
findroot (rootfs0,0,a)
kernel /boot/multiboot kernel/unix -s
module /boot/x86.miniroot-safe
#———————END BOOTADM——————–

2.) Direct the console towards terminal with eeprom.

yogesh-test# eeprom console=ttya
yogesh-test# eeprom | grep -i console
console=ttya

3.) Now the x-86 console will be available with the next reboot.

Yogesh Raheja

Yogesh working as a Consultant in Unix Engineering by profession. And he has multiple years experience in Solaris, Linux , AIX and Veritas Administration. He has been certified for SCSA9, SCSA10, SCNA10, VXVM, VCS, ITILv3. He is very much passionate about sharing his knowledge with others. Specialties: Expertize in Unix/Solaris Server, Linux (RHEL), AIX, Veritas Volume Manager, ZFS, Liveupgrades, Storage Migrations, Cluster deployment (VCS and HACMP) and administration and upgrade on Banking, Telecom, IT Infrastructure, and Hosting Services.

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us