Windows Server 2003 P2V adventures
-
Did you try the command
chkdsk c: /p
as shown in the one article? -
@Dashrender said in Windows Server 2003 P2V adventures:
Yes I did - I found that my 2003 server was (I think) missing one of the IDE drivers, so I put it in c:\windows\system32\drivers but that didn't help. I checked the registry, all looked well there.
The fact that it booted when using the boot sector from the Hirem CD implies to me that the boot sector in the VDI isn't properly pointing to the ntldr, so it's not booting. Somehow the boot to local media option of Hirem's CD gets past the hurtle and allows the system to boot.Did you load the drivers with the system still up, or just inject them in to the system image after it was powered down?
I remember once I had a VM that someone else P2Ved and VMware thought it had IDE drives. I couldn't expand the drive until I switched the drive type. The solution was to add another drive to the system of the same type as the new drive so that they system would load the new driver. Then I was able to change the drive type because the system was loading the drivers, they weren't just sitting on the drive waiting to be searched for.
That doesn't seem to be the root of your problem though.
-
Fixing the boot.ini is probably the right thing to be working on.
On a normal system it looks like:
[boot loader]
timeout=05
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003 for Small Business Server" /fastdetect /NoExecute=OptInIf Hirens changes the drive order, have you tried creating an entry with disk(1) or other things in case the location of the partition has changed?
-
In your boot.ini file are you using the /burnmemory switch? If so, check this out:
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1016613 -
@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.
-
@Mike-Davis said in Windows Server 2003 P2V adventures:
In your boot.ini file are you using the /burnmemory switch? If so, check this out:
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1016613Hiren is booting without that switch, so I'm guessing it's not needed.
Also my fresh install of 2003 doesn't have it and works great. -
@Mike-Davis said in Windows Server 2003 P2V adventures:
Fixing the boot.ini is probably the right thing to be working on.
On a normal system it looks like:
[boot loader]
timeout=05
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003 for Small Business Server" /fastdetect /NoExecute=OptInIf Hirens changes the drive order, have you tried creating an entry with disk(1) or other things in case the location of the partition has changed?
I've thought about this, but there is only one disk in the VM on one of my restores.... And that boots just fine with hiren.
I really think I have a broken MBR area in the disk.
-
Keep bringing ideas though. Thanks.
-
Probably not what you'd like to hear, have you tried using Disk2vhd?
https://technet.microsoft.com/en-us/sysinternals/ee656415.aspx -
@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?
-
@Mike-Davis said in Windows Server 2003 P2V adventures:
In your boot.ini file are you using the /burnmemory switch? If so, check this out:
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1016613Now that I'm at a desktop (not a phone), I looked at the link. Interesting, I've never heard of the /burnmemory switch before. As my pictures of my boot.ini file above show, I don't have this switch listed.
-
@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?