Difference between revisions of "Windows Stuff"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
===Dual Boot GRUB Fix=== | ===Dual Boot GRUB Fix=== | ||
'''Repairing GRUB after installing W10 on top of *nix'''<br> | '''Repairing GRUB after installing W10 on top of *nix'''<br> | ||
+ | From: https://askubuntu.com/questions/655011/windows-10-upgrade-kills-grub-and-boot-repair-doesnt-help | ||
+ | <br> | ||
I just had to run this in Windows as an administrator: | I just had to run this in Windows as an administrator: | ||
− | + | <code>bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi</code> | |
− | <code>bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi</code> | ||
− | |||
Or, if you are using PowerShell: | Or, if you are using PowerShell: | ||
− | + | <code>bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi</code> | |
− | <code>bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi</code> | ||
− | |||
GRUB appears fine on boot and I can boot into Ubuntu and Windows 10 fine. | GRUB appears fine on boot and I can boot into Ubuntu and Windows 10 fine. | ||
− | |||
As pointed out in the comments (by David Faure), the final argument to this command depends on your particular system configuration. You can use this command to determine the correct path for your system: | As pointed out in the comments (by David Faure), the final argument to this command depends on your particular system configuration. You can use this command to determine the correct path for your system: | ||
− | + | <code>bcdedit /enum firmware</code> | |
− | <code>bcdedit /enum firmware</code> | ||
− | |||
This will list all the installed boot managers and associated EFI paths, and grub should be somewhere in the list. | This will list all the installed boot managers and associated EFI paths, and grub should be somewhere in the list. |
Revision as of 23:20, 11 December 2020
Dual Boot GRUB Fix
Repairing GRUB after installing W10 on top of *nix
From: https://askubuntu.com/questions/655011/windows-10-upgrade-kills-grub-and-boot-repair-doesnt-help
I just had to run this in Windows as an administrator:
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
Or, if you are using PowerShell:
bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi
GRUB appears fine on boot and I can boot into Ubuntu and Windows 10 fine. As pointed out in the comments (by David Faure), the final argument to this command depends on your particular system configuration. You can use this command to determine the correct path for your system:
bcdedit /enum firmware
This will list all the installed boot managers and associated EFI paths, and grub should be somewhere in the list.