0

Edit: This is not a duplicate of the marked issue above. The marked issue is about Win7 being installed and the PC directly booting to Windows... This is about nothing booting (i.e. Ubuntu) at all after deleting the Windows partition...

So I had Windows 10 and Ubuntu 18 parallely installed. Yesterday my Ubuntu ran out of memory on my hard drive - as I have stopped using Windows in the past couple of months I decided to simply delete it and make more space for Ubuntu. I followed a well-rated Tutorial on Youtube (https://www.youtube.com/watch?v=Wkh-2tYt1g4) where I just had to delete the Windows Bootloader and Windows partition in GParted. After that I'd just stretch out my Ubuntu Partition over the now free space.This is what my partition looks like now.
My problem now: Ubuntu won't boot after I restarted my PC! It goes to black screen and then straight to BIOS. I opened Ubuntu live-version from an USB and ran bootinfoscript (sdb is my USB-drive)
As you can see for my Ubuntu partition, Boot sector type and Boot sector info are empty, so I must have messed something up...
Did I delete the Ubuntu GRUB by accident? Can I fix this problem without losing my Ubuntu data?
I am fairly inexperienced with Ubuntu, so please excuse any inaccuracies on my side.

Denny
  • 11
  • 3

1 Answers1

1

The supposed duplicate answer did not work.
This is how I finally solved this issue after hours of research, hope this will help someone:
1. Boot Ubuntu Live Version from USB
2. In gparted, create a new 200 MiB partition (FAT-32)
3. Move it to the very front (left) of the hard-drive.
4. Right click the new partition and flag it as esp and boot.
IT WILL LOOK LIKE THIS
5. Download and run GRUB2 repair: https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/
6. Click Recommended Repair - if an error comes - please make sure steps 1-4 have been done correctly and applied with the green tick-mark at the very top in gparted
7. Just execute the instruction (copy-paste like 5 lines into the terminal)
8. The program will say it is done and spit out an URL. just save/write down the URL in case there are any problems.
9. You can now reboot and your Ubuntu should work, without any data loss!

Denny
  • 11
  • 3