How do I merge my /boot partition to be a part of the / partition?
Short answer: If it ain't broke, don't fix it.
Long answer: If you insist on fixing what ain't broke:
- Open a Terminal window.
- Type
sudo mkdir /boot2
- Type
sudo cp -a /boot/* /boot2/
- Type
sudo umount /boot
- Type
sudo rmdir /boot
- Type
sudo mv /boot2 /boot
- Edit
/etc/fstab
and comment out the line that defines the mount point for/boot
. - Type
sudo grub-install
- Type
sudo update-grub
(if you're using a BIOS-based install, you'll also need to specify a device filename -- probably/dev/sda
) - Optionally delete the
/boot
partition and resize the root (/
) partition. See here for details on how to do this.
I have not tested this procedure! If I've forgotten something or if there's an unexpected error, your system will be rendered unbootable! Hence:
- Please reconsider my "short answer," above.