LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 04-06-2004, 11:03 AM   #1
devNul73
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Seems like small lilo config problem...maybe more


Ok, I went 100% Linux a few months ago and I want to compile and use a kernel.

Right now I'm using 2.4.22-xfs that came with the hard drive install of Knoppix.

I downloaded 2.6.5-1. Everything compiles cleanly kernel, modules, etc.
mkinitrd seems to work as it should

the new files I have in /boot are:
bzImage-2.6.5-1
initrd-2.6.5-1.img
System.Map-2.5.6-1

and here is a clip of lilo.conf:
image=/boot/vmlinuz-2.4.22-xfs
label=Linux
initrd=/boot/initrd.gz
read-only
# restricted
# alias=1

image=/boot/bzImage-2.6.5-1
label=Linux2.6
initrd=/boot/initrd-2.6.5-1.img
read-only
# restricted
# alias=1

I noticed initrd.gz is only in the 160k's and initrd-2.6.5-1.img weighs in over 2.5 megs. Might this be it? Gzip the initrd-2.6.5-1.img?

I'm obviously missing something because when i chouse Linux2.6 at the prompt
1. It takes much longer than usual to reach the BIOS check successful
2. after that....nothing

Any help would be great appreciated.

/devnul73
 
Old 04-06-2004, 03:50 PM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
mkinird by default creates a zipped image file unless you specifically tell it not to (read the man page). If you have installed linux on the harddrive and no longer booting from the cd then you don't really need the initrd image anymore. You are also switching from a 2.4 kernel to a 2.6 kernel which means most likely you will have to update a bunch of other important packages too. There are many documents online explaining what is needed for updating a 2.4 to a 2.6 kernel. So just search around. Or you can read the documents in the kernel source tree in the Documentation directory.
 
Old 04-06-2004, 06:33 PM   #3
devNul73
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
I assume I did need an initrd because i have reiserfs as a module, let me know about this....

As for mkinitrd I did not pass in any other options, so I dunno what's up here...

as for the software i referenced this http://www.digitalhermit.com/~kwan/kernel.html
and I'm good on that front.

please please please
 
  


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
LILO config problem dave111 Slackware - Installation 7 09-01-2004 09:21 PM
lilo and grub config problem slyguyr3 Linux - Software 3 11-07-2003 12:58 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM
Lilo config problem jackopa Linux - General 2 03-18-2002 10:57 PM
Lilo small problem hpc Linux - Newbie 1 07-14-2001 12:09 PM


All times are GMT -5. The time now is 08:03 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