The installation goes fine, but when it comes to the GRUB installation, the installer tries to put it on the USB drive. For some reason, the usb drive is detected as /dev/sda and the HDD is at /dev/sdb.
I tried answering "no" to the "Install GRUB boot loader to the master boot record". It allows me to enter where GRUB should be installed, HOWEVER, when I start typing, what appears is garbage and not letters - some distorted symbols and that's all.
What should I do?
Edit: Found a solution here: link
However, I'm not sure whether this is the right way to do it. Is it okay to install it like this?
sudo grub-install --root-directory=/media/<ubuntu-part>/ /dev/sdb