Copied system partitions to USB disk, how to proceed to make a clone?

Bo Berglund bo.berglund at gmail.com
Wed Oct 20 08:55:29 UTC 2021


On Wed, 20 Oct 2021 00:20:56 +0200, Bo Berglund <bo.berglund at gmail.com> wrote:

>Notice how now the menu contains *both* the Ubuntu 18.04 entries from the system
>disk (/dev/nvme0n1p6) AND the same entries from the backup disk attached by USB
>(/dev/sda1), which I had not removed!
>
>I am happy it found the installation on the hdd, but I do not want the /dev/sda1
>entries to remain there!
>
>How can I force its removal?
>I will pull the USB backup disk out, but will that fix the grub menu?
>
>If it still remains in the boot menu, is there a command to force an update when
>the backup disk is disconnected?
>
>Has to wait until tomorrow....

After some sleep and headscratching:
------------------------------------
Found this:
https://www.howtogeek.com/196655/how-to-configure-the-grub2-boot-loaders-settings/
it helped a lot!

The command to use (after removing the backup drive) to fix boot:

sudo update-grub

inside the Ubuntu 20.04 system.

Now the boot menu looks OK.

And I was able to boot to the Ubuntu 18.04 system!
And the home partition was correctly mounted as well.

It seems to hang during load if I do not connect an Ethernet cable to the PC,
though.

WiFi is unknown by the Ubuntu 18.04 transferred system (no such thing on the
eMacine PC from 2010), but as soon as I connected the cable it continued the
boot and I could log in again.

Now starts the "fun" part of trying to effect an upgrade to 20.04 server!

Thanks for bearing with me during this process, I am much obliged!


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list