[CentOS] /boot partition too small
KM
info4km at yahoo.com
Tue Oct 10 19:05:56 UTC 2017
Do i need to do something special or is it as easy as:
- save the contents of the current /boot - umount /boot and change the /etc/fstab so it doesn't mount again- create a boot directory that is in the root filesystem- copy the contents back
I realize the physical/current /boot will be a waste of space but it's not that big so it's fine.
I thought i probably have to make configuration changes of some sort.
Again I apologize in advance since I am not really good at this (partition/file system). I have tried searching but am never sure exactly what I should try. I need to find the "for dummies" version(s) of this. Thanks again.
KM
On Tuesday, October 10, 2017 02:44:12 PM, Phil Perry <pperry at elrepo.org> wrote:
On 10/10/17 15:27, John Hodrien wrote:
> On Tue, 10 Oct 2017, Pete Biggs wrote:
>
>> No, you can't do that. /boot is special and needs to be a separate
>> partition.
>
> Needs is a bit strong, as grub2 does support LVM. It's not a supported
> configuration for Redhat.
>
> I'm not a sure there's a lot to it beyond having the lvm module loaded in
> grub, but I've honestly not tried.
>
Indeed, /boot does not need to be a separate partition. I have /boot
within the root filesystem on my test boxes where I know I will need to
install many / all kernels for testing / development purposes for the
specific reason that I do not need to set a size for /boot and it can
just consume whatever it needs from the rest of the filesystem.
_______________________________________________
CentOS mailing list
CentOS at centos.org
https://lists.centos.org/mailman/listinfo/centos
More information about the CentOS
mailing list