|RebornOS (2020.09.01)||2020-09-01 12:36|
|RebornOS FIRE (5.7)||2020-07-21 21:57|
|RebornOS-ARM (Release Candidate 1)||2020-06-24 12:48|
|RebornOS-Mac (2020.07.30)||2020-07-31 05:39|
|Work in progress (2020.05.09)||2020-05-10 03:02|
If your system currently uses a boot partition, but you want your /boot path to remain on your root partition instead of being separated out to a discrete partition, follow this guide.
This guide assumes you are using the GRUB bootloader. Don't follow this guide if you installed RebornOS with systemd-boot as the bootloader, as it only supports FAT16/32 file systems and therefore needs an FAT16/32 boot partition in order to access the /boot directory.
1. Run lsblk and note the device name (first column) of the partition with mountpoint /boot.
2. Unmount the boot partition with sudo umount /boot
3. Mount it to another place with sudo mount /dev/<device name of boot partition> /mnt
4. Move all the content of the boot partition to the now empty /boot directory with sudo mv -v /mnt/* /boot.
5. Remove the line in /etc/fstab regarding the /boot partition. You can use nano to edit the file: sudo nano /etc/fstab
6. If you are on an UEFI installation run sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi.
7. If you are on a legacy BIOS installation run sudo grub-install --target=i386-pc /dev/<device name of system disk> instead.
8. After that run sudo grub-mkconfig -o /boot/grub/grub.cfg
You can now unmount the former boot partition with sudo umount /mnt and remove it in your partition manager of choice.