{"id":1584,"date":"2015-09-18T19:21:14","date_gmt":"2015-09-19T00:21:14","guid":{"rendered":"http:\/\/swildow.darktech.org\/wp\/?p=1584"},"modified":"2015-09-18T21:35:45","modified_gmt":"2015-09-19T02:35:45","slug":"make-vhd-of-win7-using-disk2vhd-and-new-vm-does-not-boot","status":"publish","type":"post","link":"http:\/\/www.wildow.com\/blog\/?p=1584","title":{"rendered":"make VHD of Win7 using disk2vhd and new vm does not boot"},"content":{"rendered":"<p>found that the boot partition is missing when mounting VHD you get a raw partition&#8230; format as NTFS and follow the following to get it to boot<\/p>\n<p>Note: you should see the OS listing under the recovery options after doing thise<\/p>\n<p>http:\/\/blogs.technet.com\/b\/jonjor\/archive\/2011\/10\/04\/vm-does-not-boot-following-p2v-or-disk2vhd.aspx<\/p>\n<p>We\u2019re going to fix the entire boot path, despite what part of it is broken. Go find an ISO or DVD of any of the operating systems just listed in the title. Prepare to boot your VM from this media. We\u2019re going to use the recovery console. We\u2019ll assume you are using Windows 7 media.<\/p>\n<ol>\n<li>Attach the Windows 7 installation disc to the virtual machine disc drive, and then start the computer.<\/li>\n<li>Press a key when you are prompted.<\/li>\n<li>Select a language, a time, a currency, a keyboard or an input method, and then click Next.<\/li>\n<li>Click Repair your computer.<\/li>\n<li>Click the operating system that you want to repair, and then click Next.<\/li>\n<li>In the System Recovery Options dialog box, click Command Prompt.\n<ol>\n<li>If an operating system is not found simply continue anyway<\/li>\n<\/ol>\n<\/li>\n<li>Type the following command in this order to set your system straight:\n<ol>\n<li>bootrec \/fixmbr\u00a0\u00a0\u00a0 (Fixes MBR)<\/li>\n<li>bootrec \/fixboot\u00a0\u00a0 (Fixes Boot Sector)<\/li>\n<li>bootrec \/scanos\u00a0\u00a0\u00a0 (Scans for Windows installations to add)<\/li>\n<li>Reboot! (Type Exit)<\/li>\n<\/ol>\n<\/li>\n<li>If you still do not boot into Windows, or do not have a boot menu, or something is still wrong, follow steps 1 \u2013 6 again. For step 7 type this instead\n<ol>\n<li>bootrec \/rebuildbcd\u00a0\u00a0\u00a0 (Rebuilds entire BCD\u2026 not a really big deal)<\/li>\n<li>Reboot! (type Exit)<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>if you still do not boot run the recovery from win7 install disk pick fix Startup<\/p>\n<p>&nbsp;<\/p>\n<p>if it still does not work, mount the VHD and delete the first partition<\/p>\n<p>boot pick repair, dos prompt use diskpart to format the first partition,\u00a0 now follow the above steps<\/p>\n<p>if working you should get bootmgr missing,\u00a0 then do a startup and repair from DVD\u00a0 d: drive should show up as the OS at this point and it should now boot after the startup and repair<\/p>\n","protected":false},"excerpt":{"rendered":"<p>found that the boot partition is missing when mounting VHD you get a raw partition&#8230; format as NTFS and follow the following to get it to boot Note: you should see the OS listing under the recovery options after doing &#8230; <a class=\"more-link\" href=\"http:\/\/www.wildow.com\/blog\/?p=1584\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1584","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1584"}],"version-history":[{"count":3,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1584\/revisions"}],"predecessor-version":[{"id":1587,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1584\/revisions\/1587"}],"wp:attachment":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1584"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}