[pre]
[iyunv@mail grub]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/sdadefault=0timeout=5splashimage=(hd0,0)/boot/grub/splash.xpm.gzhiddenmenutitle
CentOS_ServerCD (2.6.9-42.EL)
root (hd0,0) kernel /boot/vmlinuz-2.6.9-42.EL ro
root=LABEL=/ clock=pit initrd /boot/initrd-2.6.9-42.EL.img
[/pre]
如果guest OS不能安装vmware tools, 或者vmware guest OS是SuSE SLES9表现时间过快,用 clock=pmtmr 代替。如果虚拟的是单cpu guest OS, 把nosmp noapic nolapic 这三个参数加到grub的kernel参数最后, 例子如下:
[pre]
title CentOS_ServerCD (2.6.9-42.EL)root (hd0,0)
kernel /boot/vmlinuz-2.6.9-42.EL ro root=LABEL=/ clock=pit nosmp noapic nolapic
initrd /boot/initrd-2.6.9-42.EL.img
[/pre]