Convert .vdi to .img (or .iso)
Posted: 12. Feb 2013, 00:08
I've read through the forums and numerous pages elsewhere, and haven't come up with a workable answer. Here's what I'm trying to do:
I have a PXE boot server here, and am wanting to create a simple bootable volume containing DOS, mainly as a quick way to boot up various PC systems here for updating BIOS via the DOS prompt. The simplest way to get a DOS installation running was with VirtualBox, so I created a new VB, did the install, configured everything to my liking, and now I'm trying to convert this into something my PXE server will be able to use. I've tried using the command below, since it should have created a working .img file:
vboxmanage clonehd myDOS.vdi myDOS.img --format RAW
This did indeed create an .img file, but when I tried to mount this (OSFMount, Virtual CloneDrive, other tools) I'm not able to see any partitions or other data on the image, and my PXE server just spins its wheels when a client tries to boot to this image.
I've even tried to find a way to use a USB stick as a physical volume, and do a copy from within DOS, but that failed as well. The best I could do was format my USB stick as a 1.4Mb floppy, but the copy process kept hanging up.
What I'm trying to do certainly didn't seem hard when I started down this path, I'm hoping there is some workaround I haven't discovered yet that I can use under Windows.
I have a PXE boot server here, and am wanting to create a simple bootable volume containing DOS, mainly as a quick way to boot up various PC systems here for updating BIOS via the DOS prompt. The simplest way to get a DOS installation running was with VirtualBox, so I created a new VB, did the install, configured everything to my liking, and now I'm trying to convert this into something my PXE server will be able to use. I've tried using the command below, since it should have created a working .img file:
vboxmanage clonehd myDOS.vdi myDOS.img --format RAW
This did indeed create an .img file, but when I tried to mount this (OSFMount, Virtual CloneDrive, other tools) I'm not able to see any partitions or other data on the image, and my PXE server just spins its wheels when a client tries to boot to this image.
I've even tried to find a way to use a USB stick as a physical volume, and do a copy from within DOS, but that failed as well. The best I could do was format my USB stick as a 1.4Mb floppy, but the copy process kept hanging up.
What I'm trying to do certainly didn't seem hard when I started down this path, I'm hoping there is some workaround I haven't discovered yet that I can use under Windows.