Skip to content

Instantly share code, notes, and snippets.

@ayebrian
ayebrian / vmware.md
Last active December 20, 2024 17:08
VMware ESXi 8 / vCenter 8 / Workstation 17 license key 2024
@troyfontaine
troyfontaine / readme.md
Last active December 12, 2024 16:03
Resize root partition (or how to remove the default /home partition) on CentOS 7 online

Resize root partition (or how to remove the default /home partition) on CentOS 7 online

This process requires that you are able to ssh OR log in locally using the root user account and that no services be running as users out of /home on the target machine.

The examples are from a default installation with no customization-you NEED to know what you're working with for volumes/partitions to not horribly break things.

By default, CentOS 7 uses XFS for the file system and Logical Volume Manager (LVM), creating 3 partitions: /,/home and swap.

NOTE: If you want to be sure that nothing is writing to /home you can either modify the host to boot into single-user mode OR try to use the systemctl isolate runlevel1.target command to switch (not tested! should work).