I am new here in this community, greetings to everyone
I have been using Oracle VirtualBox since a while, and now I am trying to test a bootloader I have built. The bootloader structure in Hexeditor looks ok-- such as, from beginning to 0X00DB the bootstrap code actually exists, afterwards till 0x01BD (till where the bootstrap code should actually continue to to make it a 446 byte long) all entries are 0. From 0x01BE to 0x01FC where the partition should actually reside is again all are 0. However the boot signatures are ok 55 and AA at 0x01FE and oxo1FF respectively.
Now in order to boot it I have kept this E:/VM (I have opened this file in E:/VM with my HexEditor) and have issued the command VBoxManage Internalcommands converthd to convert this, however it's giving the below error:
Code: Select all
E:\VM>vboxmanage internalcommands converthd -srcformat RAW -dstformat VDI "boot.
img" "boot.vdi"
Converting image "boot.img" with size 512 bytes (1MB)...
VBoxManage.exe: error: Cannot copy the image: VERR_VD_INVALID_TYPEThank you all in advance