Deploying On Server With LILO Boot Loader
CloudLinux can be deployed on servers that don't have grub installed, by installing grub first.To do that:
- Make sure grub and kernel packages are not excluded. Edit file /etc/yum.conf and check exclude= line for presence of kernel* grub*
- Backup lilo config file:
mv /etc/lilo.conf /etc/lilo.conf.bak
- Convert to CloudLinux using centos2cl utility as described in http://cloudlinux.com/downloads/index.php
- Check grub.conf -- it should be configured automatically:
# cat /boot/grub/grub.conf default=0 timeout=5 title CloudLinux Server (2.6.18-294.8.1.el5.lve0.7.33) kernel /boot/vmlinuz-2.6.18-294.8.1.el5.lve0.7.33 root=/dev/sda1 ro root (hd0,0) initrd /boot/initrd-2.6.18-294.8.1.el5.lve0.7.33.img title linux centos5_64 kernel /boot/bzImage-2.6.33.5-xxxx-grs-ipv4-64 root=/dev/sda1 ro root (hd0,0) - Install grub to master boot record:
/sbin/grub-install /dev/sda
- Reboot and check that you are running CloudLinux. uname -r should show something like: 2.6.18-294.8.1.el5.lve0.7.33
