How to Reset the Root Password on AlmaLinux VPS (ESXi Environment)

If you or a customer has forgotten the root password for an AlmaLinux VPS hosted on an ESXi environment, don’t worry. This step-by-step guide walks you through the secure method of resetting the root password using the GRUB bootloader and single-user mode. Whether you’re a system administrator or managing virtual environments for clients, this tutorial will get you back into the system with minimal downtime.Prerequisites:Access to the ESXi console via vSphere Client or ESXi Host ClientPermission to power off/on and edit GRUB settingsStep-by-Step Guide to Reset AlmaLinux Root Password on ESXiStep 1: Access the VM ConsoleLog into your ESXi host or vCenter.Locate the AlmaLinux VM.Click Console and then Launch Console.Step 2: Reboot the VMIf the V...
How to Expand Root Partition on CentOS / AlmaLinux 8/9 in VMware ESXi: A Step-by-Step Guide

How to Expand Root Partition on CentOS / AlmaLinux 8/9 in VMware ESXi: A Step-by-Step Guide

Running out of space on your CentOS or AlmaLinux VM hosted on VMware ESXi? Expanding the root partition can resolve storage issues and improve server performance. This comprehensive guide will walk you through expanding the root partition, logical volume (LVM), and filesystem in CentOS 7, CentOS 8, AlmaLinux 8, and AlmaLinux 9.By the end of this tutorial, you will learn:How to rescan the disk and extend partitions in VMware ESXi.How to expand LVM-based logical volumes and filesystems.How to handle situations where growpart is unavailable.Let’s get started.Why Expand the Root Partition?Over time, disk space can become limited due to:Increased storage needs for applications, logs, or backups.Growing data requirements for websites or databases...
How to Expand Root Partition on Ubuntu VM in VMware ESXi: A Step-by-Step Guide

How to Expand Root Partition on Ubuntu VM in VMware ESXi: A Step-by-Step Guide

As a system administrator or developer, managing storage efficiently in virtual machines is essential. If you're using VMware ESXi to host an Ubuntu VM and need to expand the root partition due to increasing disk usage, this guide will help you. Follow our step-by-step process to extend your Ubuntu root partition (LVM-based) safely and effectively.By the end of this tutorial, you will learn:How to rescan a virtual disk after adding space in VMware ESXi.How to expand the logical volume (LVM) and filesystem in Ubuntu.This detailed guide is optimized for both beginners and experienced professionals looking to enhance their virtual infrastructure.Why Expand the Root Partition in Ubuntu?Running out of disk space on your Ubuntu server can cause critical issues, includi...