Users Guide
2. 编辑 /etc/securetty 文件以允许用户通过 SOL 控制台以 root 用户的身份登录。将以下一行添加在 console 后面:
ttyS0
原始 /etc/securetty 示例:
______________________________________________________________
console
vc/1
vc/2
vc/3
vc/4
SKIP the rest of file (跳过文件的这个部分)
______________________________________________________________
修改后的 /etc/securetty 示例:
______________________________________________________________
控制台
ttyS0
vc/1
vc/2
vc/3
vc/4
SKIP the rest of file (跳过文件的这个部分)
______________________________________________________________
3. 编辑 /boot/grub/grub.conf 或 /boot/grub/menu.list 文件,以便为 SOL 添加引导选项:
e. 注释掉类似 Unix 的各个操作系统中的图形显示行:
¡ RHEL 5 中的 splashimage=(had0,0)/grub/splash.xpm.gz
¡ SLES 10 中的 gfxmenu (hda0,5)/boot/message
f. 在第一 title= ... 行前面添加以下一行:
# Redirect OS boot via SOL
g. 将以下项附加到第一 title= ... 行:
SOL redirection
h. 将以下文本附加到第一个 title= ... 的 kernel/... 行:
console=tty1 console=ttyS0,115200
RHEL 5 中的原始 /boot/grub/grub.conf 示例:
______________________________________________________________
# grub.conf generated by anaconda (grub.conf 由 anaconda 生成)
#
# Note that you do not have to return grub after making changes
tothisfile(请注意更改文件后,您必要没有返回 grub)
# NOTICE: You have a /boot partition.This means that all kernel
andinitrdpathsarerelativeto/boot/,eg.root(hd0,0)
(注意:您有一个/ boot 分区。这意味着所有的内核和 initrd 路径是相对到
/boot/,例如 root (hd0,0))
# kernel /vmlinux-version ro root=/dev/VolGroup00/LogVol00
(内核 /vmlinux-版本 ro root=/dev/VolGroup00/LogVol00
注: Red Hat Enterprise Linux 5 中的 /boot/grub/grub.conf 是指向 /boot/grub/menu.list 的符号链接。可以更改两者中任一项中的设置。