LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-03-2005, 02:20 AM   #1
Drewkha
LQ Newbie
 
Registered: May 2005
Location: Lugansk, Ukraine
Posts: 2

Rep: Reputation: 0
Uprading kernel to 2.6


I have RedHat 9 with 2.4.20-8 kernel installed on my computer. Idecided to upgrade it to 2.6. Everything was OK? but after rebooting I saw next message: Kernel panic - not syncing: No init found. Try passing init=option to kernel. What can it be?
 
Old 06-03-2005, 02:58 AM   #2
akilles
Member
 
Registered: Sep 2004
Location: Vestfold, Norway
Distribution: Slackware
Posts: 139

Rep: Reputation: 15
How did you make the new kernel?

I upgraded to 2.6.11.11 yesterday (Slack 10.0) without problem..
(.tar.gz from kernel.org)
(as root)
# cp /home/geir/linux-2.6.11.11.tar.gz /usr/src
# tar -zxvf linux-2.6.11.11.tar.gz
# cd linux-2.6.11.11
# cp /boot/config-ide-2.4.26 /usr/src/linux-2.6.11.11/.config
# make oldconfig (this takes a little while)
# make bzImage
# make modules
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.11.11
# ln -sf /usr/src/linux-2.6.11.11/System.map /boot/System.map

in lilo.conf added:
image = /boot/vmlinuz-2.6.11.11
root = /dev/hda2
label = 2.6.11.11
read-only

# lilo -v (verbose mode, just more printout in the console)

This did the trick for me.

-Geir
 
  


Reply



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.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
Uprading X zaicheke Linux - General 1 07-25-2004 06:58 PM
Uprading from kernel 2.2.20-idepci -> 2.4.x freeindy Linux - Distributions 1 04-02-2003 12:02 PM
Uprading linuxhelp Linux - General 3 08-15-2002 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:53 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
Open Source Consulting | Domain Registration