Removing custom kernels?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 2005-05-09 at 07:50 -0700, Preston Crawford wrote:
> Is this possible. I did my first one yesterday in order to get my iPod
> mini to work with the EL kernel. It worked well. Everything went
> smoothly, but I don't like what I named it. So I'd like to take one more
> shot at it. If I do, is there a way to remove the old one cleanly?
> Modules and everything.
> 
> Also, if do recompile the kernel again, do I need fresh source, or can I
> just do a make clean, rename the setting in the Makefile for the name,
> then go through all the usual steps.
> 

Yes ... make clean, change the name in the Makefile, redo what you want
and build.

There is no way to remove it automatically (if you didn;t make it as an
RPM) ... but it should be fairly easy since all the modules should be
in /lib/modules/kernel_name (so after you reboot on your new kernel and
it works, remove that /lib/modules directory) ... and everything else
you need to remove should be in /boot (the initrd-xxxx.img and vmlinuz-
xxxxx).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20050509/5252164a/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux