Why? easy, KVM\QEMU is better Oracle Virtualbox for a lot of reason. Probably this link will be enough to convince you.
Have a computer with virtualbox make everything easier but I wanted to do everything without virtuabox. (Link with virtuabox)
So we have to converto VDI images into somethink KVM can read. I used a simple ".RAW" images. This step is easy, and you can find tons of post online:
Edit 16/12/12: Anyway this will make a .RAW as big as the dimension assigned to your virtual hard drive.
I started with my VirtualBox VM Debian6 test server, where I usually try new stuff before put it on a real PC or anyway in the main VM.
Convert the hard drive from VDI to RAW, I used the RAW image inside a KVM VM and everything worked fine.
After conver the VDI image and put the RAW inside a KVM VM i had this issue:
BLUE SCREEN OF DEATH (BSOD)
This blue screen arrived at the first second third and ALL boot after the conversion....
I searched and I found something.
Talking on IRC I realized the problem was the hard drive controller.
What we have to do? touch a bit WinXp registry... how to do it easily?
I found 2 solutions:
- With virtualbox: This "patch". Run it before your turn off the last time your virtualbox machine before the migration. I will say to XP to accept all HD chipset (or something similar)
- Without virtualbox: HIREN's boot cd or as a lot of SysAdmin know it... Ass saver! Simply boot micro XP goes on the tools and find "Fix Hard disk controller" under Registry. And DONE!
I found another problem, something I really though I wasn't to solve it fast, read a lot of stuff, like reinstall windows over the existing one or make a brand new VM.
I didn't want! so I pass more time searching than the time I needed to reinstall windows! But I Found it
Fist the problem (link):
So what happened? I haven't only moved my VM from Virtualbox to KVM on the same machine but I moved it from an AMD Athlon x2 to two different PC (to test) an AMD phenon x6 and Intel SB i5. On the AMD I haven't had this problem, but on the Intel I had! So I had problem because the processor type isn't the same.
Thanks to this AWESOME GUY we have a solution for this problem too....
I just start my VM XP in safe mode and edit the register like he wrote
And here we are! true you won't have reconized the CPU on hardware manager on Windows, but who care it's Windows! :D
Hope this post will help somebody.
Have a nice day!