How to move "boot" folder present under "/" filesystem to a separate file system
Applies to:
Oracle Cloud Infrastructure
Linux OS – Version Oracle Linux 5.0 to Oracle Linux 8.3 (Release OL5 to OL8U3)
GOAL
How to move "boot" folder from under "/" filesystem to a separate file system (/boot) or disk partition
SOLUTION
Add a new disk or create a new disk partition, with minimum size of 512 MB in the instance (issue instance) where you
want a separate filesystem for /boot.
# blkid
Add /boot filesystem entry in /etc/fstab. Take UUID from above "blkid" command
# vi /etc/fstab UUID=<MENTION UUID HERE> /boot xfs defaults,_netdev,_netdev 0 0 Example UUID=b35c01fa-a5a7-4f1f-aa02-6bcdebb68f6c /boot xfs defaults,_netdev,_netdev 0 0
Tagged:
1