The /boot partition may be needed in some special cases. I have a machine that had two internal drives and i wanted to install a distro to an external drive. So there are three drives, one internal has Windows, the external drive has the distro, and the (small) other internal drive has a /boot partition (it also contains the MBR for Windows boot). I just wanted to make it that way, so booting without the external drive to Windows is easy.
But in very many cases, especially for home users without special needs like above, there is no compelling reason to have a separate /boot partition. Just put boot stuff in the /boot folder of the root partition, it is as easy as that.
For most home users the root partition is the best place for /boot.
You can move the contents of the separate /boot partition to a /boot folder (in the root partition) in the following fashion (assuming you are using grub):
sudo mkdir /boot2
sudo cp -a /boot/* /boot2/
sudo umount /boot
sudo rmdir /boot
mv /boot2 /boot
nano /etc/fstab # remove the line that has /boot assignment
grub-mkconfig -o /boot/grub/grub.cfg
So just moving the files is not enough. You need to edit /etc/fstab to remove old /boot stuff and update your grub.
In addition, you may need to run grub-install command, but that depends on what kind of system you have, UEFI or not. And if not UEFI, then where the MBR is installed.
Please report issues including all details! ;-)
Show files here: cat "file" | curl -F [email protected] https://ptpb.pw/?u=1
and show the URL here.