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?
On 11/15/2016 03:58 PM, 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? _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
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.
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?
On Wed, 16 Nov 2016, Matt wrote:
Can I just change yum.conf with the setting installonly_limit=2 to limit kernels installed too two?
I really wouldn't. You can scrape by with that if you also make sure you don't have dracut-config-rescue installed, but you can find yourself struggling even with that, and so have to micromanage even further. Upgrade a kmod, watch /boot fill up, and find yourself in a bad place.
If you only had it set to 200M, I'd reinstall now. If you had it set to 500M, you'd cope.
jh
500 MB should be fine for the /boot partition. I believe that is the default with minimal installations on both CentOS 6 and 7.
-- Paul Norton
On Wed, Nov 16, 2016 at 8:49 AM, John Hodrien J.H.Hodrien@leeds.ac.uk wrote:
On Wed, 16 Nov 2016, Matt wrote:
Can I just change yum.conf with the setting installonly_limit=2 to
limit kernels installed too two?
I really wouldn't. You can scrape by with that if you also make sure you don't have dracut-config-rescue installed, but you can find yourself struggling even with that, and so have to micromanage even further. Upgrade a kmod, watch /boot fill up, and find yourself in a bad place.
If you only had it set to 200M, I'd reinstall now. If you had it set to 500M, you'd cope.
jh
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
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