Using Rescue Mode on a Virtual Machine

Rescue Mode allows you to access and repair the system disk of a virtual machine (VM) that has boot failures, configuration issues, or operating system problems.

When Rescue Mode is enabled, the VM boots from a recovery image. The original system disk remains available and is attached as a secondary disk so that its data and configuration can be inspected and repaired.

Before you begin

  • Make sure the VM status is Active or Shut down.
  • If possible, create a snapshot or backup before modifying the filesystem, bootloader, or system configuration.
  • An active VM will be shut down gracefully before entering Rescue Mode.
  • Prepare a suitable recovery ISO image or template. ISO images can boot both Linux and Windows VMs, while QCOW2 templates are used for Linux VMs.
  • Rescue Mode is not supported for VMs with vTPM enabled.

Enter Rescue Mode

  1. Sign in to the Cloudmatika Virtual Data Center and open Virtual machines.
  2. Select the VM that you want to repair.
  3. On the VM panel, click the ellipsis menu and select Enter rescue mode.
  4. Select the ISO image or template to use for recovery. By default, the system may show the original image used to create the VM.
  5. Click Enter and wait until the VM status changes to Rescue.

Access and repair the VM

After the VM enters the Rescue state, access it through the Console or by SSH if the recovery image supports it. The original boot disk will appear as a secondary disk. Identify the correct partition, mount it, and perform the required checks or repairs.

Warning: Always verify the disk and partition before making changes. Filesystem repairs, bootloader changes, or file deletion may cause data loss if performed on the wrong target.

Exit Rescue Mode

  1. Open the VM again from Virtual machines.
  2. Click Exit rescue mode.
  3. In the confirmation window, click Exit.
  4. The VM will reboot from its original system disk. Confirm that its status changes to Active.

If the VM changes to the Error state while exiting Rescue Mode, use the Reset state action. The VM should return to the Rescue state so that troubleshooting can continue.

Note for Windows VMs

Do not bring the original system disk online without first checking the disk numbers and identities. An ID conflict between the original disk and the rescue disk may prevent the Windows bootloader from locating the correct disk after Rescue Mode is disabled.

If the issue persists, contact Cloudmatika Support and include the VM name, time of the incident, latest VM status, and a screenshot of the error message.

Vendor reference: Virtuozzo – VM Rescue Mode

Cara Install LAMP (Linux,Apache,Mariadb,PHP7) Di Ubuntu
Acronis Block Storage (iSCSI)