- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to delete old kernel from Redhat Fedora 9.0
Operating System - Linux
1819926
Members
2911
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2004 07:23 AM
тАО09-16-2004 07:23 AM
I have noticed that when I have upgraded the kernel still keeps the old versions in Fedora and it will not reboot from the most latest one. So, I would like to know what will be the best option to remove the old kernels once I know that the latest is working fine. I will really appreciated, and I will assign points to the best answers. I am new of this field, and most of my experience is in HP-UX, but I have installed for educational and learning purpose.
Reynaldo Torres
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2004 07:43 AM
тАО09-16-2004 07:43 AM
Re: How to delete old kernel from Redhat Fedora 9.0
Which boot loader are you using? Lilo or Grub?
either way you will need to modify your /etc/lilo.conf or /etc/grub.conf make sure you are pointing to the correct vmlinuz file. then run lilo -v to load the RAM images and reboot.
either way you will need to modify your /etc/lilo.conf or /etc/grub.conf make sure you are pointing to the correct vmlinuz file. then run lilo -v to load the RAM images and reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2004 07:45 AM
тАО09-16-2004 07:45 AM
Re: How to delete old kernel from Redhat Fedora 9.0
I am using Grub. I will really appreciated if you could be more specific on what I need to do in order to remove the old kernels without doing any damage to the most latest one.
Thansk again,
Reynaldo
Thansk again,
Reynaldo
Reynaldo Torres
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2004 08:39 AM
тАО09-16-2004 08:39 AM
Solution
Hi,
Check the file /boot/grub/grub.conf there must be a line which starts with kernel. See if it is pointing to the right version. I suggest you that you first make a separate entry in the menu with the new kernel and then try it. A rescue floppy is also a good thing beffore messing with boot loaders.
To preparethe boot flopy (before changing grub.conf) do:
fdformat /dev/fd0H1440
mke2fs /dev/fd0
mount -t ext2 /dev/fd0 /mnt/floppy
grub-install --root-directory=/mnt/floppy '(fd0)'
cp /boot/grub/grub.conf /mnt/floppy/boot/grub/grub.conf
umount /mnt/floppy
For the help about grub do:
info grub
To delete the old kernel (after tested the new one). If you have upgraded the kernel using the command:
rpm -ivh kernel-?new?.rpm
Remove the old kernel using:
rpm -e kernel-?old?.rpm
Bojan
Check the file /boot/grub/grub.conf there must be a line which starts with kernel. See if it is pointing to the right version. I suggest you that you first make a separate entry in the menu with the new kernel and then try it. A rescue floppy is also a good thing beffore messing with boot loaders.
To preparethe boot flopy (before changing grub.conf) do:
fdformat /dev/fd0H1440
mke2fs /dev/fd0
mount -t ext2 /dev/fd0 /mnt/floppy
grub-install --root-directory=/mnt/floppy '(fd0)'
cp /boot/grub/grub.conf /mnt/floppy/boot/grub/grub.conf
umount /mnt/floppy
For the help about grub do:
info grub
To delete the old kernel (after tested the new one). If you have upgraded the kernel using the command:
rpm -ivh kernel-?new?.rpm
Remove the old kernel using:
rpm -e kernel-?old?.rpm
Bojan
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP