I tried dual-booting Ubuntu and Windows 10, however the GRUB menu wasn’t loading, presumably because I have Alienware OS which interferes with it, so I ran:
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
- Now my computer won’t boot either OS normally on UEFI. I switched the booting mode from UEFI to Legacy, which let me boot an old version of Ubuntu I had installed previously.
- I tried using the method that was given in a comment and it seems I'm getting an error when trying to use
sudo
:
How can I reverse that command using the Linux terminal?