Red Hat Bugzilla – Bug 1272119
virt-v2v on W2K3 32-bit image fails
Last modified: 2017-02-16 08:57:23 EST
Created attachment 1083276 [details]
Description of problem:
After running virt-v2v on a W2K3 disk image, to a RHEV target, the resulting VM doesn't boot.
The error is:
"Error loading operating system"
right after "Booting from Hard Disk"
We did a bit of investigation of this on IRC, and our best guess
so far is it's this issue with NTFS geometry:
Reporter used the Hiren's Boot CD (an all-in-one rescue CD) to fix the MBR.
``the customer used "TestDisk" to do "Rewrite MBR to first sector"
and Advanced=>FS Utils=>"Rebuild BootSector"''
After virt-v2v and VM import in RHEV-M:
- Run Once VM on Hiren's boot cd
- Select "Dos Programs"
- Select "4. Recovery Tools..."
- Select "1. TestDisk"
- Select "No Log"
- Select Disk and "[Proceed ]"
- Select "[Intel ]"
- Select "[ MBR Code ]"
- Enter Y to "Write a new copy of MBR code to first sector?"
- Enter Y to "Write a new copy of MBR code, confirm?"
- Select "[Ok]"
- Select "[ Advanced ]"
- Select boot disk and "[ Boot ]"
- Select "[Rebuild BS]"
- Select "[ Write ]"
- Enter Y to "Write new NTFS boot sector, confirm?"
- Select "[ Quit ]", "[ Quit ]", "[ Quit ]", "[ Quit ]"
- Reboot the VM
After that, the VM boots.
I forgot to add: the virt-v2v tools used were those from RHEL 7.2 Beta - in fact, the whole VM was running RHEL 7.2 Beta installed from scratch.
Unclear to me what's going wrong here. I'm fairly certain that
random rewriting the MBR isn't helping though.
Anyway, moving to RHEL 7.4. This bug may not be solvable given
the lack of a way to reproduce it.
Closing per discussion with the bug reporter.