Minimum space requirement for /boot partition
Solution 1
The /boot
partition contains the GRUB configuration, the kernel with their System.map, 1GB should be enough.
Name | Size
/boot | 250MB ~ 1GB
swap | at least size of RAM
/ | minimum 8 GB, at least 15 GB recommended
Solution 2
"Can we create this partition equal to the Size of all file like GRUB,Kernel and Initrd?"
This may work at first but would be insufficient for a working system.
The system will keep several kernels around in case you need to fall back to a previous kernel. The number of kernels vary and sometime are not cleared out properly causing your boot partition to fill up. This can lead to complications that are not too hard to fix, but are annoying nonetheless.
Related videos on Youtube
Umyhacker
[Find me on Facebook] www.facebook.com/umyhacker [Youtube Channel]
Updated on September 18, 2022Comments
-
Umyhacker over 1 year
One question arise in my mind during the installation of ubuntu that what are the minimum space requirement for the /boot partition ?
Because only the kernel, GRUB and initrd file are present in this section of linux. So I want to know what is the minimum sapce require to create this prtition?
Can we create this partition equal to the Size of all file like GRUB,Kernel and Initrd ?
-
Umyhacker about 10 yearsthnxxx :) its help me a lot
-
Rod Smith about 10 yearsI'd say that 1GB is more than enough. The last I checked, Fedora (which uses a separate
/boot
partition by default) created one of ~500MB by default. That said, with today's disks commonly exceeding 1TB in size, 1GB (1/1000 of a 1TB disk's capacity) is not likely to be a strain. -
gerlos over 6 yearsI agree with @dan08. It depends on system configuration, I'd say that a wise choice is a size bigger than grub + 3*(kernel + initrd). On a typical Ubuntu system each kernel requires to put less than 60 MiB in /boot, so 500 MB or 1 GB are enough for sure.