Windows Server 2003 P2V adventures
-
@FATeknollogee said in Windows Server 2003 P2V adventures:
Probably not what you'd like to hear, have you tried using Disk2vhd?
https://technet.microsoft.com/en-us/sysinternals/ee656415.aspxI kicked this off late in the day yesterday and it finished at 7 PM, and I just wanted to go home - now to figure out how to move this VHDX to my XS box.
-
@Danp said in Windows Server 2003 P2V adventures:
@Dashrender said in Windows Server 2003 P2V adventures:
@Danp said in Windows Server 2003 P2V adventures:
Did you try the command
chkdsk c: /p
as shown in the one article?Yes, it did fix a few things but didn't fix boot.
Afterwards, did you try the other commands (fixboot, fixmbr) to see if the combination now works?
yep, and nope, didn't work.
-
@Dashrender said in Windows Server 2003 P2V adventures:
Something I just considered.
To ensure that the partitions where large enough, when I created the partitions for the VM, I made them 1 GB larger than the originals. This leaves slack space in the drive that will not be used by the restore.
I looking through the defaults when in expert mode, it looks like Clonezilla grows your disk to fit the space...more trial and error.
OK so I made a new VDI in XenServer, removed the old one, and restored my image using Clonezilla again. This time I made the new VDI as close in size to the original disk as possible, and disabled the -r command so it leaves the freespace unused.
I still have 165 MB of slack space.
https://i.imgur.com/jcvFvhn.png -
Open up the command prompt...
And run fdisk, and make sure your drive is set as an active boot volume.
If you can't run it from Windows, boot from the HBCD into a Linux command prompt and then fdisk /dev/sda ?
-
on Server 2003, you could also try it with diskpart ...
https://www.techwalla.com/articles/how-to-make-a-partition-bootable-with-diskpart
Just ignore the bits about run as administrator.
-
I've done all of these things.
-
-
well - I guess 3 (or was it 4) times a charm.
After reading another tech page trying to find solutions to my non booting 2003 server I ran into someone who said
@gregrocker
However once you accept the offered repair if it fails to start up then rebooting DVD/CD to run Startup Repair up to three more reboots will often get it started, depending upon how complicated the problems it needs to test and attempt fixes for.the bits about run as administrator.
So I decided to run chkdsk /f again on my VM. Well this time it seemed to stall out. I started it last night around 7 PM, and it was still running when I came in this morning.
About 20 mins ago I took a look at it and noticed it was finished, AND it said there were claims of slack space in the MFT that were repaired. So rebooted - no luck. What the heck, let's try fixmbr/fixboot again. Booted from 2003R2 ISO, ran the fixes, popped the ISO, and told it to reboot - tada! The Windows 2003 boot screen!!!!
Issue number two put to bed!!
Originally I ran chkdsk twice, once with an error, and a second time to make sure it came up clean (which it did). I then ran it again several days ago after a prompting from reading another post.
For whatever reason, I read the post above yesterday and just said, what the heck.. let's do it again.
-
@Dashrender
Last P2V evar? -
@momurda said in Windows Server 2003 P2V adventures:
@Dashrender
Last P2V evar?It's the last one I need to do for this office, we are 100% virtual now in the server closet.
-
Considering the solution - I have been thinking for several days that perhaps this issue stemmed from a problem with the disk on the original system. It might be slightly damaged - somehow not enough to prevent it from booting, but enough to cause the seen issues in the clonezilla image.
If I cared, I could run chkdsk /r on the system a few times, then take a clonezilla image again, and then try restoring that.
meh.