TransWikia.com

Removing GRUB from a dual-boot setup

Super User Asked by user3409878 on January 28, 2021

I have three hard drives on my computer, one running Linux Mint 18.1, one running Windows 10, and the third dedicated to storage with no OS. After installing Mint and using GRUB to boot, I want to remove the Linux drive and boot only to the Windows drive. I’ve tried removing the Linux drive and repairing the MBR, but GRUB still persists. How would I go about reverting to a Windows-only system?

6 Answers

  1. Run Windows PowerShell as Administrator

    (Press Windows key, type powershell, right click, Run as Administrator)

  2. Type mountvol S: /S

    (You're basically mounting the boot sector to S: )

  3. Type S: and press enter

  4. Type cd .EFI and press enter

  5. Type Remove-Item -Recurse .ubuntu and press enter

Answered by Patrik on January 28, 2021

I did the same following this steps from Windows 10 recovery console:

c:
Bootrec /fixmbr
Bootrec /fixboot
Bootrec /scanos
Bootrec /rebuildbcd  
exit

Answered by Josem on January 28, 2021

For UEFI using a GPT HDD just go into the bios and remove ubuntu from the boot options.

Answered by Linden Gill on January 28, 2021

Simple Answer: Reinstall Windows Completely

Complicated Answer: Rebuild Windows MBR

Open an elevated Command prompt and enter the following command:

bootsect /nt60 c: /mbr

shutdown /r

This can also be run by pressing F8 and getting into the Recovery Command Prompt.

Answered by Thomas Laurence Wilbur on January 28, 2021

While I'm sure that bootsect would fix the issue, I just went ahead and re-installed and repartitioned Windows after removing the Linux hard drive. Not the best method, but it achieved the same result and cleaned the OS a bit in the process.

Answered by user3409878 on January 28, 2021

Open an elevated Command prompt and enter the following command:

bootsect /nt60 <drive name>: /mbr. e.g

bootsect /nt60 c: /mbr

type exit, then reboot.

Note you can also achieve this in recovery menu during advanced startup (i.e Troubleshoot > Advanced options > Command Prompt)

Answered by xavier_fakerat on January 28, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP