• stop using boot partition and use root partition instead

    My boot partition is too small.

    Someone said

    Just move the contents of /boot to a temp dir, then unmount /boot and finally move the temp dir to /boot on the mounted root filesystem.  Update your boot loader and problem solved.  There isn't a requirement for a separate /boot partition.
    Also, I find no use for the fallback image so why generate it?  Edit /etc/mkinitcpio.conf and remove fallback.

    Is that safe a safe way to use / partition instead of boot one to boot ?

    Won’t there be a problem when I reboot and my system will want to mount the boot partition in /boot and there will already be a folder containing the same files ?

  • @randomdude
    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.

  • @manuel Thank you for your precise answer. I have a dual boot with windows, can it cause any issue ?

  • @randomdude
    Could you be more precise, can what cause any issue?
    If you mean dual boot, Antergos with Windows, and /boot partition, no.

  • But always a good practice is to

    • make a backup first
    • create a Windows rescue disk
    • have Antergos installer stick at hand

    in case of any (in this case booting) problems.

  • @manuel I just wanted to know if windows would cause any problem (as it often does). Thanks for explanations and advices :)

  • @randomdude You’re welcome! :)

grub127 partition41 Posts 7Views 634
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.