Hi,
I have created a DD image of hd, now i've got a few files naned filename.001, filename.002, filename.003, etc.
Usually I use the "vboxmanage convertfromraw" to convert filename.001 to filename.vdi. Now, i would like to know if there's a way to convert filename.001 and all the following files (filename.002, filename.003, etc) to .vdi file?
thx,
dor20
convert dd image to vdi
-
HubTou
- Posts: 93
- Joined: 24. Nov 2009, 11:01
- Primary OS: FreeBSD
- VBox Version: OSE other
- Guest OSses: FreeBSD, OpenSolaris, and several Linuxes
Re: convert dd image to vdi
Hello,
Do a "copy /b filename.* filename.raw" first.
Then a "VBoxManage internalcommands converthd -srcformat RAW -dstformat VDI filename.raw filename.vdi".
Best regards,
Hubert
Do a "copy /b filename.* filename.raw" first.
Then a "VBoxManage internalcommands converthd -srcformat RAW -dstformat VDI filename.raw filename.vdi".
Best regards,
Hubert
-
dor20
- Posts: 4
- Joined: 2. Mar 2011, 13:30
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: win xp
Re: convert dd image to vdi
Thx, but i have to convert all the following files to one vdi file they are all an image of one hd. Is there a command to convert all those files into one vdi file?HubTou wrote:Hello,
Do a "copy /b filename.* filename.raw" first.
Then a "VBoxManage internalcommands converthd -srcformat RAW -dstformat VDI filename.raw filename.vdi".
Best regards,
Hubert
dor20
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: convert dd image to vdi
The Windows "copy" command which HubTou gave you will combine all of the source files to one destination file - however the version he gave assumes they will be combined by default in the correct order, which is not an assumption I would make. IMHO it would be better to use "copy /b file.001 + file.002 + file.xxx outputfile.raw", then do your usual convertfromraw step.dor20 wrote:i have to convert all the following files to one vdi file they are all an image of one hd
-
dor20
- Posts: 4
- Joined: 2. Mar 2011, 13:30
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: win xp
Re: convert dd image to vdi
Thx, but the vdi file doesn't work, any other suggestions to concatenate the dd imae files to one raw file so i can convert it to vdi file?
dor20
dor20
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: convert dd image to vdi
No, the method already given should be fine. As to your VDI problem, I can't provide any advice on that either until your level of feedback is substantially more useful than "doesn't work".dor20 wrote:any other suggestions
-
dor20
- Posts: 4
- Joined: 2. Mar 2011, 13:30
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: win xp
Re: convert dd image to vdi
I'm trying to bootup the machine and i'm getting a message: "A disk read error occurred Press Ctrl+Alt+Del to restart" and the machine stop.
Any suggestions ?
Thank you
dor20
Any suggestions ?
Thank you
dor20
-
HubTou
- Posts: 93
- Joined: 24. Nov 2009, 11:01
- Primary OS: FreeBSD
- VBox Version: OSE other
- Guest OSses: FreeBSD, OpenSolaris, and several Linuxes
Re: convert dd image to vdi
Make sure that you declared exactly the same kind of disks in VirtualBox than in your physical system.
Ie. IDE, SATA, SCSI, SAS.
And more generally, hardware as close as possible to the original one.
Best regards,
Hubert
Ie. IDE, SATA, SCSI, SAS.
And more generally, hardware as close as possible to the original one.
Best regards,
Hubert
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: convert dd image to vdi
+1 to what HubTou said. I would just add that you need to use a little common sense: examine the concatenated file before using convertfromraw. Check that the size is consistent with it resulting from a merge of all the original files. Otherwise it means you aren't getting the correct result from the copy command. convertfromraw itself is a simple function (or used to be) and should work fine.