Servers with LILO boot loader

Navigation:  Installation >

Servers with LILO boot loader

Previous pageReturn to chapter overviewNext page

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 deploy2cl utility.


4.Check grub.conf -- it should be configured automatically:

# cat /boot/grub/grub.conf
 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- 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.