banner
miaoer

miaoer

喵二の小博客 https://www.miaoer.net xLog 分站
tg_channel
telegram
bilibili

StarWind V2V Converter Disk Writing Tutorial

At CatWrt, we have removed the virtual hard disk provided by the default output of LEDE, because the source code exported VMDK used in v22.8 cannot boot after a restart; it can only be manually opened in EXSI or manually restarted in EXSI.

However, using the StarWind V2V Converter virtual machine writing software does not have this issue, so I wrote this blog post.

Download and Install#

You can download StarWind V2V Converter from its official website,

Here is also a link for download from LanZou Cloud.

https://wwd.lanzouy.com/b02dkbk7e
Password: 4e2a

After downloading, it will request UAC administrator permissions once, click Yes to agree to the authorization;

Next is the terms of service, click I accept the agreement to agree, and then Next for the next step;

This page asks if you want to create a desktop shortcut, proceed with the default Next;

Click Install, and after the installation is complete, click Finish, then open StarWind V2V Converter on the desktop and agree to the UAC permissions.

Write Disk#

On the first page of the software, select the location of the image to convert

Select Local file for the local file and click Next;

When choosing the image to write, select the image next to File name by clicking …… and proceed to the next step;

When you reach the page for Select the location of the destination image, choose to export the image to local, which is the default Local file, and click Next;

image

Select destination image format here, you can choose the virtual hard disk you want to export

  • vmdk is the virtual hard disk file for VMware virtual machines
  • vhdx is the virtual hard disk file for Hyper-V virtual machines
  • qcow2 is the virtual hard disk file for PVE or KVM virtual machines

Here, I will focus on VMDK and VHD/VHDX, because qcow2 can be directly output without too many options;

  • For VMDK, select the default option for VMDK image format for a growable disk space or choose the second option for preallocated disk space. Testing with VMware Workstation growable image works without issues.
  • For VHDX, select the third option VHDX growable image to generate VHDX, or the default VHD is also fine; I haven't used Hyper-V.

For other formats, you can refer to the official documentation, but it is in English.

The next step is to set the destination file name; in the …… of File name, you can place the generated file in a specified directory. Click Convert to start, and once Converting is complete, the image will be generated. Click Finish to exit.

Installation#

Here, I will still take VMware EXSI as an example:

After logging into the VMware EXSI backend, upload the file. In the sidebar, click Storage - Datastore Browser. It is recommended to create a new directory to store the vmdk. Click the create directory option at the top;

You can name the directory anything as long as you can find it. After creating it, click the folder to select upload, and choose the vmdk file of the virtual hard disk you just created to upload;

After the upload is complete, close it. Create or edit an existing virtual machine. After completing other configurations, delete the original hard disk, select Delete files from datastore, and then confirm to return to the settings;

Select Add Hard Disk - Existing Hard Disk, find the vmdk file in the folder you just created, confirm, and set the controller location to IDE Controller 0 to start OpenWrt.

image

This article is synchronized and updated by Mix Space to xLog. The original link is https://www.miaoer.net/posts/network/starwind-converter

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.