[CentOS] /boot partition too small

Tue Oct 10 20:00:17 UTC 2017
m.roth at 5-cent.us <m.roth at 5-cent.us>

KM wrote:
>  Thanks for all of the input, not really sure what if anything I will do. 
> i was hoping it would be easy and i could just create a /boot in root,
> and copy the actual boot contents to it and use it.   wishful thinking i
> guess.  just to give a complete picture here is the current partitioning
> on the server....in case anyone wants to say anymore.  Thanks in advance.
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/vg_bldsrv-lv_root
>                        50G   26G   22G  55% /
> tmpfs                 9.0G  156K  9.0G   1% /dev/shm
> /dev/sda1              96M   33M   59M  36% /boot
> /dev/mapper/vg_bldsrv-lv_home
>                       861G  371G  447G  46% /home
> Most of this is like speaking another language to me anyway.  I'll
> consider it all.

What I would recommend: go out and buy a "small" new h/d, say, 150GB or
250GB. Also get an adapter for it (let me note that I actually bought, a
year or two ago, a hot-swap drive bay that fits in a std. tower case...).
Then partition that (we've been using 1G for /boot for years), mount it on
/mnt, mount newdrive/boot /mnt/newdrive/boot, and rsync -HPavx /.
/mnt/newdrive, and rsync -HPavx /boot /mnt/newdrive/boot

Then grub-install /dev/newdrive, and swap drives.