Changing harddisk in multiboot system

Its more ‘getting restarted’. I want to change the harddisk to a smaller one. I have a tripple boot system with Win10, WinXP and Mabox, which makes it complicated.
In MBR I have bootus bootloader, which on the working disk branches to GRUB installed in sda3 partiton. (sda1 is WinXP, sda2 is Win10)
I made a exact copy of the sda3 partition on the smaller harddisk (sda3, sda2, sda1 is same size).
When I select to boot Mabox I get an empty screen. For me it seems that the GRUB in sda3 needs to get regenerated. I want avoid a fresh installation as I added a lot of tools/adjustments.
My plan is to use the live USB (2301), but I lack experience what exact commands are necessary to regenerate the GRUB in sda3.
I found: sudo grub-install --force /dev/sdxy
Is that sufficient?

1 Like

Just solved it with USB Live Stick and the following commands:
sudo mount /dev/sdXY /mnt/boot
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /sys /mnt/sys
sudo mount -t proc /proc /mnt/proc
sudo chroot /mnt /bin/bash
grub-install --force /dev/sdxy