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