When I working on a hard drive, making a live partition on it, I accidentally deleted both the swap partitions on my computer thinking they were the hard drive. Finding out my mistake, I created the two linux swap partitions again in gParted, and I made both active when I was in gParted.
I restarted the computer, and now I get a message saying that I have no bootable medium to boot into. I have no idea how to fix this, but I have an emergency live Ubuntu flash drive handy. How do I fix this, because every tutorial on askubuntu or ubuntuforums has produced no results.
Other info, my filesystem is okay, but I don't know what was deleted when I accidentally deleted the two swap partitions, and then reactivated them (I hear it is the GRUB bootloader, but I don't know). I use a 2016 System76 Oryx Pro Laptop if that will help.
Here is the link from boot-info: