LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-07-2003, 06:10 AM   #1
[o]-Frozen
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
Unhappy Help! Kernel problems


Hi there,

today i tried to update my redhat 7.3's kernel using up2date -uf but i got an error saying there was not enough space available on /boot

I read up on this problem and read old kernels could be removed by first using "rpm -q kernel" and then removing old kernels using "rpm -e kernel-2.4.x.x.x.x"

So thats what i did. I issued these commands to get rid of what i thought were old kernels.
rpm -e kernel-2.4.18-27.7.x
rpm -e kernel-2.4.20-18.7


the current "rpm -q kernel" now showed this:
Code:
[root@ns root]# rpm -q kernel
kernel-2.4.20-19.7
kernel-2.4.20-20.7
After running up2date agian i got this error:
Code:
Error installing lilo.conf  The message was:
test install of lilo failed
the current "rpm -q kernel" now shows this:
Code:
[root@ns root]# rpm -q kernel
kernel-2.4.20-19.7
kernel-2.4.20-20.7
kernel-2.4.20-24.7
So i checked what was in the current lilo.conf and there are still records of the old kernels i removed. They look like this:
Code:
image=/boot/vmlinuz-2.4.18-27.7.x
        label=linux.bak
        initrd=/boot/initrd-2.4.18-27.7.x.img
        root=/dev/hda3
        read-only
        append="panic=60"
And /sbin/lilo -v -v shows this result:

Code:
LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman

Reading boot sector from /dev/hda
Merging with /boot/boot.b
Secondary loader: 11 sectors.
Boot image: /boot/vmlinuz-2.4.18-27.7.x
Fatal: open /boot/vmlinuz-2.4.18-27.7.x: No such file or directory
Removed temporary file /boot/map~
Please tell me what to do about this. I'm clueless


Thanks, Froz

Last edited by [o]-Frozen; 12-07-2003 at 06:13 AM.
 
Old 12-07-2003, 10:13 AM   #2
[o]-Frozen
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Original Poster
Rep: Reputation: 0
i think i fixed this by removing the old kernels from the lilo.conf file but im not a 100% sure
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM
problems occured after upgrading kernel and kernel-utils parv Fedora 0 05-02-2005 06:21 PM
kernel 2.4 -> kernel 2.6 problems with Maxtor SATA Bultot Linux - Hardware 2 01-19-2005 01:58 AM
Problems building a simple kernel module for kernel 2.6.7 atticman Linux - Software 2 12-13-2004 03:35 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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