Source : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006427
Editing Kernel Configuration
Kernel command line parameters are specified in the/etc/lilo.conf
or /boot/grub/grub.conf
file, depending on your choice of boot loader.- For LILO, put the kernel command line parameters at the end of the append line.
For example, if the append is similar to:append="resume=/dev/hda6 splash=silent"
and you want to addclock=pmtmr divider=10
, the updated text is:append="resume=/dev/hda6 splash=silent clock=pmtmr divider=10"
Run the/sbin/lilo
command after editing thelilo.conf
file to make the changes take effect. - For GRUB, put the kernel command line parameters at the end of the kernel line.
For example, if the kernel line is similar to:kernel /vmlinuz-2.6.18 ro root=/dev/hda2
and you want to addclock=pmtmr divider=10
, the updated text is:kernel /vmlinuz-2.6.18 ro root=/dev/hda2 clock=pmtmr divider=10
Example :
[root@ibsvr ~]# ip a | grep eth0
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
inet 10.192.168.36/26 brd 10.192.168.63 scope global eth0
[root@ibsvr ~]# cat /etc/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,1)
# kernel /boot/vmlinuz-version ro root=/dev/hda2
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Enterprise Linux (2.6.18-164.el5)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-164.el5 ro root=LABEL=/ rhgb quiet clock=pmtmr divider=10
initrd /boot/initrd-2.6.18-164.el5.img
OR ,
(From Microsoft suggestion )
The specified parameters should be added to the end of kernel line in boot loader configuration, e.g. for GRUB:
~# cat /boot/grub/menu.lst
default=0
timeout=30
title CentOS (2.6.18-194.el5.x86_64)
root (hd1,0)
kernel /boot/vmlinuz-2.6.18-194.el5.x86_64 ro root=UUID=6b3f39b4-8749-4b3b-a873-d8c5a96e2f45 divider=10 nohpet notsc
Microsoft Link :
> http://support.microsoft.com/kb/2711608
> http://kb.sp.parallels.com/en/114810
No comments:
Post a Comment