I recently built myself a new computer, and I managed to extract the old HDD and SSD and put them into my new computer.
When I changed the BIOS settings to boot into Linux, it showed a correct grub screen.
However, it would not boot anything, including Windows, which I had previously confirmed worked on its own (It was complaining about my activation key, though).
I have a Live USB that I could boot into, and I first mounted my Ubuntu drive and chroot
ed into it. I then ran grub-mkconfig
and update-grub
, and now it won't even boot into grub.
Linux is on the HDD (/dev/sdb4), and windows is on the SSD (/dev/sdb?).
Can you help me get linux to boot? (eg. give me commands to run in order to restore grub?)