LogoLogo
Web HomeTutorialsPortal
  • Bamboozle Wiki and Documents
  • Products
    • Cloud
      • Compute
        • Managing Virtual Machines
          • Supported guest operating systems
          • Creating virtual machines
          • Connecting to virtual machines
          • Managing virtual machine power state
          • Attaching ISO images to virtual machines
          • Reconfiguring virtual machines
            • Changing virtual machine resources
            • Configuring network interfaces of virtual machines
            • Configuring virtual machine volumes
          • Monitoring virtual machines
          • Shelving virtual machines
          • Rescuing virtual machines
          • Managing guest tools
            • Installing guest tools
            • Uninstalling guest tools
          • Troubleshooting virtual machines
          • Deleting virtual machines
          • Managing SSH keys
        • Managing security groups
          • Creating and deleting security groups
          • Managing security group rules
          • Changing security group assignment
        • Managing images
          • Uploading images
          • Creating volumes from images
          • Preparing templates
            • Preparing Linux templates
            • Preparing Windows templates
            • Enabling logging for virtual machines
        • Managing volumes
          • Creating and deleting volumes
          • Attaching and detaching volumes
          • Resizing volumes
          • Creating images from volumes
          • Cloning volumes
          • Managing volume snapshots
        • Managing virtual networks
        • Managing VPN connections
          • Creating VPN connections
          • Editing VPN connections
          • Restarting and deleting VPN connections
        • Managing virtual routers
          • Managing router interfaces
          • Managing static routes
      • Managed Kubernetes
        • Creating and deleting Kubernetes clusters
      • Object Storage
        • Instances
        • How-to
          • Access Storage with S3 SDKs
          • Access Object Storage with Cyberduck
          • Access Storage with Mountainduck
        • Addtional Ressources
          • Supported Amazon S3 features
    • Servers
      • Cloud Servers
      • Dedicated Servers
    • Cyber Protect
      • Welcome to Cyber Protect
      • Supported features by OS
      • Activating the account
        • Password requirements
        • Two-factor authentication
      • Accessing the Cyber Protect service
      • The Cyber Protect console
      • Installing the software
        • Which agent do I need?
        • System requirements for agents
        • Preparation
        • Linux packages
        • Proxy server settings
        • Installing the Protection Agents
          • Downloading protection agents
          • Installing protection agents in Windows
          • Installing protection agents in Linux
          • Installing protection agents in macOS
          • Granting the required system permissions to the Connect Agent
          • Changing the logon account on Windows machines
          • Dynamic installation and uninstallation of components
    • Business Email
      • Getting started
        • DNS Records
        • Setting up a Mail Client with IMAP
        • Setting up your Mailbox with macOS, iOS, ipadOS and Android Devices
        • Configure Microsoft Outlook for Business Email
        • Zimbra Connector for Microsoft Outlook User Guide
      • Web Mail Client
        • Webmail Login
        • Mail
          • Left Sidebar
          • Email Pane
          • Reading Pane
          • Keyboard Shortcuts
      • Zimbra Modern Desktop
    • Web Hosting
      • Linux Web Hosting
        • cPanel Overview
          • Getting Started in cPanel
          • Server Information for cPanel
        • Preferences
          • Account Preferences
          • Audit Log
          • Change Language
          • Contact Information
      • Windows Web Hosting
    • SSL Certificates
      • SSL Intermediate and ROOT CA Bundles
        • RapidSSL CA Bundle
  • Tutorials
    • Rocky Linux
      • Rocky Linux 9
        • Basic Server Setup with Rocky Linux 9
  • Billing
    • Payment Methods
    • Credit Card Refunds
  • Legal
    • Legal Documents
      • Terms & Conditions
      • Master Agreement for Datacenter IP Services
      • Privacy
      • Service Level Agreement (SLA)
        • Public & Private Cloud
        • IP Transit Service Level Agreement
      • GDPR
        • FAQ
        • Data Processing Agreement
          • Schedule 1: Description of the Processing and Subprocessors
          • Schedule 2: Controller-to-Controller Information for International Data Transfers
      • Supplier Code of Conduct
  • Security
    • Platform Security
    • Infrastructure Security
    • Certification Reports
  • Pricing
    • Overview
    • Cloud
      • Compute
      • Volumes & Snapshots
      • Load Balancers
      • VPN
      • Elastic IPs
      • Traffic
    • Billing Q&A
      • Colocation - 95th percentile billing
  • Other Technical Information
    • Peering
Powered by GitBook
LogoLogo

Copyright © 2024 Bamboozle Web Services, Inc. All Rights Reserved.

On this page

Was this helpful?

Export as PDF
  1. Products
  2. Cloud
  3. Compute
  4. Managing Virtual Machines

Rescuing virtual machines

PreviousShelving virtual machinesNextManaging guest tools

Last updated 3 months ago

Was this helpful?

If a VM experiences boot problems, you can send it to the rescue mode to access its boot volume. When a VM in the “Active” state is sent to the rescue mode, it is shut down softly first. Once the VM is in the rescue mode, you can connect to it via SSH or via the console. Its previous boot disk is now attached as a secondary one. You can mount the disk and repair it.

Limitations

  • The rescue mode can use ISO images for booting both Linux and Windows virtual machines and QCOW2 images (templates) for booting Linux VMs.

  • You can send a VM to the rescue mode only if its current status is “Active” or “Shut down”.

  • There are only three actions available for the VM in the rescue mode: Console, Exit rescue mode, and Delete.

  • If a rescue image has cloud-init installed, then the VM booted from it can be accessed with the same SSH key that was used for its creation.

Prerequisites

  • Virtual machines are created, as described in .

To put a virtual machine to the rescue mode

  1. On the Virtual machines screen, click the required VM on the list.

  2. On the VM right pane, click the ellipsis button on the toolbar. Then, click Enter rescue mode.

  3. In the Enter rescue mode window, select an image to rescue the VM with. By default, the initial image used for creating the VM is selected. Click Enter.

The machine status changes to “Rescue”.

To return a virtual machine to normal operation

  1. On the Virtual machines screen, click the required VM on the list.

  2. On the VM right pane, click Exit rescue mode.

  3. In the Exit rescue mode window, click Exit. The VM will be automatically rebooted.

The VM status changes to “Active” and it boots from the original root disk.

If the VM status changes to “Error” when exiting the rescue mode, you can reset its status with the Reset state action. The VM should then return to the “Rescue” status again.

To exit the rescue mode for a Windows VM

There might be an issue of exiting the rescue mode for a Windows VM. If in the rescue mode you set the original system disk online, its ID becomes the same as that of the rescue disk. Then, when you try to exit the rescue mode, the boot loader cannot find the proper boot disk. To resolve the ID conflict, follow the steps:

  1. With the VM in the rescue mode, open the Disk Management window and note the numbers of the original system disk (offline) and the rescue disk (online). Set the original system disk to Online.

  2. To edit the boot configuration, enter the following command in the Command Prompt window:

    > bcdedit /store <the original system disk name>:\boot\bcd
  3. Review the output and check that the rescue disk is the target for objects in the output (partition=<the rescue disk name>).

    If the objects do not point to drive C, fix it with the following commands:

    > bcdedit /store <the original system disk name>:\boot\bcd \
    /set {default} osdevice partition=<the rescue disk name>:
    > bcdedit /store <the original system disk name>:\boot\bcd \
    /set {default} device partition=<the rescue disk name>:
    > bcdedit /store <the original system disk name>:\boot\bcd \
    /set {bootmgr} device partition=<the rescue disk name>:
    > bcdedit /store <the original system disk name>:\boot\bcd \
    /set {memdiag} device partition=<the rescue disk name>:
  4. To view the available disks, enter the following commands in the command line:

    > DISKPART
    > LIST DISK

    Match the disk number and name to those displayed in the Disk Management window.

  5. To get the ID of the rescue disk, run the following commands:

    > SELECT DISK <the rescue disk number>
    > UNIQUEID DISK

    Record the disk ID, you will need it later.

  6. Change this ID by using the following command:

    > UNIQUEID DISK id=<any hex value of 8 characters>

    Make sure that the value has changed with the UNIQUEID DISK command.

  7. Assign the ID that you recorded previusly to the original system disk:

    > SELECT DISK <the original system disk number>
    > UNIQUEID DISK id=<the recorded disk ID>

    Make sure that the value has changed with the UNIQUEID DISK command.

You should now be able to exit the rescue mode.

Creating virtual machines
Enter rescue mode