0

I have a .vdi file which contains 3 .img files as seen in this picture:

image

I have extracted these .img files and modified them, now I'm trying to convert them back to a .vdi file.

If call the vboxmanage command specifying multiple input files, it fails, example:

vboxmanage convertfromraw --format VDI 0.img 1.img 2.img test.vdi

How i could convert the .img files back to a .vdi?

2
  • 3
    VDI is not an archive format, it looks like 7-Zip extracted the partitions as individual images. convertfromraw will need the entire disk as one image. Even if you concatenate the three partition images, you're still missing the first 1048576 bytes of the disk which contain the partition table (and possibly a boot loader).
    – Oskar Skog
    Commented Nov 20, 2023 at 14:48
  • @OskarSkog do you know how i could push a file to the vdi?
    – Jabu
    Commented Nov 20, 2023 at 15:48

0

You must log in to answer this question.

Browse other questions tagged .