{"id":125,"date":"2011-09-17T17:07:01","date_gmt":"2011-09-17T17:07:01","guid":{"rendered":"http:\/\/www.itcrumbs.com\/?p=125"},"modified":"2019-02-07T04:40:24","modified_gmt":"2019-02-07T04:40:24","slug":"dual-boot-windows-8-from-vhd-using-windows-setup","status":"publish","type":"post","link":"http:\/\/www.itcrumbs.com\/?p=125","title":{"rendered":"Dual Boot Windows 8 from VHD using Windows Setup"},"content":{"rendered":"<p><a title=\"http:\/\/blog.concurrency.com\/infrastructure\/dual-boot-windows-8-from-vhd-using-windows-setup\/\" href=\"http:\/\/blog.concurrency.com\/infrastructure\/dual-boot-windows-8-from-vhd-using-windows-setup\/\">http:\/\/blog.concurrency.com\/infrastructure\/dual-boot-windows-8-from-vhd-using-windows-setup\/<\/a><\/p>\n<p>&#160;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"Post Pic\" src=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/Dual_Boot.png\" width=\"200\" height=\"200\" \/><\/p>\n<h4><a href=\"http:\/\/blog.concurrency.com\/infrastructure\/dual-boot-windows-8-from-vhd-using-windows-setup\/\">Dual Boot Windows 8 from VHD using Windows Setup<\/a><\/h4>\n<p><em>Posted on September 15, 2011 by <a href=\"http:\/\/blog.concurrency.com\/author\/sfritz\/\">Shannon Fritz<\/a> in <a href=\"http:\/\/blog.concurrency.com\/category\/infrastructure\/\">Infrastructure<\/a><\/em><\/p>\n<p>Are you running Windows 7 and have things just the way you like them, but you\u2019re really curious to see how Windows 8 looks and feels? Using this method, you can boot your computer between your existing Windows 7 installation or Windows 8 without needing to sacrifice disk space! Using a Dynamic Virtual Hard Disk (VHD), you can install Windows 8 to a single file that is stored on your Windows 7 file system, and then boot directly from that Virtual Hard Disk when you can then choose to load your existing OS or the new Windows 8. You are not doing an in-place upgrade and you are not doing a rebuild. It\u2019s just a new install of Windows 8 and you don\u2019t have to trash your existing setup to do it. Let\u2019s get started!<\/p>\n<p>On the computer which already has windows 7 installed, boot from the Windows 8 media and you\u2019ll launch the installer. Before clicking \u201cInstall Now\u201d, hit <strong>Shift+F10<\/strong> and the WinPE command prompt will appear.<\/p>\n<p><a href=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/01-WinPECMD.png\"><img loading=\"lazy\" decoding=\"async\" title=\"01-WinPECMD\" alt=\"\" src=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/01-WinPECMD.png\" width=\"560\" height=\"420\" \/><\/a><\/p>\n<p>Note: If you want to boot from USB instead of burning a DVD, you can use <a href=\"http:\/\/wudt.codeplex.com\/\">the very handy WUDT tool<\/a> from CodePlex which will make a bootable USB stick from the ISO for you.<\/p>\n<p>It\u2019s time to create the VHD that will be your Windows 8 drive. Run \u201c<strong>diskpart<\/strong>\u201d from the CMD window, then issue the following commands to diskpart:<\/p>\n<ol>\n<li><strong>list disk<\/strong> \u2026 This shows your currently attached hard disks. In this example I only have one, Disk 0. <\/li>\n<li><strong>select disk 0<\/strong> \u2026 You want to select the disk where you\u2019re current operating system (Windows 7) is installed, so if you have multiple disks available, you might use a different number. <\/li>\n<li><strong>list vol<\/strong> \u2026 Show all the volumes that exist on that disk. Existing installations of Windows 7 will usually have a 100MB volume that is the \u201cSystem Reserved\u201d partition (used as the boot loader and leveraged by BitLocker) and then the actual OS volume is much larger. In example you can see my Windows 7 volume is actually assigned to letter D (although when booting normally it would be my C: drive). <\/li>\n<li><strong>create vdisk file=d:\\Windows8.vhd maximum=100000 type=expandable<\/strong> \u2026 This creates a Dynamic VHD that can grow to ~100GB in the root of my Windows 7 partition. <\/li>\n<li><strong>select vdisk file=d:\\Windows8.vhd<\/strong> \u2026 after selecting this vdisk, the following commands will apply to it <\/li>\n<li><strong>attach vdisk<\/strong> \u2026 The VHD will be mounted and the disk will be available to the windows installer <\/li>\n<li><strong>exit<\/strong> \u2026 we\u2019re done with diskpart<\/li>\n<\/ol>\n<p>All those commands will look like this:<\/p>\n<p><a href=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/02-DiskpartVHD.png\"><img loading=\"lazy\" decoding=\"async\" title=\"02-DiskpartVHD\" alt=\"\" src=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/02-DiskpartVHD.png\" width=\"560\" height=\"420\" \/><\/a><\/p>\n<p>Now you can close the Command Prompt and return to the Install Windows wizard and click <strong>Install Now<\/strong>. When asked where you want to install Windows, you should see a new <strong>Disk 1<\/strong> listed with Unallocated Space. You\u2019ll notice that when you select this disk the installer will tell you that \u201cWindows cannot be installed to this disk\u201d but the Next button is enabled. If you click Next, it will in fact install Windows there just fine.<\/p>\n<p><a href=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/03-Disk1.png\"><img loading=\"lazy\" decoding=\"async\" title=\"03-Disk1\" alt=\"\" src=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/03-Disk1.png\" width=\"560\" height=\"420\" \/><\/a><\/p>\n<p>Once the installation is complete and your computer reboots, you will see a new boot loader that asks you to \u201cChoose an operating system\u201d and you can select either the new install of Windows 8 or your previously existing OS. The first time this appears you get about 3 seconds and it auto loads Windows 8 to finish the setup. On subsequent reboots it\u2019ll give you 30 seconds before auto selecting it.<\/p>\n<p><a href=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/04-ChooseOS.png\"><img loading=\"lazy\" decoding=\"async\" title=\"04-ChooseOS\" alt=\"\" src=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/04-ChooseOS.png\" width=\"560\" height=\"420\" \/><\/a><\/p>\n<p>Now you can browse around Windows 8 on your Native hardware! You can also still access files on your Windows 7 disk. Open Explorer and you\u2019ll see it appear as a different drive letter (D:\\ in this case) and you can browse around and copy\/modify files as you wish.<\/p>\n<p><a href=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/05-Windows8.png\"><img loading=\"lazy\" decoding=\"async\" title=\"05-Windows8\" alt=\"\" src=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/05-Windows8.png\" width=\"560\" height=\"420\" \/><\/a><\/p>\n<p>Notice that the D:\\ looks full? This is because the VHD you created for Windows 8 is reporting its maximum size instead of its actual size. When you boot into windows 7 you\u2019ll see the VHD is actually only about 8GB.<\/p>\n<p>All done with Windows 8 and can\u2019t figure out how to shut down? Take your mouse and hover over the start button, or touch your mouse cursor to the bottom left corner of the screen and a small start menu will appear. Click on Settings, then Power and choose Shutdown.<\/p>\n<p><a href=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/06-Shutdown.png\"><img loading=\"lazy\" decoding=\"async\" title=\"06-Shutdown\" alt=\"\" src=\"http:\/\/blog.concurrency.com\/wp-content\/uploads\/2011\/09\/06-Shutdown.png\" width=\"563\" height=\"201\" \/><\/a><\/p>\n<p>Now you can enjoy the best of both worlds\u2026N\u2019joy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/blog.concurrency.com\/infrastructure\/dual-boot-windows-8-from-vhd-using-windows-setup\/ &#160; Dual Boot Windows 8 from VHD using Windows Setup Posted on September 15, 2011 by Shannon Fritz in Infrastructure Are you running Windows 7 and have things just the way you like them, but you\u2019re really curious to see how Windows 8 looks and feels? Using this method, you can boot your computer [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=125"}],"version-history":[{"count":1,"href":"http:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/125\/revisions"}],"predecessor-version":[{"id":783,"href":"http:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/125\/revisions\/783"}],"wp:attachment":[{"href":"http:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}