I need disk space and there are too may files in my /boot what ensential files should be there in theory, regards, piet
I need disk space and there are too may files in my /boot what ensential files should be there in theory,
This is not security related, but I would leva all untouched in /boot. There is the bootloader, your kernel, your boot logo and so on. If you placed there some extra unneeded stuff then delete it. Here is my /boot: philippe@wtweb:~> cd /boot/ philippe@wtweb:/boot> ls System.map-2.4.19-4GB boot.0805 lost+found vmlinuz.autoconf.h aide.db grub message vmlinuz.config boot initrd vmlinux.gz vmlinuz.shipped boot.0800 initrd.shipped vmlinuz vmlinuz.version.h I only put my aide.db here (partition /root is read only). The rest is essentially needed. Philippe
Hi !
philippe@wtweb:~> cd /boot/ philippe@wtweb:/boot> ls System.map-2.4.19-4GB boot.0805 lost+found vmlinuz.autoconf.h aide.db grub message vmlinuz.config boot initrd vmlinux.gz vmlinuz.shipped boot.0800 initrd.shipped vmlinuz vmlinuz.version.h
I only put my aide.db here (partition /root is read only). The rest is essentially needed.
--> Not all of it. If you don't have multiple boot configurations in the boot menu, it is enough with one set of files, i.d. only 1 "boot" file only 1 "initrd" only 1 "vmlinuz" a.s.o. To test it: rename one set of files. If you still can boot properly, you can delete the renamed files. If you cannot boot, insert your SuSE CD and start the rescue system. Then rename the files to their original name again. Have a look in your /etc/lilo.conf file to see which boot configurations you have on your computer. Bye, Armin -- Am Hasenberg 26 office: Institut für Atmosphärenphysik D-18209 Bad Doberan Schloss-Straße 6 Tel. ++49-(0)38203/42137 D-18225 Kühlungsborn / GERMANY Email: schoech@iap-kborn.de Tel. +49-(0)38293-68-102 WWW: http://armins.cjb.net/ Fax. +49-(0)38293-68-50
Sorry for beeing OT, but I couldn't resist also :) * Armin Schöch wrote on Sat, Nov 23, 2002 at 08:51 +0000:
To test it: rename one set of files. If you still can boot properly,
I guess he can boot, since the boot loader does not use the file system to access the files.
you can delete the renamed files.
Even then the system should boot - until somewhat overwrites the kernel. This may happen weeks later when nobody remembers about image deletion. Bad Thing.
Have a look in your /etc/lilo.conf file to see which boot configurations you have on your computer.
Yes, this should be the way to go. Configure lilo, remove unwanted images, rename or remove unwanted images, execute lilo, make sure there are no errors and reboot. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel.
participants (4)
-
Armin Schöch
-
Philippe Vogel
-
Piet Roorda
-
Steffen Dettmer