4

So I had a Dual-Boot system. Then I deleted Windows and also decided to use a software called DBAN which erases everything that it can on your hard drive. So I did that (picked the option "Quick erase" which makes the values to a 0).

Then I installed Ubuntu 20.10 and it worked. But 2 days later I couldn't boot into Ubuntu anymore. I tried to reinstall it with a flash drive, didn't worked. Tried to change the priority for booting in the BIOS, didn't worked. Tried to install Ubuntu and then use boot-repair but that didn't helped either. I can remember that it did had an effect, but Ubuntu was still unusable.

So I looked at my partitions and found that the swap and boot partitions aren't there anymore. I'm a noob when it comes to Ubuntu and partitions but I remember that if you would manually install Ubuntu you would make a /swap and /boot partition (and a /home partition or something). But I don't know how that exactly works, I mean when I installed Ubuntu the first time after using DBAN it worked...but then it didn't...Here is a Screenshot of Gparted, only Ubuntu 20.10 installed. Maybe you guys know what's missing and how to fix it

Could anyone please help me? Is there something missing? I now think that it has to be the boot partition because when I try to boot my laptop, it only turns on and off the screen like when you don't have an OS installed, however when I try to install Ubuntu again it says that I already have Ubuntu so it must be that my Laptop doesn't find the /boot, right? But I've also read that Ubuntu doesn't make an extra boot partition anymore since Ubuntu 11 I believe. So I'm clue less now...

Thanks for reading

1 Answers1

1

Boot-Repair when it is run from a live USB will create a EFI System Partition on UEFI computers if there isn't one, and also add the existing Windows OS to the grub boot menu. A swap file has been created by default on new Ubuntu installations since 17.04 instead of a swap partition, so please ignore the obsolete advice that told you to create a swap partition.

Now you have the right partitions, but Ubuntu is not always compatible with the boot partition that Boot-Repair created. Test the results of Boot-Repair by booting each of the two OSs in the dual boot. If the results of Boot-Repair are successful then you are done. If you reinstall Ubuntu it will overwrite the bootloader that Boot-Repair created and everything will be OK.

✅ After enabling UEFI in the BIOS in order to use Boot-Repair it showed the GRUB boot menu which had gone missing before.

If you are reinstalling Ubuntu please consider installing Ubuntu 20.04 instead of Ubuntu 20.10. Optional free Extended Security Maintenance (ESM) support is available for Ubuntu 20.04 until April, 2030 and for Ubuntu 22.04 until April, 2032. ESM is free for personal use on up to 5 machines (limitations apply). All you need is an Ubuntu One account. As your laptop that was manufactured in 2012 gets older, it will get harder and harder to install the latest version of Ubuntu on it.

karel
  • 122,292
  • 133
  • 301
  • 332