Hi,
Below are the kernel rpms I have, the one I run is marked with ^. I removed those marked with * using rpm -e command.
When I did a reboot of the machine, grub automatically loaded the kernel marked with !, but it hanged at "Configuring kernel parameters". I chose the previous running kernel (marked with ^ below) at grub menu at the next reboot, and it was booted successfully.
What is the reason for the hang up? Is the kernel rpm corrupted? I did a rpm -V on that package and it was fine.
Thanks and regards, ZM
------------------------------------------- *kernel-2.6.5-1.358.rpm *kernel-2.6.6-1.435.2.1.i686.rpm *kernel-2.6.6-1.435.2.3.i686.rpm *kernel-2.6.6-1.435.i686.rpm *kernel-2.6.7-1.494.2.2.i686.rpm *kernel-2.6.8-1.521.i686.rpm *kernel-2.6.9-1.3_FC2.i686.rpm kernel-2.6.9-1.6_FC2.i686.rpm kernel-2.6.9-1.11_FC2.i686.rpm kernel-2.6.10-1.8_FC2.i686.rpm kernel-2.6.10-1.9_FC2.i686.rpm
*kernel-smp-2.6.5-1.358.rpm *kernel-smp-2.6.6-1.435.2.1.i686.rpm *kernel-smp-2.6.6-1.435.2.3.i686.rpm *kernel-smp-2.6.6-1.435.i686.rpm *kernel-smp-2.6.7-1.494.2.2.i686.rpm *kernel-smp-2.6.8-1.521.i686.rpm *kernel-smp-2.6.9-1.3_FC2.i686.rpm ^kernel-smp-2.6.9-1.6_FC2.i686.rpm kernel-smp-2.6.9-1.11_FC2.i686.rpm kernel-smp-2.6.10-1.8_FC2.i686.rpm !kernel-smp-2.6.10-1.9_FC2.i686.rpm --------------------------------------------
Alexander Dalloz wrote:
Am Di, den 18.01.2005 schrieb Choo Zhi Min um 3:37:
My FC2 /lib/modules now has 22 directories (from kernel 2.6.5 to 2.6.10 including SMP kernel), taking up a total of 950+MB of disk space. The "/" partition is only 1.2GB, and now low on disk space because of the kernel modules files in /lib/modules. When the next kernel update comes, it will definitely run out of space.
How can I free more space from /lib/modules? Can I just delete the old kernel modules files? Or yum uninstall? I have excluded kernel update in yum for the moment.
ZM
Yes, you can simply uninstall the old kernels.
rpm -qa | grep kernel | sort
Check which kernel you run to not erase that one: uname -r
Then you can remove the old kernels with a command like following (kernel versions you got above):
rpm -e kernel-2.6.10-1.8_FC2 kernel-2.6.9-1.6_FC2 kernel-2.6.9-1.11_FC2
If you don't have self compiled modules or other custom stuff in the modules directories, they will be erased completely.
Alexander