Updated: 28 September 2026 · Applies to: AlmaLinux 9 / Rocky Linux 9
CentOS/RHEL 7 are end of life; the rescue mode of the AlmaLinux 9 / Rocky Linux 9 installation ISO works as follows. Use it when the system no longer boots from its own disk, for example after a broken kernel or boot loader update.
Boot from the installation ISO
- Ucartz VPS: in the VPS dashboard (client area › your VPS service), add the AlmaLinux 9 / Rocky Linux 9 ISO in the ISO section, set the boot order to CD Drive first, then Stop and Start the VPS and open VNC. If ISO support is not available for your VPS, ask our support team.
- Dedicated server: attach the ISO with the server's remote console, or ask our support team.
Start the rescue environment
- In the ISO boot menu choose Troubleshooting, then Rescue a … system.
- Choose 1) Continue so the rescue environment mounts your installed system read-write under
/mnt/sysroot. - Press Enter for a shell, then run
chroot /mnt/sysrootto work inside your installed system.
When you are done, type exit twice, remove the ISO, set the boot order back to Hard Disk and restart.
Typical repairs
- Reinstall the boot loader:
dnf reinstall grub2-common grub2-tools(plusgrub2-efi-x64 shim-x64on UEFI), thengrub2-mkconfig -o /boot/grub2/grub.cfg. - Repair a file system (it must not be mounted):
xfs_repair /dev/sdXNorfsck /dev/sdXN. - Correct
/etc/fstabor reset the root password withpasswd.
Ucartz services for this topic
- KVM VPS hosting: NVMe SSD and full root access, with Free Basic Managed Support.
- Unmanaged dedicated servers: full root access and free IPMI KVM, with Free Basic Managed Support.
- Linux server management: hardening, patching, monitoring and automation for Ubuntu, Debian, RHEL and AlmaLinux.
