How to move "boot" folder present under "/" filesystem to a separate file system — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
Get Started with Redwood: Oracle Cloud SCM and Purchasing

How to move "boot" folder present under "/" filesystem to a separate file system

edited Aug 9, 2022 4:45PM in Linux

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!