Delete old kernel
Hello everyone and welcome back to the Linux world. Today I will explain in a few short steps how to get rid of the old linux kernel. On Ubuntu it is very simple, just go in package manager and search linux-image-2.6. (Old kernel)
, remove the check and confirm. For the derivatives of ubuntu the process is very similar. If we are on Fedora, let's check what are the old kernel installed on your system by typing from a terminal with root user permissions the following command:
rpm-qa Fedora leaves 3 old kernel installed on your system.
Now we have checked the version that we are interested in clear, always with root permissions type:
rpm-e kernel-2.6. (Old kernel)
.
Let's check that everything has been removed from the system. First we go to
/ lib / modules
and if the system has erased all traces of the kernel not finding the folder of the kernel removed. If the folder is still going to delete it manually from terminal with the command:
rm-rf / lib/modules/2.6. (Old kernel)
We are now in / boot /
go to delete files which relate to the old kernel are:
config-2.6. (old kernel)
initramfs-2.6. (old kernel)
System.map-2.6. (old kernel)
vmlinuz-2.6 . (old kernel)
As we enter the last thing grub folder and open the file menu.lst
We're going to delete the entry that refers to the kernel removed earlier.
The part to be deleted will be very similar to this: title Fedora (kernel 2.6.vecchio)
root (hd0, 0)
kernel / kernel boot/vmlinuz-2.6.vecchio ro root = UUID = 00d4e909 -d5aa-473b-b3e2-f85bbb6c2a17 noiswmd en_GB.UTF-8 LANG = = SYSFONT latarcyrheb-sun16 KEYBOARDTYPE = pc = en KEYTABLE
rhgb quiet initrd / kernel boot/initramfs-2.6.vecchio
From next reboot will not find the voice of the kernel and unused we will have more free space on your hard.
E 'recommended asset test for the new kernel before you delete the old one.
0 comments:
Post a Comment