LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel 2.6 installation: cannot find LILO (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-2-6-installation-cannot-find-lilo-740973/)

lp rob1 07-18-2009 05:24 AM

kernel 2.6 installation: cannot find LILO
 
WARNING: complete newbie to linux asking question!

i have installed puppy linux 4.21, then attempted to install fxload on it. the fxload installation requires kernel header files, so i am now trying to install the 2.6.30.1 kernel.
i configured it, 'make'd it, then 'make modules_install' but when i did 'make install', the installation refused and said:

# make install
sh /root/tar-archives/linux-2.6.30.1/arch/x86/boot/install.sh 2.6.30.1 arch/x86/boot/bzImage \
System.map "/boot"
Cannot find LILO.

i use grub as my bootloader, so is there any way to make the installation recognize that?

thanks,
lp rob1

business_kid 07-18-2009 07:03 AM

Nope. A bit of history that one ferom the days before grub.
type uname -r to get the exact kernel version. This box uses 2.6.29.1-sd64

Then execute these from your kernel source
cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.29.2-sd64
cp System.map /boot/System.map-2.6.29.1

IOf you need an initrd, you may have to make one. This differs from distro to distro - man mkinitrd is your friend

Then add it into /boot/grub/menu.lst. Always make sure the other kernel still is available in case your new kernel id a dud or lacks something essential

lp rob1 07-18-2009 10:22 AM

oops
 
i have just tried to boot puppy linux, but i think i broke it. A huge list of things pops up after selecting Linux on grub, the last of which is
[ 2.939638] [<c100352f>] kernel_thread_helper+0x7/0x10
it then hangs

do i have to reinstall puppy linux?
lol,
lp rob1

EDIT: i did some research, i had a kernel panic
EDIT 2: i reinstalled puppy, now i wont try any kernel reinstallations again!

business_kid 07-19-2009 03:44 AM

Compiling a kernel is an study in strange choices. Welcome to the club. There isn't one of us who hasn't had that experience, I imagine. Next time, read the help and research your choices. You'll still end up guessing.


All times are GMT -5. The time now is 02:13 AM.