After this step is done, you several things will change beside the kernel update. One of them is the boot loader. I am using Centos 5, so my boot loader is GRUB. What happensis that the yum installer will add extra entry to
/boot/grub/grub.con
looks like
title Cenros (2.6.8-022
stab
029.1)root (hd0,0)kernel /vmlinuz-2.6.8-022stab029.1 roroot=/dev/sda5initrd /initrd-2.6.8-022stab029.1.img
Note the “stab” in the entryI believe you know how to edit GRUB configuration file to make this entry the defaultboot option.After this step we have to make some changes on some configuration files to make ourvirtualization runs with no problem.First file to be edited is the system control file. /etc/sysctl.conf
// change these entries# On Hardware Node we generally need# packet forwarding enabled and proxy arp disablednet.ipv4.ip_forward = 1# Enables the magic-sysrq keykernel.sysrq = 1# Enables source route verificationnet.ipv4.conf.all.rp_filter = 1net.ipv4.conf.default.proxy_arp = 0// add these entries at the bottomnet.ipv4.conf.default.proxy_arp = 0net.ipv4.conf.default.send_redirects = 1net.ipv4.conf.all.send_redirects = 0
Do not forget to save the file.Now the next file to be changed is
/etc/sysconfig/selinuxSELINUX=disabled
Make sure that selinux is disabled.Ok by now your virtualization is half way, you need to reboot your machine.
Add a Comment