LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 07-18-2009, 06:24 AM   #1
lp rob1
LQ Newbie
 
Registered: Jul 2009
Posts: 13

Rep: Reputation: 0
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
 
Old 07-18-2009, 08:03 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,624

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
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
 
Old 07-18-2009, 11:22 AM   #3
lp rob1
LQ Newbie
 
Registered: Jul 2009
Posts: 13

Original Poster
Rep: Reputation: 0
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!

Last edited by lp rob1; 07-19-2009 at 03:44 AM.
 
Old 07-19-2009, 04:44 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,624

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
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.
 
  


Reply

Tags
boot loader, kernel, lilo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel 2.6 installation, lilo to grub? b0uncer Slackware 27 11-28-2006 06:50 AM
Installation of new kernel patch changes lilo/grub? eur0dad Red Hat 1 07-27-2006 11:46 AM
ndiswrapper installation error: can't find kernel sources shind Linux - Wireless Networking 3 03-14-2006 08:48 AM
Where Can I Find Kernel Source after Installation s74b Linux - Software 4 11-19-2004 03:59 AM
Unable to find the QT installation while I'm trying to make xconfig for kernel 2.6.7 Ouapouap Debian 2 07-17-2004 02:36 PM


All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration