LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-24-2004, 11:44 AM   #1
foamrotreturns
Member
 
Registered: Jul 2004
Location: Ft. Collins, CO
Distribution: Knoppix, PHLAK, FC2, Debian, Mandrake
Posts: 33

Rep: Reputation: 15
2.6 kernel will only boot when I select it with LILO


Hello everyone!
Knoppix HDD install here, and I am racking my brains to figure out what's wrong. If I let it choose 2.4 at boot, it will not boot. the kernel panics, and it freezes up. If I choose 2.6 at boot, it boots fine, but it's not my default. I have tried changing the default string to the name of the 2.6 kernel and then I ran lilo, but it still (tries to) boot 2.4. any ideas?
 
Old 11-24-2004, 12:31 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
you can just remove the 2.4-section from the lilo.conf file and run lilo.
( and maybe build a new 2.4 that works )

egag
 
Old 11-24-2004, 01:03 PM   #3
foamrotreturns
Member
 
Registered: Jul 2004
Location: Ft. Collins, CO
Distribution: Knoppix, PHLAK, FC2, Debian, Mandrake
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by egag
you can just remove the 2.4-section from the lilo.conf file and run lilo.
( and maybe build a new 2.4 that works )

egag
I tried commenting out the lines in the lilo.conf file that aren't part of the 2.6 kernel boot section. It starts booting, and then it hangs right as it's copying system configuration to /etc/modules. How would I go about making a 2.4 kernel that works?

It's so odd because when I select the 2.6 kernel from LILO, it boots, but every method I've tried to make 2.6 the default causes it not to boot. what gives?

Last edited by foamrotreturns; 11-24-2004 at 01:05 PM.
 
Old 11-24-2004, 01:16 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
well...maybe post your lilo,conf file here.
and there are many "howto's" and threads on this site about kernel compiling, only i don't know if Knoppix has got a compiler with it.

egag
 
Old 11-29-2004, 12:18 PM   #5
foamrotreturns
Member
 
Registered: Jul 2004
Location: Ft. Collins, CO
Distribution: Knoppix, PHLAK, FC2, Debian, Mandrake
Posts: 33

Original Poster
Rep: Reputation: 15
All right, I got a thumb drive (one of those black friday deals) so I can finally get that lilo.conf file off the machine. How would you suggest I get that file? every time I try to mount the partition using a system rescue disc, I get only an empty lost+found directory. Is there something I'm missing?
 
  


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
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 06:45 PM
Kernel 2.6.81 Won't Boot with LILO under Slackware 10.0 pwo Linux - Software 2 10-22-2004 02:40 AM
Lilo won't boot XP after kernel upgrade jafriede Slackware 6 09-22-2004 02:35 PM
Can't get LILO to boot my old kernel jonathan_hehn Mandriva 12 11-10-2003 12:54 PM
How to select 3 OS in lilo ? pixelV Linux - General 1 12-26-2002 03:12 PM


All times are GMT -5. The time now is 04:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration