To upgrade my desktop PC (a nine year old ACER Predator G3620 with six SATA ports, one SATA III, the other five SATA II) I decided to install an SSD to replace the original mechanical hard drive. Before installing the SSD my dual-boot set up was
A small SSD connected to the SATA III port containing a Windows 10 NTFS partition, on /dev/sda3, and an ext4 partition for my Ubuntu 20.04 root, on /dev/sda5, and
a 2TB mechanical drive containing, among other partitions, an ext4 partition for /home, on /dev/sdb3, and a linux swap partition.
I'm not using EFI, but keeping the BIOS setup as it was to use legacy settings when I purchased the PC. I have Boot Priority Order|1st Boot Device [Hardisk ...].
I backed up the partition containing /home using Clonezilla and removed the mechanical drive and replaced it with a 2TB SSD. I swapped SATA ports so that the new SSD was connected to the SATA III port and the old SSD was connected to a SATA II port. Booting from a 20.04 installation USB flash drive, I used gparted to create three partitions on the new drive, which because of the switch in ports was now /dev/sda, /sda1 as ext4, slightly larger than my original /sda5 (which was now /sdb5), /sda2, also ext4, which was all of the disk except for the last 20GB which was formatted as /sda3, a linux swap partition. I then restored my /home partition to /sda3. At this point /sda3 had the same UUID as my old /sdb3 and I changed the swap partition's UUID to match that of the old swap partition.
After shutting down and removing the flash drive I powered up and everything worked as expected, with the change that df reported / mounted on /dev/sdb5 and /home mounted on /dev/sda2. At boot time I could also select my Windows 10 installation in the GRUB2 menu and it booted correctly.
I would like to make one more change, put Ubuntu 20.04 completely on the new drive and let Windows 10 have the entire small SSD, with the new drive becoming the boot disk. Using gparted on the installation flash drive I copied /dev/sdb5 (where / is mounted) to /dev/sda1 and changed the UUID of /dev/sda1 so it didn't conflict with the original /dev/sdb5.
At this point I thought that following the instructions at
https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd
would do what I wanted, so I could then delete /dev/sdb5 and extend /dev/sdb3. But before I did that, I tried I making my new drive the first boot drive in the BIOS setup. However when I try to boot from it I get the error message
Reboot and Select proper Boot device
or Insert Boot Media in Selected Boot device and press a key.
If I switch back to making the old drive first in the boot order, the machine boots but it uses the old root at /dev/sdb5 just as it was before I tried changing the location of GRUB.
I have tried searching for other solutions, but none seem to fit my particular situation. I thought deleting /dev/sdb5 and trying to install GRUB again might work, but I'm reluctant to try something that might completely destroy my setup. I would appreciate any suggestions.
Edit: As requested, here is the link to my Boot-info summary report
https://paste.ubuntu.com/p/QhyPBh4Csq/