Three ideas for converting router img files to virtual machine files

  1. The virtual machine installs the img writing tool, then creates a new disk and writes it to this disk to directly get the virtual machine format file

    image.png
  2. Use starwind v2v converter
    to support converting 2 vm/ and Microsoft virtual machine formats,

    image.png

3. Idea 3, convert img to iso and start directly from iso

image.png

But it doesn’t work like this, you have to mount the physical disk first, and then extract it to make a boot. The file partition in the iso format is probably like this

Contains efi and grub legacy boot

image.png
image.png

The following is only a classic guide

image.png

Guess you like

Origin blog.csdn.net/u010042660/article/details/130600637