I had a problem with my dual boot laptop. I've had dual booted Windows and Linux for like 1 year, but I wanted to update my Ubuntu or to reinstall it. So I've done that but forgot to check the radio button that says Install Ubuntu alongside with Windows. So that happened... I've lost my boot entry to Windows. Is there any way that I could recover it.

And yes, I've checked the GParted and it says that the partition is there, as well as all files in it.

Edit: I am not sure, but as I can remember there was no UEFI Boot when I was selecting boot location. Is there a way that I can check that? Because it was long ago, I finally found time to fix it, because it was not bothering me. The button I selected said only Install Ubuntu. I forgot to say that the GRUB isn't showing on boot.

enter image description here

Thank you!

  • 4
    Take a screenshot of Gparted. Upload the screenshot in imgur.com and edit the question and add the link to the screenshot in your question above. If you forgot the radio button to install alongside Windows, which button did you select? Did you install in UEFI or Legacy BIOS (CSM) mode? Is Windows installed in UEFI mode or not? Please add all these new information in your question. – user68186 Sep 5 at 21:07
  • @user68186 I finished that. – M.Simel Sep 6 at 12:37
  • 1
  • It looks like Windows was installed in BIOS or Legacy mode and Ubuntu in UEFI mode. I may be wrong. – user68186 Sep 6 at 13:06
  • 1
    The /dev/sda6 FAT21 partition is an EFI System Partition (ESP). See the boot, esp flag. Since this is a logical partition inside the /dev/sda3 extended partition, I think it was created during Ubuntu installation. This makes me think that Ubuntu was installed in UEFI mode. See this answer to differentiate between UEFI and BIOS mode Live-USB boots. You may be able to use grub-repair as explained in the duplicate linked answers. – user68186 Sep 6 at 16:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.