Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] deleting old kernels for /boot ?


just noticed my /boot was reasonbly full
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1              45M   37M  7.0M  84% /boot

should I make some more space on it by removing older kernels ?

can I just delete lower numbered kernels from here, OR ?

looking there, I have:

[root@koala boot]# ls -l | more
total 32619
-rw-r--r--    1 root     root         5824 Jun 25  2001 boot.b
-rw-r--r--    1 root     root          612 Jun 25  2001 chain.b
-rw-r--r--    1 root     root        40632 Jun 11  2002 config-2.4.18-5
-rw-r--r--    1 root     root        44764 May 29  2003 config-2.4.20-18.7
-rw-r--r--    1 root     root        44753 Jul 16  2003 config-2.4.20-19.7
-rw-r--r--    1 root     root        44753 Aug 19  2003 config-2.4.20-20.7
-rw-r--r--    1 root     root        44753 Dec  2 05:42 config-2.4.20-24.7
-rw-r--r--    1 root     root        44762 Dec 12 07:11 config-2.4.20-27.7
-rw-r--r--    1 root     root        44762 Dec 19 03:38 config-2.4.20-28.7
drwxr-xr-x    2 root     root         1024 Jan 12 19:15 grub
-rw-r--r--    1 root     root       121956 Jun 23  2003 initrd-2.4.18-5.img
-rw-r--r--    1 root     root       129543 Jun 25  2003
initrd-2.4.20-18.7.img
-rw-r--r--    1 root     root       126839 Jul 28  2003
initrd-2.4.20-19.7.img
-rw-r--r--    1 root     root       123057 Aug 26  2003
initrd-2.4.20-20.7.img
-rw-r--r--    1 root     root       125956 Dec  5 00:10
initrd-2.4.20-24.7.img
-rw-r--r--    1 root     root       124368 Dec 25 21:35
initrd-2.4.20-27.7.img
-rw-r--r--    1 root     root       122835 Jan 12 19:15
initrd-2.4.20-28.7.img
-rw-r--r--    1 root     root          473 Jun 25  2003 kernel.h
drwx------    2 root     root        12288 Jun 23  2003 lost+found
-rw-r--r--    1 root     root        23108 Jun 25  2001 message
lrwxrwxrwx    1 root     root           23 Jan 12 19:15 module-info ->
module-in
fo-2.4.20-28.7
--More--
-rw-r--r--    1 root     root        14431 Jun 11  2002 module-info-2.4.18-5
-rw-r--r--    1 root     root        15438 May 29  2003
module-info-2.4.20-18.7
-rw-r--r--    1 root     root        15438 Jul 16  2003
module-info-2.4.20-19.7
-rw-r--r--    1 root     root        15438 Aug 19  2003
module-info-2.4.20-20.7
-rw-r--r--    1 root     root        15438 Dec  2 05:42
module-info-2.4.20-24.7
-rw-r--r--    1 root     root        15438 Dec 12 07:11
module-info-2.4.20-27.7
-rw-r--r--    1 root     root        15438 Dec 19 03:38
module-info-2.4.20-28.7
-rw-r--r--    1 root     root          640 Jun 25  2001 os2_d.b
lrwxrwxrwx    1 root     root           22 Jan 12 19:15 System.map ->
System.map
-2.4.20-28.7
-rw-r--r--    1 root     root       484863 Jun 11  2002 System.map-2.4.18-5
-rw-r--r--    1 root     root       505327 May 29  2003
System.map-2.4.20-18.7
-rw-r--r--    1 root     root       505471 Jul 16  2003
System.map-2.4.20-19.7
-rw-r--r--    1 root     root       505471 Aug 19  2003
System.map-2.4.20-20.7
-rw-r--r--    1 root     root       505471 Dec  2 05:42
System.map-2.4.20-24.7
-rw-r--r--    1 root     root       505797 Dec 12 07:11
System.map-2.4.20-27.7
-rw-r--r--    1 root     root       505797 Dec 19 03:38
System.map-2.4.20-28.7
-rwxr-xr-x    1 root     root      2909106 Jun 11  2002 vmlinux-2.4.18-5
-rw-r--r--    1 root     root      2993373 May 29  2003 vmlinux-2.4.20-18.7
-rw-r--r--    1 root     root      2989435 Jul 16  2003 vmlinux-2.4.20-19.7
-rw-r--r--    1 root     root      2989435 Aug 19  2003 vmlinux-2.4.20-20.7
-rw-r--r--    1 root     root      2989435 Dec  2 05:42 vmlinux-2.4.20-24.7
-rw-r--r--    1 root     root      2993917 Dec 12 07:11 vmlinux-2.4.20-27.7
-rw-r--r--    1 root     root      2993917 Dec 19 03:38 vmlinux-2.4.20-28.7
--More--
-rw-r--r--    1 root     root       484863 Jun 11  2002 System.map-2.4.18-5
-rw-r--r--    1 root     root       505327 May 29  2003
System.map-2.4.20-18.7
-rw-r--r--    1 root     root       505471 Jul 16  2003
System.map-2.4.20-19.7
-rw-r--r--    1 root     root       505471 Aug 19  2003
System.map-2.4.20-20.7
-rw-r--r--    1 root     root       505471 Dec  2 05:42
System.map-2.4.20-24.7
-rw-r--r--    1 root     root       505797 Dec 12 07:11
System.map-2.4.20-27.7
-rw-r--r--    1 root     root       505797 Dec 19 03:38
System.map-2.4.20-28.7
-rwxr-xr-x    1 root     root      2909106 Jun 11  2002 vmlinux-2.4.18-5
-rw-r--r--    1 root     root      2993373 May 29  2003 vmlinux-2.4.20-18.7
-rw-r--r--    1 root     root      2989435 Jul 16  2003 vmlinux-2.4.20-19.7
-rw-r--r--    1 root     root      2989435 Aug 19  2003 vmlinux-2.4.20-20.7
-rw-r--r--    1 root     root      2989435 Dec  2 05:42 vmlinux-2.4.20-24.7
-rw-r--r--    1 root     root      2993917 Dec 12 07:11 vmlinux-2.4.20-27.7
-rw-r--r--    1 root     root      2993917 Dec 19 03:38 vmlinux-2.4.20-28.7
lrwxrwxrwx    1 root     root           19 Jan 12 19:15 vmlinuz ->
vmlinuz-2.4.2
0-28.7
-rw-r--r--    1 root     root      1049831 Jun 11  2002 vmlinuz-2.4.18-5
-rw-r--r--    1 root     root      1073013 May 29  2003 vmlinuz-2.4.20-18.7
-rw-r--r--    1 root     root      1073440 Jul 16  2003 vmlinuz-2.4.20-19.7
-rw-r--r--    1 root     root      1072279 Aug 19  2003 vmlinuz-2.4.20-20.7
-rw-r--r--    1 root     root      1072329 Dec  2 05:42 vmlinuz-2.4.20-24.7
-rw-r--r--    1 root     root      1072424 Dec 12 07:11 vmlinuz-2.4.20-27.7
-rw-r--r--    1 root     root      1072489 Dec 19 03:38 vmlinuz-2.4.20-28.7
#