Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I am following this guide to compile my custom kernel -

So far so good, but I hit a little road block with make install.

  AS      arch/x86/boot/header.o
  LD      arch/x86/boot/setup.elf
  OBJCOPY arch/x86/boot/setup.bin
  BUILD   arch/x86/boot/bzImage
Setup is 15328 bytes (padded to 15360 bytes).
System is 5097 kB
CRC c20c9369
Kernel: arch/x86/boot/bzImage is ready  (#2)
[root@li280-195 linux-3.3.3]# make -j3 modules
make[1]: Nothing to be done for `all'.
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/
  CC [M]  drivers/scsi/scsi_wait_scan.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      drivers/scsi/scsi_wait_scan.mod.o
  LD [M]  drivers/scsi/scsi_wait_scan.ko
[root@li280-195 linux-3.3.3]# make
make[1]: Nothing to be done for `all'.
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
Kernel: arch/x86/boot/bzImage is ready  (#2)
  Building modules, stage 2.
  MODPOST 1 modules
[root@li280-195 linux-3.3.3]# make install
sh /root/build/linux-3.3.3/arch/x86/boot/ 3.3.3 arch/x86/boot/bzImage \ "/boot"
Cannot find LILO.

I understand that make install by defaults looks for LILO and I know LILO is a bootloader. But I don't want to use LILO but instead I only care about using grub.

What do I do now to have make install run correctly?


In my /root/build/linux-3.3.3/arch/x86/ file, the last 10 lines are:

if [ -x /sbin/lilo ]; then
elif [ -x /etc/lilo/install ]; then
       echo "Cannot find LILO."

So somehow, I need to edit my to use grub instead. Any suggestions?

share|improve this question
What distro are you using? Many have tools in place to make building and installing customer kernel packages easy. – Zoredache Apr 26 '12 at 7:28
distro - arch linux – Calvin Cheng Apr 26 '12 at 7:33
up vote 2 down vote accepted

For Linode with pv-grub, you can ignore the message about LILO because LILO is not (and cannot be) used on Linode. The kernel image has been copied into /boot/vmlinuz at this point.

By default, make install updates LILO data if it is installed. It does this as a convenience, because LILO does not know about file systems and has to rely on block numbers to locate the kernel image.

share|improve this answer

Evidently, your install script has LILO as a requirement. Why not simply make and then copy the output over to /boot and fiddle with grub by hand?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.