CentOS 5 :: Can't Remove A New Kernel
Sep 22, 2010I create a kernel rpm file, install it. Now I can't remove it. I use: rpm -e kernel-2.6 ... and system return this error:
[Code]...
I create a kernel rpm file, install it. Now I can't remove it. I use: rpm -e kernel-2.6 ... and system return this error:
[Code]...
I am currently running the xen (64 bit) kernel, but want to move to the non xen kernel(64 bit) while retaining my carefully crafted system. I tried this once before by unticking the "virtualisation" and it removed the xen kernel, leaving me with nothing to boot from.
View 5 Replies View RelatedI installed the following packages:
ieee80211-kmdl-2.6.18-164.10.1.el5-1.2.18-22.el5.i686.rpm
ipw2200-kmdl-2.6.18-164.10.1.el5-1.2.0-45.2.0.1.el5.i686.rpm
from [URL] How to remove them completely? The ipw2200 driver complains that it could not agree with certain symbols in ieee80211 module. Before taking another route, I would like to know how to completely remove the files installed by these driver packages.
When I run yum list installed command the output shows two kernels:
[Code].....
Would it therefore be safe to remove the first kernel in the installed list to save having two kernels being updated everytime I run yum update? Or is the PAE kernel dependant upon the original?
after update to kernel-2.6.18-164.el5 one of the 2 NIC's of my machine are only found at 1 of 4 reboots. Using the old one kernel-2.6.18-128.7.1.el5 all is fine. This are the to NIC's:
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0b.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0c)
And the Intel one, makes the problems with the new kernel.
I compiled my kernel, compiled scsi support into kernel, used the new kernel and initrd, the boot failed.Then ,i unzip my initrd, found that sd_mod.ko can't be insert, i added it manual, and reboot OK.so, why! in the kernel configure , the sd_mod.ko is set to <M> , but why it can't be found in initrd?
View 1 Replies View RelatedThe server runs# uname -r2.6.18-128.4.1.el5However, today I executed yum update kernel*due to security advisory. I was just about to reboot the system when I realized that it runs VMWare Server Instance that will most likely fail to restart after kernel upgrade (I had a hard time fixing it after previous kernel update). Now I want to keep 2.6.18-128.4.1.el5 after reboot.I see that new kernel is scheduled for booting:
# cat /etc/grub.conf
default=0
timeout=20
[code]....
I'm running CentOS 5.3 and would like to know what the "best" or "proper" method is to build a custom kernel using the generic kernel sources from kernel.org. Most of the references I've found talk about modifying the current CentOS kernel using the RPM way. I really want to have the latest kernel due to some important security issues that haven't been addressed in the current CentOS 5.3 kernel.
View 6 Replies View RelatedI'm having issues with the current kernel is lucid ..Is it safe to issue "apt-get remove 2.6.32-29-server" to remove the current kernel ? Will aptitude automatically configure grub2 to boot on the previous kernel ?
View 2 Replies View Relatedi have 3 kernels on my ubuntu 10.10 (2.6.35-22; 2.6.35-23; 2.6.35-24). i tried to remove the oldest kernel 2.6.35-22 through synaptic manager, but it says that the kernel is not installed on the system. in fact, all the kernels i have on my system were shown as not installed. when i right-click it highlights only 'mark for installation'. so i tried to remove it from the terminal using the command:
sudo apt-get remove linux-headers-2.6.20-15 linux-headers-2.6.20-15-generic linux-image-2.6.20-15-generic --purge
it processes and show that it has been deleted. then i typed:
sudo update-grub2
it showed the grub2 without the deleted kernel. then i restarted, but it was still there. then i logged into the latest kernel (2.6.35-24) and typed:
sudo update-grub
it showed everything including the deleted kernel. then i typed:
sudo update-grub2
and it now showed everything, including the deleted kernel. i thought it was a problem with grub showing deleted entries, so i tried to boot the deleted kernel (2.6.35-22) and surprisingly it booted very well, no hicks or slows. i rebooted into the latest kernel and then tried to re-run the kernel delete command via the terminal, but it said that the old kernel (2.6.35-22) is not installed.
i don't know what's wrong. how do i delete the 2.6.35-22 kernel and update my grub/grub 2?
***besides, my grub is stil GRUB 1.xx version. but how come i still have / can run grub and grub2 on my system? and is also can update both grubs?
the correct way to remove custom kernels? I was trying to install a driver and only got it half way right and I want to wipe the slate clean and try again.Here's the original:Debian GNU/Linux, kernel 2.6.26-2-amd64root(hd0,4)kernel/boot/vmlinuz-2.6.26-2-amd64 root=UUID=64dcc531-f5b0-47e8-99c4-abeecfab9353 ro quietinitrd/boot/initrd.img-2.6.26-2-amd64
View 2 Replies View RelatedI installed 2.6.34 and no longer need 2.6.32-21. When I go into the package manager and mark it for removal...It looks like it tries to install 2.6.32-22 and 2.6.32-22 Generic and then upgrade Linux-headers-generic.
View 4 Replies View RelatedI compiled the kernel 2.6.36.I want to remove it.How sholud i proceed?
View 1 Replies View RelatedI have inserted a module with modprobe. However it seems to have problem.
1- How can I remove the module from modprobe?
2- If I reboot and the kernel can not boot up because of this faulty module, how can I remove it?
I'm trying to install VMWare server on my Kubuntu box and it's telling me there are 3 "kernel modules" that it needs me to remove (apparently they were installed previously and VMWare isn't liking that).How do I remove them? Never messed with the kernel modules before.
View 4 Replies View RelatedThe latest kernel(2.6.32.9-67) is causing problems for my laptop.What are the best practices for safely removing a kernel?( Yum wants to remove gcc and friends also...)How can one prevent Software Update from relisting the bad boy?
View 6 Replies View RelatedSorry if it is a dumb question (i'm coming from deb/ubuntu and i'm totally new to rpm - installed Smeegol on a Samsung N150). After some try&error i finally got my Broadcom4313 working but underway to that i got lots of new kernels and now i don't understand not so much anymore.
I think the kernel default-devel it was me installing it using the distribution manager to get working make (for trying to install the original Broadcom driver package; i stopped that attempt because i didn't where exactly to move/cp the built driver).
I have this broken package nvidia-kernel-common, I don't have Nvidia HW andI'm using ATI.
I tried to remove/purge/install this package since I saw it was broken but without any help.
This is the output that I have:
Quote:
sudo apt-get remove nvidia-kernel-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code].....
I got this problem where my USB ports don't work. So if I do the command:
modprobe -r ehci_hcd
it fixes it. I can put it in the /etc/rc.local so that it runs every time when the server reboots. But, I want the ehci module removed without ever being loaded because sometimes the server goes through an fsck and the module is loaded and therefore I cannot use my IPMI to access the server.
I believe that my kernel has it within it because blacklisting the module does not work. I've tried remaking the initrd with this:
add module to /etc/modprobe.d/blacklist
mkinitrd -f /boot/initrd-$(uname-r).img $(uname -r)
and that didn't work. I've searched on how to do it but nothing is really clear. I would like to know what the command would be to do this. I use Fedora 8.
I would like the ehci_hcd module to not be loaded so that if the server goes through an fsck, the module is still not loaded.
The first server I installed installed fine. The second server, installed with the same config, went to "kernel panic not syncing no init found try passing init= option in kernel" error. I tried reinstalling but it keeps going to that error after install reboot. The storage is ISCSI connected via Intel Server Adapter, which allows it to boot from ISCSI. Not sure if that's the cause for the problem, but the first server is connected to the same ISCSI and installed just fine.
Is there a way that I can make sure ISCSI module installs during installation? Although I think it is installed since it's able to copy the files and setup /dev/sda. I just wana make sure that it installs during setup.
I built a home server (NAS/WWW/SSH/media server etc) and chose CentOS 5 as the OS (stability, easy of configuration).I was just about to start tuning the power consumption when I realised that the kernel CentOS uses is so "old" that it does not support the latest reduced power consumption enhancements that Linux has achieved in big strides in the recent past (we are probably still talking 6-12+ months ago e.g. tickless kernel)..
So my questions; 1) I know CentOS was maybe not meant for home servers (certainly its not its primary purpose), but if it is, any ideas of what kind of power consumption it takes (I know its relative) and if there are particular power consumptions that are worthwhile?
2) Do you recommend me compiling my own 2.6.21+ kernel from kernel.org or am I just likely to have compatibility issues (I really did not want to do that) or when is CentOS 5.4 supposed to have a newer 2.6.21+ version kernel?
Was it wrong of me in principle to choose CentOS for a home server when I am power conscious? (I don't have a low-power VIA processor either but a P4 so I am really just hoping to make do with software changes).
How do I remove the extra Kernels from my boot menu as listed below?
View 3 Replies View RelatedI am an old days RH release user(from 6.x) and just switching back from Debian/Ubuntu to CentOS on some servers, but I can not understand the kernel update strategy currently enabled in CentOS.There are two boxes, with almost identical installation, but recently there was an auto update of kernel on one box. This auto update also seems to issue an auto reboot on the machine, which is unacceptable on server machines.
View 2 Replies View RelatedI'm setting up a raid 5 on several hard disks with a layer of lvm on top for good measure.I know the recent kernels support growing software raid, but since centos runs 2.6.18, I wanted to make sure it'll work. Does the centos kernel support growing raid devices?
View 1 Replies View Relatedwe have done a minimall install of centOS. We don't use software RAID, and after doing a "lsmod" we see a lot of modules loaded we dont need.
So I tried to remove the DMRAID because we don't need it. I'have added the dm_mirror, and dm_raid45 to both /etc/modprobe.d/blacklist:
blacklist dm_raid45
blacklist dm_message
blacklist dm_log
blacklist dm_log
blacklist dm_mod
[Code]...
now i want to remove to due to upgrade the system using the latest centos system, but now i cant remove it, try to format my desktop also cannot. when im entering the bios its show GNU GRUB. im also need to install xp for my new study project..
View 2 Replies View RelatedI've only a small /boot sector and
rpm -qa | grep kernel
kernel-2.6.31.12-174.2.22.fc12.i686
kernel-PAE-devel-2.6.32.9-70.fc12.i686
kernel-PAE-2.6.32.9-70.fc12.i686
kernel-2.6.32.9-67.fc12.i686
abrt-addon-kerneloops-1.0.8-2.fc12.i686
I'm using the PAE kernels, need the devs for nvidia kernel building,can I remove all the non PAE kernels without damage please?
I was wondering how can I determine among the modules loaded at boot which of them are really necessary and which are not, in order to reduce the boot process time and have a more "elegant" system start.
I know this theme is a little bit of complicated because it depends of the user's point of view and demand a high knowledge of which things are happening in your system but I need somewhere to start improving the performance of my debian system.
The latest installed kernel stopped working. ( 2.6.35.13-92.fc14.i686) It won't boot. I just get black screen with blinking cursor in top left corner. How do I, or can I, remove and reinstall?
View 4 Replies View RelatedNow I've got debug, default, desktop, ec2, trace, vanilla, xen installed im my system. I usually only boot with desktop, and I was wondering if it is OK to remove other stuff except debug, default, and desktop.
View 4 Replies View Related