So I had a dual boot system where I had Windows and Ubuntu. Since windows wasn't needed I had deleted it. Now I'm not able to boot into anything as it says there is nothing to boot into.
I then used a live usb of Ubuntu 18.04. Using that I can access my Ubuntu as I see all my files and folders.
Running fdisk -l shows that I have Ubuntu installed on /dev/sda8 and there is grub installed on /dev/sda1.
Now it looks like this:
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0F9F7ABB-A37C-4FE7-8496-93B1538A2283
Device Start End Sectors Size Type
/dev/sda8 2048 500105215 500103168 238.5G Linux filesystem
/dev/sda8 disk contains 120+ Gb of data.
How can I enable grub at startup so I can boot into Ubuntu? I am a newbie in installing multi-OS so please let me know if any additional info is needed.