I'm really sorry if this is a repost, but I couldn't find anybody with my same problem online. I started with a PC running Ubuntu 18 on an SSD (let's call it HDD #1) with the default partition setup and an encryption setup for the largest of the three partitions that holds all the user data (Documents, programs, etc.). I also had another HDD (let's call it HDD #2) that was plugged in that was set up to just be one huge 4TB partition with data on it. HDD #2 can't and shouldn't be booted from. This system was working fine up until...
I decided to format and install Ubuntu on a third HDD (let's call it HDD #3). This went well and I can now boot and run from HDD #3. Unfortunately, after unplugging HDD #3, my PC refuses to boot from HDD #1 anymore. I have tried:
- Changing the boot order of the drives so that HDD #1 boots first
- Directly booting from HDD #1 in BIOS
- Unplugging HDD #2 and HDD #3 and booting both ways from HDD #1
What happens if HDD #3 isn't plugged in is that after BIOS boots up, it sends me straight to GNU GRUB. I'm not sure what to do in there or if I should be doing anything in there at all, I know it's a bootloader but don't know how to use it and don't want to mess anything up by not knowing what I'm doing (all too easy in Linux!).
What did I do wrong? Is there a way I can fix this? Can HDD #1 be accessed ever again?
boot-repair
, if you are able. – Nmath Jun 10 '19 at 02:37sudo grub-install
issued from the system on HDD1 should solve this. – mook765 Jun 10 '19 at 02:53I get this error:
Cannot add PPA: 'ppa:~yannubuntu/ubuntu/boot-repair'. ERROR: '~yannubuntu' user or team does not exist.
– Holden Gjuka Jun 10 '19 at 03:13sudo add-apt-repository ppa:yannubuntu/boot-repair
. – heynnema Jun 10 '19 at 13:48