My computer has the following config:
Drive 0: SSD, windows OS
Drive 1: HDD, data storage, Ubuntu
Originally it only had windows. I partitioned off some of drive 1 and installed Ubuntu to it. However, when I boot the computer, it goes to a grub command line, because grub seems to be on drive 0, and it doesn't find drive 1. When I do "ls" in grub, it lists hd0 and the partitions on hd0, but not hd1. If I change the boot order to do windows first, it loads windows fine. If I tell UEFI to boot ubuntu directly by going into BIOS, ubuntu loads fine. But it goes back to the grub command line upon reboot.
How can I make grub find drive 1? Should I install grub on drive 1 instead? How do I do that, since I installed ubuntu on drive 1 but grub seems to be on drive 0?