So I am following this guide to compile my custom kernel - http://library.linode.com/linode-platform/custom-instances/pv-grub-custom-compiled-kernel#sph_compile-and-install-the-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/checksyscalls.sh 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/checksyscalls.sh 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/install.sh 3.3.3 arch/x86/boot/bzImage \ System.map "/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?
UPDATE
In my /root/build/linux-3.3.3/arch/x86/install.sh file, the last 10 lines are:
if [ -x /sbin/lilo ]; then /sbin/lilo elif [ -x /etc/lilo/install ]; then /etc/lilo/install else sync echo "Cannot find LILO." fi So somehow, I need to edit my install.sh to use grub instead. Any suggestions?