Documentation

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:

  1. Make sure grub and kernel packages are not excluded. Edit file /etc/yum.conf and check exclude= line for presence of kernel* grub*
  2. Backup lilo config file:
    mv /etc/lilo.conf /etc/lilo.conf.bak
  3. Convert to CloudLinux using centos2cl utility as described in http://cloudlinux.com/downloads/index.php
  4. 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)
  5. Install grub to master boot record:
    /sbin/grub-install /dev/sda
  6. Reboot and check that you are running CloudLinux. uname -r should show something like: 2.6.18-294.8.1.el5.lve0.7.33