6

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 ?

2 Answers2

6

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

Source

5

"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.

Dan
  • 6,784