Known Issues and Troubleshooting

Linux VMs slow to start

Linux VMs might require the following changes to avoid delays in starting VMs after conversion:

  1. Rename the cloud-init file (/bin/cloud-init) to stop the delay during the boot process.

  2. Set boot/grucfg timeout=0.

    If it has timeout=1, the boot process is delayed.

  3. Disable the timeout in etc/default/grub.

    If it has infinite timeout set, the boot process is delayed.

RHEL VMs fail to boot

If RHEL VMs fail to boot, recreate initramfs by performing the following steps:

  1. Boot the VM in rescue mode or from CD ROM.

  2. On the source VM, run the following command to identify the kernel version:

    uname –r
    
  3. Copy the existing initramfs file as a backup:

    cp /boot/initramfs-kernel_version.img /boot/initramfs-kernel_version.img.bak

    Where kernel_version is the result of step 2.

  4. Verify that both files are listed:

    ll /boot/initramfs-kernel_version.img*

    Where kernel_version is the result of step 2.

  5. Recreate the initramfs file:

    dracut -f /boot/initramfs-kernel_version.img kernel_version

    Where kernel_version is the result of step 2.

  6. Power off the VM and boot from hard disk.

For more information, see CentOS / RHEL 6 : How to rebuild Initial Ramdisk Image.

Ubuntu VM fails to boot after conversion

  1. Boot the VM from CD ROM.

  2. Edit the boot/grub/grub.cfg file to remove the consoletype setting. For example:

    consoletype= tty1 tts0
  3. Power off the VM and boot from hard disk.

You can also edit the boot/grub/grub.cfg file in the source VM before backing up and converting the VM.

×

Loading...