- 論壇徽章:
- 7
|
本帖最后由 nimysun 于 2013-06-03 10:22 編輯
大部分oracle x86 server都集成了Ilom / sp,很多情況下便于管理方便,需要把solaris的默認(rèn)顯示輸出從圖形輸出改到串口輸出。
其中一個(gè)比較關(guān)鍵的配置文件是: /boot/grub/menu.lst
需要做的事情是:
1,在/boot/grub/menu.lst取消注釋下面兩行
serial --unit=0 --speed=9600
terminal serial
2, 在/boot/grub/menu.lst注釋掉 splashimage這行
splashimage /boot/grub/splash.xpm.gz
3, 在/boot/grub/menu.lst里面的kernel行尾追加:
-B console=ttya
4, 改變OS的eeprom值:
eeprom console=ttya
5, 手動(dòng)更新boot archive文件
bootadm update-archive -fR /
6, reset your OS
reboot
7,在ilom提示符下面運(yùn)行
start /SP/console
附:當(dāng)前的menu.lst的輸出:- default 0
- timeout 10
- serial --unit=0 --speed=9600
- terminal serial
- #---------- ADDED BY BOOTADM - DO NOT EDIT ----------
- title Solaris 10 9/10 s10x_u9wos_14a X86
- kernel /platform/i86pc/multiboot -B console=ttya
- module /platform/i86pc/boot_archive
- #---------------------END BOOTADM--------------------
- # Unknown partition of type 6 found on /dev/rdsk/c0t1d0p0 partition: 1
- # It maps to the GRUB device: (hhd0,0) .
- #---------- ADDED BY BOOTADM - DO NOT EDIT ----------
- title Solaris failsafe
- findroot (rootfs0,1,a)
- kernel /boot/multiboot kernel/unix -s -B console=ttya
- module /boot/x86.miniroot-safe
- #---------------------END BOOTADM--------------------
復(fù)制代碼 |
|