How to: Linux delete or remove kernel
A. Linux Kernel and related files are stored in following locations:
=> /boot - Stores actual kernel and related file such system man and initrd images,
=> /etc or /boot/grub - Stores grub.conf file (most distro use /boot/grub these days).
=> /iib/modules/KERNEL-VERSION/* - Linux device drivers (modules)
.deb based distro - Debian or Ubuntu Linux
Again find out all installed kernel version:
$ dpkg --list | grep kernel-image
Now remove kernel-image-2.4.27-2-386 with apt-get command itself:
# apt-get remove kernel-image-2.4.27-2-386
OR
$ sudo apt-get remove kernel-image-2.4.27-2-386
If you have custom compiled kernel you need to remove following files/dirs:
* /boot/vmlinuz*KERNEL-VERSION*
* /boot/initrd*KERNEL-VERSION*
* /boot/System-map*KERNEL-VERSION*
* /boot/config-*KERNEL-VERSION*
* /lib/modules/*KERNEL-VERSION*/
*update grub2
update-grub
피드 구독하기:
댓글 (Atom)
sublime close without confirmation
Close without confirm Yes, you can just write a plugin to set the view as scratch and close it. Then create a keybinding for that c...
-
http://askubuntu.com/questions/21934/how-to-change-the-binding-of-windows-key-which-runs-unitys-dash just installed Ubuntu 11.04 and I w...
-
https://forums.virtualbox.org/viewtopic.php?t=11234 How to freeze date/time in VirtualBox? this can be achived by editi...
-
1 . download update 2. put a update file to localdata store directory 3 use command below esxcli software vib update -d "PATH TO A PATC...
댓글 없음:
댓글 쓰기