LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-29-2002, 10:29 AM   #1
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Rep: Reputation: 30
Question Booting up Kernel


After i did a update using Redhat Network, I have more then one version of kernel. I have 2.4.18-3 , 2.4.18-3 debug, 2.4.18-4 ,2.4.18-4 debug.

After doing another update a week or more later ,new version of kernel was updated and now i got 3 kernels for me to choose when i boot up my system. 2.4.18-5, 2.4.18-5 debug.

A few qns.

i don't need 3 kernels, i will like to keep only the latest one so when i boot up the system i will only have one choice. How can i do that? Which files should i edit?

What is the diiference between 2.4.18-5 and 2.4.18-5debug?? Likewise for the above 2 version? What is the debug about? Should i choose the debug version to login ? or just the version without the word "debug" behind it?


Thanks in advance
SIFVION
 
Old 06-29-2002, 10:38 AM   #2
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
if you use lilo, you can check your /etc/lilo.conf and edit. If you want to totally remove the older image to free up space which is located in your /boot you can refer to the /etc/lilo.conf for the older image.
 
Old 06-30-2002, 04:00 AM   #3
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 30
I'm using grub.

You said remove issit just edit the text below?
How about the different between the version with and without the word debug?


# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-5debug)
root (hd0,0)
kernel /vmlinuz-2.4.18-5debug ro root=/dev/hda2
initrd /initrd-2.4.18-5debug.img
title Red Hat Linux (2.4.18-5)
root (hd0,0)
kernel /vmlinuz-2.4.18-5 ro root=/dev/hda2
initrd /initrd-2.4.18-5.img
title Red Hat Linux (2.4.18-4debug)
root (hd0,0)
kernel /vmlinuz-2.4.18-4debug ro root=/dev/hda2
initrd /initrd-2.4.18-4debug.img
title Red Hat Linux (2.4.18-4)
root (hd0,0)
kernel /vmlinuz-2.4.18-4 ro root=/dev/hda2
initrd /initrd-2.4.18-4.img
title Red Hat Linux (2.4.18-3)
root (hd0,0)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda2
initrd /initrd-2.4.18-3.img
 
Old 06-30-2002, 04:48 AM   #4
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
You just need to edit out the entried for the kernels you dont need. No need to run grub afterwards. With lilo there is.
To be safe I would make a copy of grub.conf just for safety.
2.4.18 is the latest stable kernel.
 
Old 06-30-2002, 06:52 AM   #5
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 30
Okie thanks.

What is the 2.4.18-4 and 2.4.18-4debug about?

Which one should i boot up from? 2.4.18-4 or 2.4.18-4debug?
 
Old 07-01-2002, 02:38 AM   #6
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 30
So can anyone ans my QNS?
 
Old 07-01-2002, 02:46 AM   #7
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
dude, erase all except the 2.4.18-5 if it's working fine. Delete the Debug one, you don't need it, and just boot the 2.4.18-5, that's all your need to do.
 
Old 07-01-2002, 06:35 AM   #8
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 30
thanks dude.

But what is the different between the 2?
 
Old 07-01-2002, 10:53 AM   #9
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
Hi,
As far as I know, for normal use you need not boot debug kernel. It's for developers with builtin debug symbols.

By rpm -qip on this package you will see...

This package includes a kernel that has the IKD kernel patch built in
and configured and has several other kernel debugging settings enabled.

Sarin
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
Freeze booting kernel - mdk 9.2, kernel 2.4.22-10mdk, Acer TM252LC thekro Linux - Laptop and Netbook 19 03-25-2006 04:56 AM
smp kernel: uncompressing Linux ..ok booting the kernel krissb Linux - General 1 11-16-2005 06:31 PM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 11:52 AM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM

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

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