437
votes
Uninstall GRUB and use Windows bootloader
This answer is for those with UEFI who have deleted the Ubuntu partitions before removing grub
You will be doing this from Windows 10. No bootable media required.
Where bootrec /fixmbr, bootsect /...
89
votes
Uninstall GRUB and use Windows bootloader
To restore Win 10 default bootloader follow these steps:
Log into Win 10
Open Command Prompt (Admin)
c:\> bootsect /nt60 <drive name>: /mbr
<drive name> is the drive letter where the ...
42
votes
In a dual boot system, how does the BIOS choose which bootloader to run?
BIOS firmware doesn't really choose the bootloader. It loads code from sector 0 of a drive and executes it. Whatever is there, it will execute. Hopefully it is a bootloader (or something that loads ...
31
votes
How do I re-run boot loader?
The error is a bit odd in case of grub.
When apt installs a new kernel-version, it moves /vmlinuz and /initrd.img to /vmlinuz.old and /initrd.img.old (Which then are still pointing to the currently ...
26
votes
Uninstall GRUB and use Windows bootloader
Remove Boot Loader EFI / System Partion in Windows 10
Quick Guide
Open PowerShell as Administrator
mountvol S: /S
S:
cd .\EFI\
dir
rd /S Ubuntu
Details
Administrator PowerShell
Enter powershell into ...
26
votes
Accepted
Dual-Booting OS X or macOS with Linux without rEFInd
Ubuntu installs grub and other files in the first EFI System partition on a Mac computer. Normally, this is the first partition on a Mac computer. The process of making the Ubuntu appear on the ...
23
votes
Uninstall GRUB and use Windows bootloader
You can restore the Windows bootloader with a Windows 8/8.1 DVD. These instructions are inspired by Manindra Mehra's answer, but I expanded it with full working details (verified with a Windows 8.1 ...
20
votes
In a dual boot system, how does the BIOS choose which bootloader to run?
This diagram shows how control passes from the firmware (BIOS or UEFI) to the bootloader and from the bootloader to the operating system in Ubuntu.
BIOS vs. UEFI
If the OSs were installed ...
20
votes
Accepted
Pros and cons of installing Ubuntu alongside Windows Boot Manager
On a personal note, I would recommend you to stick with the "Something else" option only. The reason is that I have personally created issues with 4 laptop hard disks simply because I failed ...
19
votes
Accepted
Does the UEFI partition either "MUST" or "SHOULD" be first for some reason? If so why?
The key words "SHOULD", "MUST" and "MAY" (capitalised) in this answer are to be interpreted as described in RFC 2119.
An (U)EFI System Partition (ESP from now on):
MAY reside at the beginning of the ...
18
votes
Dual-Booting OS X or macOS with Linux without rEFInd
Be aware that neither rEFIt nor rEFInd damages, much less "wipes out," the default Apple boot loader; indeed, both rEFIt and rEFInd simply insert themselves into the boot process and then launch Apple'...
17
votes
Accepted
What is the current best way to dual boot a Mac with Ubuntu on the latest 10.12 macOS?
I spend the last 3 nights searching every corner of the web for a straightforward guide how to dualboot the latest macOS 10.12 Sierra with Ubuntu, but it seems like there is just so many ways people ...
15
votes
Accepted
How to remove "Ubuntu" from Boot Menu after deleting Ubuntu partition in Windows 10 (Dual Boot)
I've successfully executed this solution below to my problem:
In BIOS, change Boot Sequence to allow booting from USB (containing Ubuntu)
In GRUB, select Try Ubuntu without installing
Once in ...
13
votes
How do I re-run boot loader?
$ sudo update-grub
And if you want delete / purge old packages you can do also
$ dpkg --list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg --purge
11
votes
How to remove "Ubuntu" from Boot Menu after deleting Ubuntu partition in Windows 10 (Dual Boot)
Open the Command Prompt (Admin) ( shown in the options image above ).
Follow these commands->
Note the line after ‘#’ is just to explain the command
> diskpart
> list disk # select the ...
11
votes
How Shim verifies binaries in secure boot?
Kaz Wolfe's answer is pretty good, but I want to emphasize and expand on a couple of points....
The last I checked, Shim basically provided a sort of parallel Secure Boot verification feature. It's ...
11
votes
Accepted
Move bootloader or remove efi partition in second drive
Facing the very same problem with Ubuntu 18.04, I followed PrakashS's answer while making sure the new EFI partition was mounted at /boot/efi before installing grub into it.
I first created a new ...
11
votes
Accepted
Put old SSD with Win10 Installed into laptop with Linux and boot Windows?
I booted into Win10 and it worked fine (with my login and all). Didn't get any errors about invalid license due to different hardware. Before I booted, I ran sudo update-grub with both disks installed....
10
votes
Does the UEFI partition either "MUST" or "SHOULD" be first for some reason? If so why?
The EFI specification specifically states that there are no limits on this detail:
UEFI does not impose a restriction on the number or location of System Partitions that can exist on a system.
(...
10
votes
Accepted
How to boot from USB when USB stick is plugged in and otherwise Windows from HD?
Configuring the computer to boot from the Ubuntu USB stick if it is inserted, otherwise to boot to Windows if it is not inserted can be done by changing the boot priority settings, which is often ...
9
votes
rEFInd Question: Remove multiple boot items?
There are a number of ways to do what you want, but first, understand that you've got three (or maybe four) entries that boot Ubuntu in different ways:
The grubx64.efi entry launches GRUB, which in ...
9
votes
Bootloader install failed
I faced a similar problem (see screenshot) - Installation with Internet connection solved it.
9
votes
Restore Windows bootloader
Add Windows to GRUB boot menu
Add Windows 10 to GRUB OS list
Boot Windows from grub rescue prompt
Boot Windows from grub rescue command prompt
Repair Windows MBR
This tutorial shows how to repair ...
8
votes
Uninstall GRUB and use Windows bootloader
What worked for me is:
Boot to Windows
Win + X
Command Prompt (as admin)
bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi
Reboot
7
votes
Uninstall GRUB and use Windows bootloader
No CD's, USB's, DVD's. No long tutorials.
On UEFI all you have to do is:
Place Windows boot entry in NVRAM as first.
How to do this - several solutions.
Easiest solution is to use firmware ...
7
votes
Where to install bootloader when installing Ubuntu as secondary OS?
Out of my experience:
if the boot system is legacy/BIOS, choose the device /dev/sda straight away. Even suggesting other possibilities had been earmarked as a bug (https://bugs.launchpad.net/ubuntu/+...
7
votes
Accepted
Grub loader always takes 10 seconds
You have enabled GRUB_HIDDEN_TIMEOUT_QUIET, but you haven't specified the timeout length of it (GRUB_HIDDEN_TIMEOUT=0is commented). This is why it is reverting back to 10 seconds.
Because ...
7
votes
In a dual boot system, how does the BIOS choose which bootloader to run?
In legacy mode (BIOS boot and not UEFI) BIOS controls the drive order. Once upon a time this used to be controlled by the cables; but changing a BIOS setting beats opening the box & changing ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
bootloader × 1110grub2 × 498
dual-boot × 459
boot × 387
uefi × 109
partitioning × 96
windows × 82
windows-7 × 66
windows-10 × 59
boot-repair × 59
14.04 × 56
system-installation × 55
windows-8 × 53
grub-efi × 51
12.04 × 44
installation × 30
live-usb × 29
burg × 29
bios × 27
18.04 × 25
20.04 × 24
16.04 × 23
ssd × 20
grubrescue × 19
mbr × 19