RebornOS (5-16-2023) | 2023-05-25 13:27 |
RebornOS-ARM (3/15/2023) | 2023-03-16 03:54 |
RebornOS Beta (2022.07.29) | 2022-11-09 05:05 |
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.
[PageInfo]
LastUpdate: 2020-09-25 02:24:05, ModifiedBy: damian101
[License]
GNU Free Documentation License
[Permissions]
view:all, edit:doc editors, delete/config:doc editors