[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Boot better have mounted on root or /boot ?



On Sun, Apr 11, 2021 at 02:33:22PM -0400, Felix Miata wrote:
On Thu 08 Apr 2021 at 14:37:59 (+0200), Marco Ippolito wrote:

What would you consider in your future planning regarding sizing /boot?
										
root@asa88:/boot# du -sh .
769M    .

You'll find that most of the space in boot is probably taken up by initrd images. If you change MODULES in the /etc/initramfs-tools/initramfs.conf file to "dep" (and rebuild initrds) you'll probably reduce the size of those significantly, by only including modules that you actually use. (Note: if you're planning to change your hardware you'll probably want an initrd built with "most" modules so it will include drivers for hardware you don't have installed!) Similarly you'll find that most of the space in the kernel packages is in /lib/modules, not /boot.


Reply to: