Click to See Complete Forum and Search --> : Redhat9 Kernel updates?


Menthol
07-24-2003, 02:09 PM
Redhat9 Kernel updates?

I have used the automated update thru redhat network and have recieved a number of kernel updates including sources for them.

Can I now just delete the old kernels and sources?
If so where are they and how to delete them?

Thanks.

serz
07-24-2003, 02:33 PM
The sources are probably under the /usr/src dir.

I would suggest you to not remove the old kernel/sources until you're sure that the new kernel is working ok, without any problems.

Menthol
07-24-2003, 02:56 PM
I did do a reboot and everything seems to be running fine.

Do I dare to maybe just maybe move them to another directory and and if everything is working ok then remove them?

I also did install some accelerated video drivers that needed to be compiled against the old kernel, so if i now remove/move the old files will it mess up my video?

The drivers were for a ATI Rage LT Pro on this laptop.:confused:

mdwatts
07-24-2003, 03:00 PM
If the results from

rpm -qa | grep kernel-source

show the new kernel version, then you will need to manually remove /usr/src/linux-<old kernel version> plus

/lib/modules/<old kernel version>

plus

/boot/vmlinuz-<old kernel version>

and

/boot/System.map-<old kernel version>

That will remove everything from the old kernel.

< searching keywords >

remove delete old previous kernel modules

chrism01
07-25-2003, 06:20 AM
FYI, last time I did an
rpm -e kernel....
it also amended the grub.conf file for me :)
Can't remember if i checked the vmlinuz, but i think it does that as well...