Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-25-2008, 03:47 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 8

Rep: Reputation: 0
Installing new kernel

Hy guys,

I have Slackware 10.1 on a virtual pc 2007.
I downloaded kernel 2.62... - last kernel avaible
I removed * from /boot cause last time I compiled kernel 2.6 it booted still in 2.4 ( uname -r)

so now I did this : cd /usr/src/linux-2.6...
#make defconfig
#make install && make modules_install
#cp /arch/x86/boot/bzImage /boot/
lilo.conf has image=/boot/bzImage
and #reboot
Now when in boot in linux I get a mass of errors
here is a screen shot :

Old 04-25-2008, 03:54 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
So, did you compile all modules as static (since you don't have initramfs)?
Anyway, we need the top most error if you can scroll up (shift+pgup)
Old 04-25-2008, 03:54 AM   #3
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Read the README file that comes along the kernel sources; it should tell you everything you need like how to go about the compilation process, what software+versions you need to successfully compile the kernel and so on..

Then make sure you have the modules in the kernel that you need - the "stock values" might not suit your hardware. And don't remove the old kernel from /boot - it doesn't harm anyone there, as they're just files there, but it surely does prevent you from booting at all if you only have your new kernel that won't boot. Just copy the newly compiled kernel files (all files you need!) to /boot under a different name (like vmlinuz-2.6-something so you won't overwrite anything) and then edit your bootloader's (LILO) configuration (lilo.conf), write new boot section for your new kernel (perhaps copy the old one and alter filenames), re-run lilo (if using Grub this is not needed) and reboot. If you last time had 2.4 kernel after building a 2.6 kernel it simply means your bootloader was configured to boot 2.4 by default, or only that including the new kernel enables you to boot it.


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
USB kernel problem installing Debian testing on HP Proliant ML310 G3 - kernel freeze sjust Linux - Hardware 11 01-27-2009 02:17 PM
Error in installing kernel image for kernel upgrade in Knoppix-------Help East Debian 1 03-28-2008 02:50 AM
Installing latest kernel ( 2.6.23) in Fedora 6 - kernel panic!!! p.arun Fedora 7 01-23-2008 01:17 AM
Installing NVIDIA kernel module for newly installed kernel philippeP Linux - General 1 07-13-2006 05:50 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 09:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:50 PM.

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