Re: deleting compiled versions of kernel

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

 



Cristina Rivera (cris_apricot@hotmail.com) wrote:
> Hi there,
> 
> I have three or four diferent versions of the same version of the kernel 
> compiled and I need to delete some  of them so that I get the two versions  
> that I really use for working.
> 
> What r the steps I have to follow to completely delete a version of the 
> kernel that I don't need?

I think you must use EXTRAVERSION in kernel Makefile. I explain:
If you have kept your configs. Specify different EXTRAVERSION, which give
you different directory such as /lib/modules/2.6.7-work/.
So, you will have the bzImage, System.map, and /lib/modules/version
for the different version of the same kernel.

If you don't have made this, and have the same /lib/modules/version ; if you delete
/lib/modules/version, all kernels will not have modules.

Afterwards, you will be able to delete files as other said.

HTH
-- 
Amicalement

Christophe 

* GNU/Linux & UNIX developer and network administrator
* Membre RotomaLUG (http://www.rotomalug.org)
* Registered User #271267
* Email: c.lucas@ifrance.com
* Web Site: http://odie.mcom.fr/~clucas/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux