{"id":65,"date":"2017-12-05T09:03:08","date_gmt":"2017-12-05T08:03:08","guid":{"rendered":"https:\/\/kerms.hobby-site.org\/?p=65"},"modified":"2017-12-05T09:04:16","modified_gmt":"2017-12-05T08:04:16","slug":"add-windows-driver-offline","status":"publish","type":"post","link":"https:\/\/kerms.hobby-site.org\/?p=65","title":{"rendered":"Add windows driver offline"},"content":{"rendered":"<h1>Using DISM to install Storage Drivers<\/h1>\n<p>If you migrate Windows installations between storage adapters, you&#8217;re often left with the well known STOP 0x7B <code>INACCESSIBLE_BOOT_DEVICE<\/code>. This happens because Windows doesn&#8217;t yet have the required drivers installed, and\/or set as boot-critical.<\/p>\n<p>The <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/hh824971.aspx\">dism.exe<\/a> tool allows us to install (boot-critical) drivers into an offline Windows &#8222;image&#8220;. Note that an offline Windows &#8222;image&#8220; is nothing special &#8211; a regular Windows install is a valid Windows &#8222;image&#8220;.<\/p>\n<p>After a STOP 0x7B, Windows Boot Manager usually sets up fallback boot into <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc766048.aspx\">WinRE<\/a> (Windows Recovery Environment). WinRE has a copy of the DISM tool, so you&#8217;re good to go. (Cancel the Startup Recovery assistant if you have to.)<\/p>\n<p>Example DISM commands to use from the WinRE (or WinPE) Command Prompt:<\/p>\n<h2>Install Microsoft\/Generic Storage Drivers<\/h2>\n<p>This includes MSAHCI, IntelIDE, AMDIDE, ATAPI, PCIIDE and so on:<\/p>\n<pre><code>dism \/image:d:\\ \/add-driver \/driver:d:\\windows\\inf\\mshdc.inf \/forceunsigned\r\n<\/code><\/pre>\n<p>(D: is assumed to be the Windows SystemDrive partition.)<\/p>\n<h2>Install LSI MegaRAID \/ SAS\/SATA Drivers<\/h2>\n<pre><code>dism \/image:d:\\ \/add-driver \/driver:d:\\windows\\inf\\megaraid.inf \/forceunsigned\r\n<\/code><\/pre>\n<p>(D: is assumed to be the Windows SystemDrive partition.)<\/p>\n<h2>Install VirtIO Storage Drivers<\/h2>\n<p>If you have the <a href=\"http:\/\/www.linux-kvm.org\/page\/WindowsGuestDrivers\/Download_Drivers\">VirtIO drivers<\/a> ISO mounted, and added the drivers in the Recovery GUI, dism can add them to the offline Windows as well:<\/p>\n<pre><code>dism \/image:c:\\ \/add-driver \/driver:d:\\win7\\amd64\\viostor.inf\r\n<\/code><\/pre>\n<p>(C: is assumed to be the Windows SystemDrive partition, and D: is the virtio ISO\/CD.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using DISM to install Storage Drivers If you migrate Windows installations between storage adapters, you&#8217;re often left with the well known STOP 0x7B INACCESSIBLE_BOOT_DEVICE. This happens because Windows doesn&#8217;t yet have the required drivers installed, and\/or set as boot-critical. The &hellip; <a href=\"https:\/\/kerms.hobby-site.org\/?p=65\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-65","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/kerms.hobby-site.org\/index.php?rest_route=\/wp\/v2\/posts\/65"}],"collection":[{"href":"https:\/\/kerms.hobby-site.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kerms.hobby-site.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kerms.hobby-site.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kerms.hobby-site.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65"}],"version-history":[{"count":3,"href":"https:\/\/kerms.hobby-site.org\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions"}],"predecessor-version":[{"id":69,"href":"https:\/\/kerms.hobby-site.org\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions\/69"}],"wp:attachment":[{"href":"https:\/\/kerms.hobby-site.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kerms.hobby-site.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kerms.hobby-site.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}