Proxmox VM Installation Using Local ISO – VM Fails to Start


When moving or copying a virtual machine, should you select “I have moved this VM” or “I have copied this VM”?

After moving or copying a VM, if the VM previously had a mounted CD or configurations set to autostart, errors may appear on startup. The VM may enter rescue mode, requiring the root login password to access the system, and previous IP configurations may not work, making it difficult to identify the IP issue.

1. Start the VM directly after moving or copying it.

2. If you’re unsure whether the VM was moved or copied, choose “I have copied this VM” by default.

3. If errors appear and the VM doesn’t boot directly into the system, you can enter the VM using the root user password.

4. After logging in, checking the IP configuration may show no IP or network card information, even if it was previously configured. The `cat` command might show the original configuration, but restarting the network interface doesn’t resolve the issue.

Solution:

Method 1:

1. Reconnect the CD image file. Since the VM was moved or copied, the original CD image path may not be found. This allows the VM to locate the new CD image path (as moving or copying can cause the system to lose the original CD file path, so reconnecting the ISO on the new host is needed).

2. After connecting a new CD image, reboot the system.

3. The system should now boot normally without errors, and the IP configuration should be visible.

Method 2:

1. Comment out the CD image configuration line in the autostart file, e.g., in the `/etc/fstab` file.

2. Edit the `/etc/fstab` file.

3. Comment out the line for mounting the CD image at startup by adding a `#` in front of it.

4. Restart the system.

5. After the reboot, the system should boot without errors, and network card IP address information should display correctly.


Leave a Reply

Your email address will not be published. Required fields are marked *