Lost Windows 10 after installing Ubuntu [FIX]

Milan Stanojevic
by Milan Stanojevic
Windows & Software Expert
Milan has been enthusiastic about PCs ever since his childhood days, and this led him to take interest in all PC-related technologies. Before joining WindowsReport, he worked as a front-end web developer. Read more
Affiliate Disclosure
can't access windows 10 after installing ubuntu
To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Both Windows 10 and Ubuntu have their cons and pros. This is why many users decide to get both operating systems on their computers.

However, people encountered several issues when trying to get them on the same machine. Users reported that they lost access to Windows 10 after installing Ubuntu.

This is a major problem for many users and today we will show you how to solve this issue.

What to do if you can’t access Windows 10 after installing Ubuntu?

1. Make some changes in the GRUB loader

  1. Insert the installation disk to boot with Windows.
  2. Select Recovery, and then select Command Prompt.
  3. Type the following commands:
  • bootrec /FixMbr
  • bootrec /FixBoot
  • bootrec /ScanOs
  • bootrec /RebuildBcd

4. Reboot the operating system.


Encountering dual boot problems in Windows 10 and Linux? We prepared this guide for you!


2. Set up partitions

If the method above didn’t work, try to set up your partitions. Open again the Command Prompt.

Enter the commands below. These command lines will select the first disk along with a list of all the partitions from this disk.

  • diskpart
  • sel disk 0
  • list vol
  1. Search the volume item with the Fs column FAT32 (you should format the EFI partition under FAT32).
  2. Type the command “sel vol x”, where “x” is the volume number of your EFI partition.
  3. Choose a letter for this partition. It is worth mentioning that this letter must be different from those already chosen for other partitions.
  4. Type this command to assign the letter: “assign letter=z:”
  5. After the success message appears, type “exit” to quit DiskPart.
  6. Type this command in Command Prompt: “cd /d z:EFIMicrosoftBoot“, where “z” is the letter for your new partition.
  7. Type the following command to repair the volume: “bootrec /fixboot”.
  8. Backup the old BCD with this command: “ren BCD BCD.backup”.
  9. Create a new BCD with the following command: “bcdboot c:\Windows /l en-us /s z: /f ALL”. Here, Windows is on “c:”. Replace if necessary.
  10. Reboot.

Conclusion

As you can see, this is a serious issue that requires some technical operations.

Nevertheless, if you follow our step-by-step instructions, you will solve the problem in no time and you will recover your Windows 10.

Also, it is worth adding that this issue appears if you don’t include the Windows 10 entry in the GRUB loader when you installed Linux.

Did our solutions work for you? Do let us know in the comments section below!

RELATED ARTICLES YOU NEED TO CHECK OUT:

This article covers:Topics: