Migrating a 64bit - Windows Server 2008 R2 / Hyper-V guest

Discussions about using Windows guests in VirtualBox.
Post Reply
ceraxton
Posts: 2
Joined: 30. Aug 2010, 16:56
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows Server 2008 R2

Migrating a 64bit - Windows Server 2008 R2 / Hyper-V guest

Post by ceraxton »

Hello,

I am migrating a 64bit version of 2008 R2 from Hyper-V to Virtual Box. I am able to boot the guest OS once, but then after restarting, I receive a BSOD. The quick timing of the BSOD leads me to believe this is disk related. After the boot up error, I can choose to Launch Startup Repair from the Windows Error Recovery console. Once in the Recovery Console I can choose the Command Prompt where I issue the diskpart command.
Recovery Console Screen
Recovery Console Screen
Recovery Console.gif (37.75 KiB) Viewed 6332 times
This does show me the disk that is attached and if I select that disk using select disk 0 and the issue list volume I can see the volumes.
Diskpart Commands Screen
Diskpart Commands Screen
Diskpart Comands.gif (27.04 KiB) Viewed 6328 times

I think the problem is that the wrong volume is configured as the C drive?

Anyone try doing this yet or have any guidance on this issue?

TIA!
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Migrating a 64bit - Windows Server 2008 R2 / Hyper-V guest

Post by BillG »

I am surprised that you got it to boot at all. have never been able to get a Hyper-V vhd to boot under VirtualBox or Windows VPC. I don't even try anymore.
Bill
smithlar
Posts: 79
Joined: 9. May 2008, 15:54
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXP32 WinXP64 Win7-32 Win7-64 openSUSE64 OS2 Win10
Location: Texas, USA

Re: Migrating a 64bit - Windows Server 2008 R2 / Hyper-V guest

Post by smithlar »

This free tool does it:

http://www.starwindsoftware.com/converter

We've used it several times to convert Hyper-V images.
ceraxton
Posts: 2
Joined: 30. Aug 2010, 16:56
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows Server 2008 R2

Re: Migrating a 64bit - Windows Server 2008 R2 / Hyper-V guest

Post by ceraxton »

Yea - I found that application out there as well and it works fine for converting a VHD to a VMDK if I want to use VMWare. Converting the disk is not an issue w/ Virtual Box. I can use VHD just fine in VBox.

Like I said - I can boot the VM the first time just fine. It's after that bootup where I am unable to boot it for the second time.

Thx
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Migrating a 64bit - Windows Server 2008 R2 / Hyper-V guest

Post by Sasquatch »

It would help a lot if you can grab the BSOD. You can capture it by starting the VM and press F8 right before Windows loads. This will give you a boot menu where you can choose from several options, including safe mode, normal mode and 'disable automatic restart on system failure'. The BSOD will give you the information you need to solve it.
Have you tried safe mode too? May be a good idea to go into safe mode right after the import (before a reboot breaks it) and remove all the hardware devices and let it install them anew again.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
lad29
Posts: 5
Joined: 5. Nov 2009, 22:41
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: kubuntu 10.10, Windows 7, Ubuntu 10.04

Re: Migrating a 64bit - Windows Server 2008 R2 / Hyper-V guest

Post by lad29 »

I'm trying to do a similar thing with a Windows Server 2008 image. However, I get the BSOD shortly after the Windows splash screen starts.. it lasts a fraction of a second before rebooting.

The best I could capture was a STOP error 0X0000007B

Any thoughts?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Migrating a 64bit - Windows Server 2008 R2 / Hyper-V guest

Post by Sasquatch »

That code means a hardware issue. Have you prepared the OS for moving to other hardware?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
lad29
Posts: 5
Joined: 5. Nov 2009, 22:41
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: kubuntu 10.10, Windows 7, Ubuntu 10.04

Re: Migrating a 64bit - Windows Server 2008 R2 / Hyper-V guest

Post by lad29 »

Figured it out. Was fairly obvious and simple to resolve in the end! Ain't that usually the way :)

Noticed in my settings that the virtual drive had been added on the SATA controller for some reason when I'd created the VM. I switched it over to the IDE controller and it booted quite happily.
sergeyss2010
Posts: 1
Joined: 23. Oct 2010, 20:20
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: winXP Win7

Re: Migrating a 64bit - Windows Server 2008 R2 / Hyper-V guest

Post by sergeyss2010 »

lad29 wrote:Figured it out. Was fairly obvious and simple to resolve in the end! Ain't that usually the way :)

Noticed in my settings that the virtual drive had been added on the SATA controller for some reason when I'd created the VM. I switched it over to the IDE controller and it booted quite happily.
Yes! This solution working fine! But how to recode HDD from IDE to SATA may be it will work faster?
Post Reply