[CentOS] Centos 7 Boot Partition

m.roth at 5-cent.us m.roth at 5-cent.us
Wed Nov 16 19:21:09 UTC 2016


Matt wrote:
>>> What size is recommended for the /boot partition?  After doing a fresh
>>> install and lengthy backup restore I realized I only made it 200M.  Is
>>> this going to be a problem?
>>
>> Mine was about 500 MB and I removed some kernels because I got a warning
>> the partition was getting full.
>>
>> With only two kernels installed, 182 MB are used. I would suggest 1 GB
>> and I believe that is what CentOS 7.3 will do by default.
>
> Can I just change yum.conf with the setting installonly_limit=2 to
> limit kernels installed too two?

Sorry, but I don't advise that. A few years back we had a few machines
running fedora, and at, was it 17? - they added preupgrade, they were
building and stuffing a *lot* of stuff in /boot, and were recommending at
least 500M. We just went to a 1G /boot by default.

        mark




More information about the CentOS mailing list