28.03.2024, 14:50 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]
Letzte Änderung am 2006-08-08 04:39:25 von Richard

Erweiterungen:
Be careful, you should not change the script!!!
The script removes all unused kernels!


Löschungen:
Be carefull, you should not change the script!
The script removes all unused kernels!



Editiert am 2006-08-08 04:38:36 von Richard

Erweiterungen:
Be carefull, you should not change the script!

Löschungen:
Be carefull, you should not change the script!


Editiert am 2006-08-08 04:38:07 von Richard

Erweiterungen:
Be carefull, you should not change the script!

Löschungen:
!!(red) Be carefull, you should not change the script! !!


Editiert am 2006-08-08 04:36:46 von Richard


Editiert am 2006-08-08 04:34:26 von Richard proofing

Erweiterungen:
!!(red) Be carefull, you should not change the script! !!

Löschungen:
:rot:be carefull, you should not change the script !!!:rot:


Editiert am 2006-08-07 23:19:21 von Richard proofing

Erweiterungen:

Old Kernel Cleanup

Well, Kano builds a new kernel when new features or security patches are needed. So you can install them but somehow you must deinstall the old ones, otherwise your hard disk will become full of kernels.
Kano has already prepared a Remove-Script for that remove-all-kernels, get it with the following:
and make it executable


Löschungen:

Old-Kernel cleanup

Well, Kano builds a new kernel when new features or security patches are needed.
So you can install them but somehow you must deinstall the old ones...otherwise your harddisk will turn full of kernels..
Kano has already prepared a Remove-Script for that http://kanotix.com/files/fix/remove-all-kernels-completely.sh , get it with
make it executable



Editiert am 2006-06-19 19:08:17 von cokeinthebottle

Erweiterungen:
#!/bin/sh
done


Löschungen:
:code:#!/bin/sh
done:code:



Editiert am 2006-06-19 19:07:38 von cokeinthebottle

Erweiterungen:
wget http://kanotix.com/files/fix/remove-all-kernels-completely.sh

chmod 755 remove-all-kernels-completely.sh

mv remove-all-kernels-completely.sh /usr/local/bin


Löschungen:
:code:wget ::
:code:chmod 755 remove-all-kernels-completely.sh:code:
:code:mv remove-all-kernels-completely.sh /usr/local/bin:code:



älteste bekannte Version dieser Seite wurde bearbeitet am 2005-08-14 12:07:16 von CokeintheBottle [ ]

Old-Kernel cleanup


Well, Kano builds a new kernel when new features or security patches are needed.

So you can install them but somehow you must deinstall the old ones...otherwise your harddisk will turn full of kernels..

Kano has already prepared a Remove-Script for that http://kanotix.com/files/fix/remove-all-kernels-completely.sh , get it with

:code:wget ::
make it executable

:code:chmod 755 remove-all-kernels-completely.sh:code:
and then better move it into /usr/local/bin

:code:mv remove-all-kernels-completely.sh /usr/local/bin:code:


:rot:be carefull, you should not change the script !!!:rot:



Start your System with the kernel you want to keep.

:code:#!/bin/sh
cd /boot
for v in vmlinuz-*; do
KERNEL=$(echo $v|sed s/vmlinuz-)
if [ "$KERNEL" != "$(uname -r)" ]; then
apt-get remove --purge $(COLUMNS=200 dpkg -l|awk '{print $2}'|grep $KERNEL)
rm -rf /lib/modules/$KERNEL
rm -rf /usr/src/kernel-headers-$KERNEL
rm -rf /usr/src/linux-$KERNEL
fi
done:code:

The script removes all unused kernels!
:-)
Letzte Revision :
Letzter Editor :
Eigentümer :
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.