Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 06-05-2006, 02:58 AM   #1
LQ Newbie
Registered: Apr 2006
Location: Spain
Distribution: Slackware 13.0 w/flux
Posts: 17

Rep: Reputation: 0
i seem to have forgot to run lilo...

I have lately been trying to upgrade my kernel to 2.6.xx, but it seems that the kernel I end up with after "make bzImage" is ~6Mb and lilo returns "image X too big", and so I tried with my old 2.4 source, but again, after compiling, the same error. Then I decided to use my original image, but I fell asleep and when I woke up, I just turned my laptop off without running lilo, and now, when I try to boot, it hangs.
My questions are:

1-) Are

the ONLY files that change when compiling a new kernel or does running "lilo" change anything? and if so, is there any way I can run "lilo" from, for example, a live linux (knoppix, DSL, etc.) so that it affects the mounted hda instead of the running live system? I think i tried:

$ lilo -C /mnt/hda1/etc/lilo.conf -R /mnt/hda1

but i dont think it worked.

and 2-) How do I get that nice 1.[1-4]Mb kernel size that will work, or how do I get the bulky 6Mb kernel to be valid for lilo.
P.S: I know that unwanted modules take up extra space, but I swear I need them (or will need them) all.

..And to think that I only wanted APM to poweroff correctly.
--I am Slackware 10.2

--systelm - pardon the regular expressions (learning bash 'n' C)
Old 06-05-2006, 04:07 AM   #2
Registered: Dec 2005
Location: Brasov, Romania
Distribution: Slackware, Bluewhite64
Posts: 49

Rep: Reputation: 15
You can run lilo on your hd instead on your live cd. The way I do it is: boot with Slackware CD 1(or CD 2) and then:

mkdir /m
mount /dev/<your partition> /m
chroot /m

This should work . Hope helps.
Old 06-05-2006, 05:41 AM   #3
LQ Newbie
Registered: Apr 2006
Location: Spain
Distribution: Slackware 13.0 w/flux
Posts: 17

Original Poster
Rep: Reputation: 0
I love the response time average on this site


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
run /sbin/lilo after update IF you use LILO (don't know) jdblick SUSE / openSUSE 3 12-28-2004 03:06 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
Forgot to run /sbin/lilo justin_p Slackware 3 08-26-2004 06:53 AM
What to do when you forgot to 'lilo'...(my little guide) RohanRNS Slackware 14 05-05-2004 07:45 AM
Forgot to run grub...what now? gsibble Linux - General 2 01-14-2004 09:33 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:59 AM.

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