I am install Xubuntu 22.04 on a machine that was just running Kubuntu 18.04 (or maybe 22.04). It worked well.
I then removed the old HD and installed a brand new one. I ran then Xubuntu installer and selected the default option to install on the whole disk. Install went fine then I restarted.
Now when I boot into the machine it says "Attempt to read or write outside of disk 'hd0'" and enter grub rescue. I have reinstalled again and arrived at the same result.
When I run the ls command from grub rescue it says...
(hd0) (hdo,gpt3) (hd0,gpt2) (hd0,gpt1) (fd0)
Can I fix this install, or is this machine borked (or the brand new HD is borked).