Running Windows 8 on external HDD

1

I have an Acer A0756 netbook that originally came with an HDD and Windows 8. I wanted to upgrade the hard drive, so I switched the stock HDD for an SSD, on which I installed Ubuntu 12.04. However, I would still like to be able to use the Windows install as there are many engineering programs that do not play well with Linux. So, I put the stock hard drive on a SATA-to-USB dock and attempted to boot directly off the stock hard drive (now external to the netbook). Windows attempts to boot, but I consistently get an INACCESSIBLE_BOOT_DEVICE error (I believe the error code is 0xc0000001), upon which windows restarts. I tried booting in safe mode, but this failed as well, and activating debug mode did not change anything about the process. Has anyone successfully implemented something like this or does anyone have an idea what my problem could be?

windows-8
usb
sata
asked on Super User Sep 8, 2014 by mcwayliffe

1 Answer

6

I just had the same problem and found the solution in a german magazine (c’t 2013, issue 12). The article describes different three ways of installing windows to an external drive. One of the ways included cloning an existing installation to an external drive - we can skip this step.

Further on, it is necessary to edit the windows registry. Since you are running linux you can use the tool chntpw.

Mount the external windows drive and start the editor with the option -e:

$ chntpw -e /media/<username>/Windows8_OS/Windows/System32/config/SYSTEM

Fix your path accordingly.

Now we're in the chntpw command prompt. We need to edit the value BootDriverFlags in the registry to make sure windows loads the usb drivers early during boot:

First, list all keys and values in HarwareConfig. You should see a long ID of the system. Copy the identifier.

> ls HardwareConfig
[output ommited]

> ed HardwareConfig\<paste uuid>\BootDriverFlags

In my case the value was 0. The article states that it should be 0x14 which turned out good in my case.

Next, the key MountedDevices must be deleted completely. Listed in the key are usb devices that have been connected to the computer. Windows will renew the list as devices are connected.

> cd MountedDevices

Delete all known devices, because only empty keys can be deleted.

> delallv
> cd ..
> dk MountedDevices

Type q to quit the editor and save your changes. You should now be able to boot your windows installation.

answered on Super User Nov 21, 2014 by Michael

User contributions licensed under CC BY-SA 3.0