Can I boot Windows from an HDD via USB? inaccessible_boot_device

Page 1 of 2 12 LastLast

  1. Posts : 3
    Windows 10
       #1

    Can I boot Windows from an HDD via USB? inaccessible_boot_device


    I have a Toshiba P55T-B5262 that came with a 1TB HDD containing 5 partitions:


    1.00 GB Healthy (Recovery Partition)
    100 MB Healthy (EFI System Partition)
    918.77 GB NTFS C: Healthy (Primary Parition)
    791 MB Health (Recovery Partition)
    10.75 GB Healthy (Recovery Partition)


    I upgraded the Windows 8.1 installation on C: to Windows 10.


    Then I split the 918.77 GB partition into:
    403.06 GB NTFS C: Healthy (Primary Parition)
    515.71 GB NTFS G: Healthy (Primary Parition)


    After doing the split everything still works fine and the computer boots into Windows 10 as it should and I have an extra partition at G: like I expected.


    Then I cloned all of the partitions except G: onto a 480GB SSD using EasUS Todo Backup.


    The resulting partitions on the SSD are:
    8 MB Unallocated
    1.00 GB Healthy (Recovery Partition)
    100 MB Healthy (EFI System Partition)
    434.36 GB NTFS C: Healthy (Boot, Page File, Crash Dump, Primary Partition)
    791 MB Health (Recovery Partition)
    10.75 GB Healthy (Recovery Partition)
    8 MB Unallocated


    After doing the clone I am able to still boot the computer from the original HDD just fine.


    I can also replace the HDD with the SSD and the computer boots into Windows just fine from the SSD.


    Either hard drive lets me boot into Windows and both work perfectly and I can see all of the partitions in the disk manager in Windows.


    However, when I boot from the SSD and I try to use the "Create a recovery drive" option in Windows it tells me that some files are missing and won't let me create a recovery drive. For some reason it can't see the recovery partition that was copied over from the HDD even though it's there and shows in disk manager.


    Both drives work fine to boot from, but Windows doesn't seems to recognize the factory recovery partitions on the cloned drive. When I go into advanced boot options for Windows with the SSD installed I see the startup settings (for safe mode, etc) but the recovery option isn't there like it is when I go into the advanced options when booting from the original HDD.


    Anyway, this led me to want to boot from my original HDD so that I could create a USB recovery drive, but I didn't want to keep taking all of the screws out of my computer to switch the hard drives, so I wanted to boot from the original HDD by plugging it via USB. So I put the original HDD into a USB encasement to try this.


    If I boot the laptop from the SSD and then plug in the original HDD via USB I can see all of the partitions in the disk manager and access the files from the two primary paritions so the drive works fine. Plus I can switch the SSD for the HDD and the laptop boots from the HDD fine, so it's bootable and the MBR and all that stuff hasn't been modified at all, it was simply cloned onto the SSD.


    But if I reboot the laptop with the HDD plugged in via USB the computer launches into automatic repair and then gives me a blue screen with inaccessible_boot_device as the error.


    The BIOS on the laptop is set to boot UEFI with USB first over the SSD, although I've tried it on CSM (the only other option) but with no luck.


    Every time I try to boot from the original HDD plugged in via USB I get inaccessible_boot_device. Startup repair doesn't fix it. And when I go into system restore from the startup troubleshooting screen, I see the restore points from the SSD NOT the ones from the HDD. So, the recovery partition on the HDD is kicking in and letting me see the system restore and reset / recovery options (unlike when I boot from the SSD) but I can't boot from it. If I put the HDD int the computer as normal it boots fine, but when I have it plugged in USB it gives me that error.


    I just want to be able to plug this working, bootable Windows hard drive into the PC it came with (which works fine to boot from when installed internally) and have the PC boot from it.


    As an experiment I plugged the HDD into a DIFFERENT laptop (a Dell I have laying around) and I changed the BIOS on that laptop to boot UEFI instead of legacy, the Dell actually boots Windows 10 from the external HDD. It runs an automatic repair first, then in the repair screen I chose "Exit and continue to Windows 10" and it booted the entire OS from the external HDD and everything worked fine. After it did the automatic repair the one time, now when boot the Dell laptop with the external HDD plugged in it will boot from the external HDD into Windows 10 perfectly.


    So, another laptop will boot from the external HDD and go into Windows 10, but the laptop the HDD came with won't boot from it.


    Does anyone have any ideas or have an idea what I might be able to do to fix this?


    The main thing I want to do is be able to boot the laptop into Windows 10 from the original HDD via USB instead of having to plug it in via SATA.


    Thanks!
      My Computer


  2. Posts : 3
    Windows 10
    Thread Starter
       #2

    I figured it out, it was USB 3.0 drivers not being loaded


    Solved it!

    I booted up the other laptop using the external drive to get into the Windows 10 installation and I changed BootDriverFlags in the registry for the installation to 0x14 instead of 0. That forces the USB 3.0 drivers (all the ports on the Toshiba laptop are 3.0) to load early in the boot. They weren't being loaded early enough before, so the external drive couldn't boot since it was running over USB 3.0

    After doing that, I can plug the HDD into the Toshiba via USB and it boots from the external HDD, which is the original HDD that came with the laptop just in an external encasement.

    Now the laptop boots from the SSD that I cloned the HDD to and installed but I can plug the original HDD in at anytime via USB to boot from it instead.

    Now I have two separate installations that I can boot from, so I can create two totally different environments.

    The boot from the external drive is a little slower than normal, but after the initial startup and login (maybe 2 minutes total until the system "settles down" and is ready for use) everything runs pretty quick. Definitely fast enough to operate on and do most things.
      My Computer


  3. Posts : 3
    Windows 10
    Thread Starter
       #3

    And I can create a recovery drive


    Also, I'm able to create a recovery drive when I boot from the external HDD. So now I have a fully bootable recovery drive to reset the PC at anytime. In addition to a working cloned Windows 10 SSD installed and an external (or internal) bootable Windows 10 HDD that is also fully configured. Along with a Windows 10 system image backup on another external HDD that can be used for a fully restore to any other drive.
    Last edited by carlossagan; 14 Aug 2015 at 08:58.
      My Computer


  4. Posts : 2
    Windows 7
       #4

    Dude you are the man!


    Just used your thread to solve a problem cloning a Lenovo with UEFI.

    What worked was using Samsung's Data Migration to clone to a Samsung SATA SSD in a USB dock, then make your registry change to the copy and use a Windows 10 setup USB to repair.

    It then booted from the USB copy and I was able to use the already-installed Data Migration software to clone BACK into a newly installed Samsung M.2 SSD.

    One interesting quirk: it booted fine from the internal, but when I tried to update Windows 10 to the latest build, I got an error complaining about Windows being installed on USB.

    So I reversed the registry change, rebooted, and all's well.

    Once again ... YOU ARE THE MAN! Thank you so much!
      My Computer


  5. Posts : 4,224
    Windows 10
       #5

    Which version of BootDriverFlags makes the difference: I see it in ControlSet001, CurrentControlSet, and HardwareConfig. It's set to decimal 28 in the first two instances, and to decimal/hex 0 in the third. By extrapolation, I'm guessing it's the one in HardwareConfig that needs changing. Can anyone confirm or correct this, please? Can't find much information about this key online. Thanks!
    --Ed--
      My Computers


  6. Posts : 5,478
    2004
       #6

    EdTittel said:
    Can't find much information about this key online.
    The value 0x14 means USB 2 (0x4) or USB 3 (0x10)

    0x1c (decimal 28) means USB 2, USB 3 or SD Card (0x8) and SD card works for me.

    The operating system can promote a driver's StartType to be a boot start driver depending on the BootFlags value specified in the driver's INF. You can specify one or more (ORed) of the following numeric values in the INF file, expressed as a hexadecimal value:

    • If a driver should be promoted to be a boot start driver on network boot, specify 0x1 (CM_SERVICE_NETWORK_BOOT_LOAD).
    • If a driver should be promoted on booting from a VHD, specify 0x2 (CM_SERVICE_VIRTUAL_DISK_BOOT_LOAD)
    • If a driver should be promoted while booting from a USB disk, specify 0x4 (CM_SERVICE_USB_DISK_BOOT_LOAD).
    • If a driver should be promoted while booting from SD storage, specify 0x8 (CM_SERVICE_SD_DISK_BOOT_LOAD)
    • If a driver should be promoted while booting from a disk on a USB 3.0 controller, specify 0x10 (CM_SERVICE_USB3_DISK_BOOT_LOAD).
    • If a driver should be promoted while booting with measured boot enabled, specify 0x20 (CM_SERVICE_MEASURED_BOOT_LOAD).
    • If a driver should be promoted while booting with verifier boot enabled, specify 0x40 (CM_SERVICE_VERIFIER_BOOT_LOAD).
    • If a driver should be promoted on WinPE boot, specify 0x80 (CM_SERVICE_WINPE_BOOT_LOAD)
    Specifying Driver Load Order | Microsoft Docs

    There is a better description here: Trying to run Hyper-v 2016 from USB - Server Fault
      My Computer


  7. Posts : 2
    Windows 7
       #7

    EdTittel said:
    Which version of BootDriverFlags makes the difference: I see it in ControlSet001, CurrentControlSet, and HardwareConfig. It's set to decimal 28 in the first two instances, and to decimal/hex 0 in the third. By extrapolation, I'm guessing it's the one in HardwareConfig that needs changing. Can anyone confirm or correct this, please? Can't find much information about this key online. Thanks!
    --Ed--
    It's the one in HardwareConfig.

    I also had a tiny bit of trouble later when trying to update to build 1709, I also needed to find a key I'd changed earlier, "PortableOperatingSystem" was set to 1 (so Windows thought I was trying to install on the USB-connected drive still, and balked) and I had to set it back to 0. Now the Lenovo Yoga 720 is merrily computing along, with a new 512GB M.2 SSD cloned from the original 256GB.

    Couldn't've done that without this thread.
      My Computer


  8. Posts : 11,247
    Windows / Linux : Arch Linux
       #8

    Hi folks

    There's a bit of obfuscation here

    you can't use this method to actually boot a Windows 10 HDD from a USB unless it's a Windows to Go type of thing.

    To boot from install or recovery disks has never IMO been a problem anyway.

    If this method really does allow people to boot totally from an external HDD then great -- can anyone actually confirm this --- a proper test would be to ensure there's no bootable working internal HDD. You can also run windows from a VHD (virtual Hard Disk) but this still needs a boot manager on an internal HDD !!!!

    If this method works then you could make a totally portable Windows system -- people have been trying to do that probably for as far back as "Pontius was a Pilot" !!! with zero success apart from the Windows to Go stuff. Windows to Go needs in any case either "certified devices" or Windows Enterprise 10 to install -- it was possible via some roundabout methods to get Windows to go to work on Windows 8.1 PRO rather than enterprise but I believe Windows 10 has tightened up the protocol considerably.


    Cheers
    jimbo
      My Computer


  9. Posts : 4,224
    Windows 10
       #9

    I was just curious to see if I could get USB 3 drivers to load faster/earlier in the boot cycle on a couple of old PCs in my case, Jimbo. Thanks for clarifying, though.
    Best wishes,
    --Ed--
      My Computers


  10. Posts : 2,832
    Windows 10 Pro X64
       #10

    Hi,

    Windows to Go needs in any case either "certified devices" or Windows Enterprise 10 to install -- it was possible via some roundabout methods to get Windows to go to work on Windows 8.1 PRO rather than enterprise but I believe Windows 10 has tightened up the protocol considerably.
    There are still several software packages around that allow you to build a win to go install using any version of W7 to W10 on non-certified USB3.0 or higher devices.

    Cheers,
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:49.
Find Us




Windows 10 Forums