Re: undo make install how

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

 



Pat LaVarre wrote:
> I see Google instructs me clearly on lk 2.4 and lk 2.6 makes, up thru
> `make install`, but so far I've missed the explanation of the very next
> step:
>
> How to recover the disk space I spend via `make modules_install` and
> `make install`?
>
> Anybody know how?

your kernel installs two things (at least...):

1. compressed kernel image (bzImage) that should be located in /boot 
directory. it may be named bzImage-2.x.xx or something like that. make sure 
you find the one you have installed, not your system's running kernel!!! you 
way want to look up your system's kernel in /etc/lilo.conf of grub's config.

2. "make modules" installs kernel modules in /lib/modules/2.x.xx. so if you 
have compiled 2.4.22, it will be /lib/modules/2.4.22. just delete the whole 
dir and that's all.

by the way, i never use "make install". i usually go to 
/usr/src/linux-2.x.xx/arch/i386/boot and find my bzImage there - i copy it 
where i want it to be and then modify /etc/lilo.conf accordingly. i do use 
"make modules_install", though.


good luck!


Artemio.

--
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