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
- Insert the installation disk to boot with Windows.
- Select Recovery, and then select Command Prompt.
- Type the following commands:
- bootrec /FixMbr
- bootrec /FixBoot
- bootrec /ScanOs
- bootrec /RebuildBcd
4. Reboot the operating system.
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.
- sel disk 0
- list vol
- Search the volume item with the Fs column FAT32 (you should format the EFI partition under FAT32).
- Type the command “sel vol x”, where “x” is the volume number of your EFI partition.
- Choose a letter for this partition. It is worth mentioning that this letter must be different from those already chosen for other partitions.
- Type this command to assign the letter: “assign letter=z:”
- After the success message appears, type “exit” to quit DiskPart.
- Type this command in Command Prompt: “cd /d z:EFIMicrosoftBoot“, where “z” is the letter for your new partition.
- Type the following command to repair the volume: “bootrec /fixboot”.
- Backup the old BCD with this command: “ren BCD BCD.backup”.
- 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.
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:
- How to fix Legacy Boot issues on Windows 10
- How to Properly Dual-Boot Windows 10 With Another OS
- Windows 10 Ubuntu dual boot not working [QUICK SOLUTIONS]