Windows 10 Refuses to Boot After SSD Upgrade (XPS 9360)

1

1

I am genuinely at a loss here after almost a week of trying to fix this problem.

I've been running my 256GB XPS 13 9360 for a little more than a year now, and I decided to buy a new SSD to upgrade my tiny storage since I'm constantly running out.

I bought the XPG SX8200 Pro 1TB, which I thought was a very good upgrade.

I followed the online tutorials, which made it out to be really simple. I backed up my current SSD to a external HDD with Macrium Reflect and then restored it onto the new SSD. Everything went well until trying to boot up with the now (cloned) SSD.

The Dell logo would show up, with the spinning dots. That would stay for 1-2 minutes and then immediately my computer would power down and restart itself. I've tried force shutting down three times to get into the Windows repair, but the same thing happens except with the repair text above the spinning circles.

I've tried turning on/off secure boot, tried changing POST behaviour. I've found that:

  • UEFI Boot (Secure Boot on/off) gives behaviours above

  • Legacy Boot says no OS can be found

I've tried repeating the cloning process to no avail, and I've plugged in the SSD to another laptop of mine with the same results.

In the end I decided to order a Nvme to USB adapter and cloned the disk directly, which I just now finished, and the SAME THING happened.

I honestly don't even know what to do now.

And there's an even weirder behaviour. I burnt the USB rescue media for Macrium Reflect before - and this is the behaviour

  • With original SSD: Boots as expected

  • With NO SSD: Boots as expected

  • With CLONED SSD: Won't boot at all

Why would this even affect the USB Boot? I'm so confused.

Andy

Posted 2019-11-18T13:18:25.647

Reputation: 11

Did you update BIOS? Are you sure the BIOS will recognize 1 TB? I have an older laptop that will not accept a 1 TB drive. – John – 2019-11-18T13:20:48.227

I've gone into the BIOS and it recognises the drive being there as well as the capacity, and if I plug it into the adapter I can pretty much use it like an USB – Andy – 2019-11-18T13:22:25.317

You may need to back up the information from the old drive and install Windows fresh on the new drive – John – 2019-11-18T13:24:19.363

That's what I'm thinking of as a last resort :( But I'm hoping that there's a way to just clone the drive over – Andy – 2019-11-18T13:26:45.947

Do a fresh new installation of Windows in the new SSD and copy the old data, seems the issue is with the current image. – CaldeiraG – 2019-11-18T13:27:07.020

If I were to do a fresh new installation of Windows, would I need to purchase a new license code? – Andy – 2019-11-18T13:28:23.007

1

Try Adata's cloning software>>>>>http://www.adata.com/us/ss/software-6/

– Moab – 2019-11-18T13:28:24.670

1No, you wouldn't need a new license code because it's already binded with your computer (assuming it's a OEM license). Windows will activate itself once you finish the installation. – CaldeiraG – 2019-11-18T13:30:08.867

Okay, sounds good! I'm going to try to clone it a few more times and just re-install if it still doesn't work – Andy – 2019-11-18T13:33:03.250

Have you cloned the ESP as well? – None – 2019-11-18T14:06:10.827

1Even new SSD often need SSD firmware update. Have you checked if you have latest firmware for your new drive? – oldfred – 2019-11-18T15:17:07.857

Was the previous drive also an NVMe? – Smock – 2019-11-18T16:10:19.163

Yes! The ESP is cloned over as well. – Andy – 2019-11-18T21:35:22.017

I haven't checked for firmware upgrades - will do so today – Andy – 2019-11-18T21:35:42.613

Yes, the previous drive was also Nvme - it is to the same specs except the capacity. – Andy – 2019-11-18T21:36:17.190

Answers

2

This is one of many reasons why 3rd party cloning tools are not recommended.

Windows natively supports imaging of partitions via DISM in Windows >=8, which is far superior to 3rd party cloning tools, and doesn't cause configuration issues.

  • Provided the 3rd party tool accurately re-created the partition structure of the HDD, with the ESP and MSR partitions preceding the OS partition, this is an easy fix:
    1. Boot Windows Install Media, and once it loads, press SHIFT + F10, then issue:
      1. Verify Partitions: diskpart > lis dis > sel dis X > lis par
        • Where X is the disk number of the SSD (likely 1 if HDD still connected)
      2. While the below structure is preferred, the only required partition order is Partition 2-4
        Partition ###  Type              Size     Offset
        -------------  ----------------  -------  -------
        Partition 1    Recovery          2560 MB  1024 KB
        Partition 2    System             260 MB  2561 MB
        Partition 3    Reserved           128 MB  2821 MB
        Partition 4    Primary            300 GB  2949 MB
        
        • Partition 2: System: ESP [EFI] partition (formatted FAT32)
        • Partition 3: Reserved: MSR
        • Partition 4: Primary: Windows OS
      3. If partitions 2 - 4 are correct: exit
      4. Issue the following: BootRec /FixMBR > BootRec /RebuildBCD > Reboot
        • /RebuildBCD: Select only the Windows OS that exists on the SSD (do not select all), or if no Windows OS is found, that's fine too.
    2. Windows should now load, but if not, shut the PC down, remove the HDD, then boot from the Windows Install Media again and re-run the commands from 1.4
      • If this doesn't work, it will likely be easier to re-image the HDD using DISM, properly configuring the SSD partition structure. See Configure Partitions and Imaging.

Configure Partitions

  1. Boot Windows Setup Media and open a terminal via SHIFT + F10
  2. Issue the following commands:
    1. diskpart
    2. lis dis
    3. sel dis X
      • Where X is the # of the SSD
    4. clean
    5. convert gpt
    6. cre par pri size=665 id=de94bba4-06d1-4d40-a16a-bfd50179d6ac offset=1024
      • WinRE partition must have 320MB free (WinRE.wim is ~300MB in size)
    7. format quick fs=ntfs label=WinRE
    8. gpt attributes=0x8000000000000001
    9. cre par efi size=100
    10. format quick fs=fat32 label=EFI
    11. cre par msr size=16
    12. If wanting:
      1. Rest of the disk as the system partition:
        1. cre par pri id=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        2. format fs=ntfs quick label=System
      2. To create additional partitions after the System partition
        1. cre par pri size=204800 id=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
          • Creates 200GB System partition, w/ max size required being ~300GB if storing User Data directories on a partition other than C:\ (recommended)
            (i.e %UserProfile%\Documents, %UserProfile%\Downloads, etc.)
          • Multiply partition size wanted by 1024 (i.e. 200*1024=204800)
            1. format fs=ntfs quick label=System
  3. Close terminal and proceed through Windows setup
  4. Select the 4th partition you created to install Windows to (partition from 2.12.1 || 2.12.2)
  5. Once setup reaches the "Installing Features" step, cancel the install
    • Setup can likely be canceled sooner, however, I'm not sure at which point it configures the EFI partition with the boot files, which is the only reason you're utilizing Windows Setup, since the EFI partition cannot be set up manually by the user on Windows 10.
  6. Properly Capture and Apply the System partition from the previous disk, utilizing the commands under Imaging, changing /Compress:Max to /Compress:Fast if not saving the captured image to an SSD.
    • Before applying the WIM of the system partition to the SSD, format the System partition on the SSD (partition #4 from 2.12 above): format fs=ntfs quick label=System

Imaging

  • Windows has always natively supported imaging of partitions or individual directories.
    • The system partition can only be imaged from WinPE/WinRE, while all other partitions are able to be imaged while booted to Windows.
    • WIMs (Windows IMage) can be captured of an entire partition or individual folders/files and is the best method to use (specify exclusions/exceptions in a WimScript.ini file)

  • All WinPE/WinRE WIMs have DISM included within them.
    • WinPE: Windows Preinstallation Environment
      • Such as a Windows Setup boot media (SHIFT + F10 to access terminal)
    • WinRE: Windows Recovery Environment

Commands

WinPE only has 32MB of scratch [temp] space by default, so /ScratchDir is required

  • Capture an image:

    dism /Capture-Image /ImageFile:"Z:\Base.wim" /CaptureDir:"C:" /Name:"Windows Backup" /Description:"Base Image 2019.11.18 @ 09:35" /Compress:Max /CheckIntegrity /Verify /NoRpFix /ScratchDir:"Z:\"
    

    Append an Image:

    dism /Append-Image /ImageFile:"Z:\Base.wim" /CaptureDir:"C:" /Name:"Windows Backup" /Description:"Base Image 2019.11.18 @ 09:35" /Compress:Max /CheckIntegrity /Verify /NoRpFix /ScratchDir:"Z:\" 
    
  • Apply an image:

    dism /Apply-Image /ImageFile:"Z:\Base.wim" /Index:1 /ApplyDir:"C:" /CheckIntegrity /Verify /NoRpFix /ScratchDir:"Z:\"
    
    • If applying a system image, the following commands must be issued prior to booting:

      bootrec /FixMBR && bootrec /RebuildBCD
      



NOTE:

  • It's impossible for an ESD/WIM image to become corrupted
    • Provided imaging commands are always issued with: /CheckIntegrity & /Verify

  • ESDs can only be taken of a system partition
    • /Compress:Recovery is the only compression algorithm available.
      • ESD compression ratio is ~33% more efficient than the WIM compression ratio.
      • In Windows 10, Microsoft only allows ESDs for Push-Button Reset exported images

  • ESDs/WIMs are smart compression image formats
    • Only changed files are added to an image when a new image is appended to it
      • Newly appended images utilize the same copy of unchanged files already contained within the image from the previous image(s).
        • This allows for an image to remain small in relation to the data contained within.



DISM Prerequisites


Example: /Get-WIMinfo

PS $  ls -File "Z:\WIM"

  Directory: Z:\WIM

    Mode                LastWriteTime            Length  Name
    ----                -------------            ------  ----
    -a----        2018.12.24 03:34:13   95,019,530,773B  Base.wim
    -a----        2016.06.14 22:32:36              568B  DISM.cmd
    -a----        2016.05.17 05:36:10               97B  wimscript.ini

PS $  dism /Get-WIMinfo /WIMfile:"Base.wim"

  Deploy Image Servicing and Management tool
  Version: 10.0.18362.1

    Details for image : "Base.wim"

    Index : 1
      Name : Alienware 18: Windows 10
      Description : v1803: Base (Drivers Only)
      Size : 22,710,283,446 bytes

    Index : 2
      Name : Alienware 18: Windows 10
      Description : v1803: Software Installed (No Customizations)
      Size : 45,591,850,754 bytes

    Index : 3
      Name : Alienware 18: Windows 10
      Description : v1803: Software Installed (Customized)
      Size : 94,958,267,312 bytes

    Index : 4
      Name : Alienware 18: Windows 10
      Description : v1803: Software Group 1 Installed (Customized)
      Size : 101,588,267,910 bytes

    Index : 5
      Name : Alienware 18: Windows 10
      Description : v1803: Software Group 2 Installed (Customized)
      Size : 101,905,314,237 bytes

    Index : 6
      Name : Alienware 18: Windows 10
      Description : v1809: Updated Applications
      Size : 114,959,954,040 bytes

  The operation completed successfully.
PS $  dism /Get-WIMinfo /WIMfile:"Base.wim" /Index:1

  Deployment Image Servicing and Management tool
  Version: 10.0.18362.1

    Details for image : "Base.wim"

      Index : 1
      Name : Alienware 18: Windows 10
      Description : v1803: Base (Drivers Only)
      Size : 22,710,283,446 bytes
      WIM Bootable : No
      Architecture : x64
      Hal : acpiapic
      Version : 10.0.17134
      ServicePack Build : 1
      ServicePack Level : 1
      Edition : Professional
      Installation : Client
      ProductType : WinNT
      ProductSuite : Terminal Server
      System Root : WINDOWS
      Directories : 24288
      Files : 112665
      Created : 2018.05.05 - 13:56:47
      Modified : 2018.05.05 - 13:56:47
      Languages :
              en-US (Default)

  The operation completed successfully.


PS $  dism /Get-WIMinfo /WIMfile:"Base.wim" /Index:2

  Deployment Image Servicing and Management tool
  Version: 10.0.18362.1

    Details for image : "Base.wim"

      Index : 2
      Name : Alienware 18: Windows 10
      Description : v1803: Software Installed (No Customizations)
      Size : 45,591,850,754 bytes
      WIM Bootable : No
      Architecture : x64
      Hal : acpiapic
      Version : 10.0.17134
      ServicePack Build : 1
      ServicePack Level : 1
      Edition : Professional
      Installation : Client
      ProductType : WinNT
      ProductSuite : Terminal Server
      System Root : WINDOWS
      Directories : 45803
      Files : 203058
      Created : 2018.05.06 - 01:55:47
      Modified : 2018.05.06 - 01:55:48
      Languages :
              en-US (Default)

  The operation completed successfully.


PS $  dism /Get-WIMinfo /WIMfile:"Base.wim" /Index:3

  Deployment Image Servicing and Management tool
  Version: 10.0.18362.1

    Details for image : "Base.wim"

      Index : 3
      Name : Alienware 18: Windows 10
      Description : v1803: Software Installed (Customized)
      Size : 94,958,267,312 bytes
      WIM Bootable : No
      Architecture : x64
      Hal : acpiapic
      Version : 10.0.17134
      ServicePack Build : 1
      ServicePack Level : 81
      Edition : Professional
      Installation : Client
      ProductType : WinNT
      ProductSuite : Terminal Server
      System Root : WINDOWS
      Directories : 62409
      Files : 350446
      Created : 2018.06.01 - 19:09:51
      Modified : 2018.06.19 - 21:26:18
      Languages :
              en-US (Default)

  The operation completed successfully.


PS $  dism /Get-WIMinfo /WIMfile:"Base.wim" /Index:4

  Deployment Image Servicing and Management tool
  Version: 10.0.18362.1

    Details for image : "Base.wim"

      Index : 4
      Name : Alienware 18: Windows 10
      Description : v1803: Software Group 1 Installed (Customized)
      Size : 101,588,267,910 bytes
      WIM Bootable : No
      Architecture : x64
      Hal : acpiapic
      Version : 10.0.17134
      ServicePack Build : 1
      ServicePack Level : 81
      Edition : Professional
      Installation : Client
      ProductType : WinNT
      ProductSuite : Terminal Server
      System Root : WINDOWS
      Directories : 61908
      Files : 346074
      Created : 2018.06.08 - 21:54:02
      Modified : 2018.06.19 - 21:26:18
      Languages :
              en-US (Default)

  The operation completed successfully.


PS $  dism /Get-WIMinfo /WIMfile:"Base.wim" /Index:5

  Deployment Image Servicing and Management tool
  Version: 10.0.18362.1

    Details for image : "Base.wim"

      Index : 5
      Name : Alienware 18: Windows 10
      Description : v1803: Software Group 2 Installed (Customized)
      Size : 101,905,314,237 bytes
      WIM Bootable : No
      Architecture : x64
      Hal : acpiapic
      Version : 10.0.17134
      ServicePack Build : 1
      ServicePack Level : 81
      Edition : Professional
      Installation : Client
      ProductType : WinNT
      ProductSuite : Terminal Server
      System Root : WINDOWS
      Directories : 76113
      Files : 423408
      Created : 2018.06.09 - 20:38:36
      Modified : 2018.06.19 - 21:26:18
      Languages :
              en-US (Default)

  The operation completed successfully.


PS $  dism /Get-WIMinfo /WIMfile:"Base.wim" /Index:6

  Deployment Image Servicing and Management tool
  Version: 10.0.18362.1

    Details for image : "Base.wim"

      Index : 6
      Name : Alienware 18: Windows 10
      Description : v1809: Updated Applications
      Size : 114,959,954,040 bytes
      WIM Bootable : No
      Architecture : x64
      Hal : acpiapic
      Version : 10.0.17763
      ServicePack Build : 195
      ServicePack Level : 0
      Edition : Professional
      Installation : Client
      ProductType : WinNT
      ProductSuite : Terminal Server
      System Root : WINDOWS
      Directories : 87659
      Files : 452028
      Created : 2018.12.24 - 04:27:13
      Modified : 2018.12.24 - 04:27:15
      Languages :
              en-US (Default)

  The operation completed successfully.

JW0914

Posted 2019-11-18T13:18:25.647

Reputation: 2 135