3

I have a ThinkPad that has two SSD slots and one HDD slot. I have Windows 10 on an SSD and ubuntu on the HDD. I dual boot using grub. The HDD is slow. So I want to remove it, and clone ubuntu to an SSD and utilize the second SSD slot.

I was planning to use the dd command to clone the ubuntu installation, but I was afraid that I might clone it to the SSD that had Windows. Thus, I removed the Windows SSD and tried to boot into ubuntu. But grub did not launch? Then, the ThinkPad utility tool displayed the installed hardware and asked me to choose the drive to boot from. I chose the HDD, which has ubuntu, and it did not launch. The list also showed the text ubuntu; clicked it, and it did not boot. When I re-installed the Window SSD, the grub launched as normal.

So my questions are the following:

  • where do those boot managers live, e.g., grub and Window-boot-manager? on one of the disks or on auxiliary storage on the motherboard?
  • after cloning ubuntu successfully, will grub work normally with the new drive?
  • when using the lsblk command, how do I know which SSD is which, i.e., the new one and the old one that has Windows installed.

2 Answers2

1

Clone Ubuntu installation on the same machine that has dual with Windows

Assuming GRUB is installed on the Windows SSD

You should be using a Live USB to clone Ubuntu from the HDD to the SSD. You do not want to run dd from the disk you are cloning.

The Windows SSD can then be removed during cloning without a need for it's bootloader.

The cloned SSD will use the same UUID's as the old HDD, so there should be no problem booting the new SSD once the Windows disk is plugged back in.

It is best not to plug two drives with the same UUID's into the running computer at once.

C.S.Cameron
  • 20,530
  • 12
  • 78
  • 125
1

balenaEtcher Clone Drive

The latest version of Etcher now has a Clone Drive option. This should add a layer of safety to just using dd.

enter image description here

enter image description here

enter image description here

enter image description here

This works with both Internal and External drives. (Select show hidden when selecting system drives for Source or Target, I have not tried flashing with a running drive). Etcher will flash to multiple drives at a time.

With this method you should not need to unplug Windows drive.

C.S.Cameron
  • 20,530
  • 12
  • 78
  • 125