
#Slice it 2 install
If not install them.Ģ) On your internet facing host, create folders for the repos and packages you need. As long as you have internet access, any rpm based Linux distro will do as long as it has rsync, genisoimage, and yum-utils.ġ) Make sure you have rsync, genisoimage and yum-utils installed. I used a Rocky Linux 8.6 VM running on Windows 11 and VirtualBox 6.1.36. On a host with internet access (Public facing host), perform the following steps.
#Slice it 2 how to
This post demonstrates how to patch a Rocky Linux 8.6 host when it doesn’t have internet access or is an isolated system with no access to a yum repo. So you’ve successfully switched from CentOS to Rocky Linux and your hosts are on an isolated network. Patch Rocky Linux 8.6 on an Offline or Air-Gapped System Use /home as a folder on the root volume and not a space wasting logical volume as before. #/dev/mapper/rl-home /home xfs defaults 0 0ġ1) Create new users as needed. Realtime =none extsz=4096 blocks=0, rtextents=0ĭata blocks changed from 9694208 to 14427136ĩ) Edit /etc/fstab and remove or comment out /home and reboot. Log =internal log bsize=4096 blocks=4733, version=2 Naming =version 2 bsize=4096 ascii-ci=0, ftype=1 Size of logical volume rl/root changed from 36.98 GiB (9467 extents) to xfs_growfs /dev/mapper/rl-root Rl wz–n- 4.00m 1 2 0 lvextend -l +100%FREE /dev/mapper/rl-root VG Attr Ext #PV #LV #SN VSize VFree VG UUID VProfile Logical volume “home” successfully removed.Ħ) Make sure the volume is free in the VFree column.

Then unmount it as root, not su – root from another user.ĥ) Using the LV PATH value from lvdisplay above, remove the logical volume for /home.ĭo you really want to remove active logical volume rl/home? : y LV Creation host, time ryl8, 14:57:34 -0400Ĥ) Copy any files you need out of /home. LV UUID z2Kg70-xYsg-Cx11-ROoj-Fl5T-g0Pb-wuksJ9 Vboxshare 477G 104G 373G 22% /media/sf_vboxshareĢ) Get the filesystem type. Backup any files you need from /home before you start.įilesystem Size Used Avail Use% Mounted on This may be because there are no human users on this server and you just have or need service accounts. You have a host with too much space allocated to /home and you need to remove and reallocate it to the root partition.
