LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-26-2005, 10:40 PM   #1
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
compile kernel when lilo.conf doesn't locate /etc...


Hi, I have 2 hardisk and 3 OS.

hda winxp
hdb1 mdk 9.2 with lilo.conf at /etc
hdb2 slack 10 without lilo

tonight i was trying to compile my slack 10 kernel, the steps were basically following:
1) make xconfig
2) make dep
3) make clean
4) make bzImage
5) make modules
6) make modules install

and while doing modules install, i got this error msg:

warning: kernel is too big for standalone boot from floppy
sh -x ./install.sh 2.4.26 bzImage /usr/src/linux-2.4.26/System.map ""
+ '[' -x /root/bin/installkernel ']'
+ '[' -x /sbin/installkernel ']'
+ '[' -f /vmlinuz ']'
+ '[' -f /System.map ']'
+ cat bzImage
+ cp /usr/src/linux-2.4.26/System.map /System.map
+ '[' -x /sbin/lilo ']'
+ /sbin/lilo
/etc/lilo.conf: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/boot'
make: *** [install] Error 2


now... should i gnore that error msg, and copy the image to /etc/mdk/etc/lilo.conf, or should I re-do my kernel compile again, but with some kindda path points lilo.conf to /etc/mdk/etc ?
this is my first time compile secondary kernel at the same hardisk. and it gets quite interesting, heheh


thank you
 
Old 01-27-2005, 08:23 AM   #2
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Well make sure you have hdb1 mounted, first of all. And it looks like it was trying to install the kernel, not the modules. It's "make modules_install", not "make modules install", note the underscore.
 
Old 01-31-2005, 09:38 PM   #3
youknowwho
Member
 
Registered: Oct 2003
Location: india
Distribution: slack
Posts: 34

Rep: Reputation: 15
you have to copy your kernel image to your /boot and add the required entries in lilo
Most probably lilo is not installed properly
 
  


Reply


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 compile on Mandriva. lilo.conf only shows Windows listing for boot? Kramer Mandriva 2 08-20-2005 06:03 PM
New kernel and lilo.conf how-to, I'm a nOOb Slovak Slackware 6 11-13-2004 01:31 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
lilo.conf using a backup kernel h_lina_k Linux - General 1 02-10-2004 03:12 PM
No new kernel-option in LILO after editing lilo.conf corwax Debian 3 08-26-2003 08:55 PM


All times are GMT -5. The time now is 01:25 PM.

Main Menu
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