LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-05-2003, 10:19 AM   #1
SLaCk_KiD
Member
 
Registered: Jan 2003
Location: Philly, PA
Distribution: Slackware 10.2
Posts: 97

Rep: Reputation: 15
kernel, yet again


i am sory everyone, i knwo that i keep posting the same thing, but i still am having trouble getting my new kernel to boot. I boot to lilo and then is automatically selects the kernel, and i get a black screen, it just stays blank... so i booted from the CD that i have, and checked the lilo configurator in KDE, and when i let it check the configurations this is what i get.....

Configuration NOT ok. LILO said:
LILO version 22.2 (test mode), Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2001 John Coffman
Released 05-Feb-2002 and compiled at 00:41:25 on Mar 9 2002.
MAX_IMAGES = 27
Warning: LBA32 addressing assumed
Reading boot sector from /dev/hda
Merging with /boot/boot.b
Mapping message file /boot/message
Boot image: /boot/vmlinuz.old
Added 2.4.18 *
Boot image: /usr/src/linux/vmlinux
Fatal: Kernel /usr/src/linux/vmlinux is too big

how do i make the kernel smaller? how is it too big?? i dont get it. is the kernel not vmlinux?? is the kernel not added correctly?? i keep reading different how-to's and i dont see that wnyone is having as much trouble as me, I am really geting fustrated with this, but it cant be that hard, no on else has these problems, i dont know what to do...any help is appreciated.
 
Old 03-05-2003, 10:23 AM   #2
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
http://www.p-two.net/modules.php?op=...=article&sid=5

Works every single time...IF YOU FOLLOW THE INSTRUCTIONS...EXACTLY.
 
Old 03-05-2003, 02:53 PM   #3
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
It's obvious that one of two things didn't happen...

1...Lilo.conf was not correctly edited to prepare for the newly compiled kernel...
or...
2...Makefile was not properly edited to have the newly compiled kernel copied to /boot/vmlinuz...

If these things are done, make install copies the correct files to the correct locations, AND properly updates lilo. So....FIRST EDIT THE FILES PROPERLY ACCORDING TO THE LINK I GAVE YOU EARLIER...then...

cd /usr/src/linux-2.4.20
make mrproper
make menuconfig (configure your kernel, then save)
make dep
make clean
make bzImage
make
make install
make modules
make modules_install
reboot

Works every single time. Give us an update...

Last edited by DaOne; 03-05-2003 at 02:56 PM.
 
Old 03-05-2003, 03:34 PM   #4
kater
Member
 
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
/usr/src/linux/vmlinuz is not the compressed kernel.
 
Old 03-05-2003, 03:38 PM   #5
R0N1N
Member
 
Registered: Sep 2002
Location: United States
Distribution: Slackware 8.1, 9.0 / Debian 3.0
Posts: 44

Rep: Reputation: 15
You need to find "bzImage" that was created while compiling the kernel and copy it to your kernel location. Don't forget to rerun lilo.

It usually something like : /usr/src/linux/arch/i386/boot/bzImage
 
Old 03-05-2003, 09:46 PM   #6
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
SLaCk_KiD

How about an update...smooth flight? Crash and burn?
 
Old 03-06-2003, 12:14 PM   #7
SLaCk_KiD
Member
 
Registered: Jan 2003
Location: Philly, PA
Distribution: Slackware 10.2
Posts: 97

Original Poster
Rep: Reputation: 15
so far, no good, i did everything by the way that you told me, i must be a complete idiot...i will keep you updated, as i will try again today to get it to work...thanks for all your help though
 
Old 03-06-2003, 12:54 PM   #8
SLaCk_KiD
Member
 
Registered: Jan 2003
Location: Philly, PA
Distribution: Slackware 10.2
Posts: 97

Original Poster
Rep: Reputation: 15
alright i got it to work correctly, i think i will remember how to do this from now on, i have certainly tried so many time, i dont see how i could fforget it, thanks to everyone who helped me out, especially DaOne, i think that the thing i was missing was in the editing lilo.conf. its not very explanitory. i was just adding a .old onto the end the existing boot image, no this time i copied the same thing, and added the .old to one of them, and it seemed to work. did i do that correctly or not?? but thanks again!!
 
Old 03-06-2003, 03:24 PM   #9
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Glad you got it to work.
Quote:
no this time i copied the same thing, and added the .old to one of them
Correct.
 
  


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
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
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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