Score:0

Replacing Windows 10 disk in UEFI dual boot setup

us flag

I successfully followed user613363's recipe to this question to set up a dual-boot system with Windows 10 and Ubuntu 18.04. Now, I need to move my Windows 10 installation to an SSD (replacing the current disk) by cloning.

What steps will be necessary afterwards? Do I have to update the boot loader? If so, how? Are there any obvious pitfalls that I should avoid?

us flag
I asked this question as a comment but have not received any answers. I hope that my issue is relevant enough to warrant a separate question.
C.S.Cameron avatar
cn flag
Is the disk you are cloning to at least as big as the disk you are cloning from? Do you want to use the Windows bootloader or is your current GRUB okay?
us flag
@C.S.Cameron The new disk will be larger. Would like to stick with GRUB.
oldfred avatar
cn flag
Clone only works if you also are removing old drive. You cannot have duplicate UUID & GUIDs. With Ubuntu I suggest new install, have not installed Windows for over 15 years, so do not know best solution.
us flag
@oldfred I clarified that I will be replacing the current Windows 10 disk with a new one.
C.S.Cameron avatar
cn flag
Simplest is to boot Ubuntu Live USB and use GParted to copy/paste Windows partition to new SSD. (Partition table type must be same on both drives). After copy use GParted to change old Windows UUID. Existing GRUB should now boot new Windows install. If everything is working correctly, delete old Windows install. Boot may be faster if GRUB is reinstalled to new SSD.
Score:1
us flag

After successfully moving Windows 10 to a new SSD while preserving the dual-boot setup using the hints given in the comments, let me post a summary as an answer.

Starting point:

  • Ubuntu on HD1
  • Windows 10 on HD2 (500 GB)
  • Empty HD3 (500 GB)
  • Ubuntu on flash drive

Steps:

  1. Disconnect HD1 to avoid any accidents
  2. Install HD3
  3. Boot into Ubuntu Live and use GParted and dd as discussed here to clone HD2 to HD3.
  4. Once dd has completed, shut down and remove Ubuntu flash drive
  5. Disconnect HD1, reconnect HD2

At the end, both installations (Ubuntu on HD1, Windows 10 on new HD3) can be booted from GRUB as before.

sudodus avatar
jp flag
Thanks for sharing your solution :-)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.