Created
June 20, 2024 20:10
-
-
Save thelazt16/eff0fa330304ea5e3d67b9e706d6cddd to your computer and use it in GitHub Desktop.
Some fix for dual booting Windows and Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In case of power loss sometimes it cause NTFS to corrupt and cause error when trying to mount it to Linux. There're tools like fsck.ntfs and others but mixing NTFS with some Linux tools can cause catastrophic problem. Best is to use `chkdsk /f {Drive Letter}:` to check for error using Windows or Windows Installation Media. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Use `diskpart` to check Windows partition and EFI partition | |
2. Use `list vol` to list volume, `list disk` to list disk, `list partition` to list partition | |
3. Assign letter to EFI partition using `ASSIGN LETTER={LETTER}` after selecting the partition | |
4. Use `bootrec /rebuildBCD` to rebuild the Boot files. | |
5. If still fails, use `bcdboot {Windows Partition}:\Windows {EFI Partition}: /f ALL` then do `bootrec /rebuildBCD` | |
Source : https://www.dell.com/support/kbdoc/en-id/000124331/how-to-repair-the-efi-bootloader-on-a-gpt-hdd-for-windows-7-8-8-1-and-10-on-your-dell-pc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment