How to Remove GNU Grub 2.0 Bootloader Screen after Deleting Ubuntu/Linux [Updated!]
UPDATE: A follow-up to this method on how to remove grub bootloader from Windows can be found here: https://www.dopetechfever.com/2020/07...
DM me on discord : / discord
How To Remove Gnu Grub Version 2.02 after Deleting Ubuntu/Linux and restore windows boot loader after grub has been deleted.
In this video, let's understand why your computer shows grub rescue after deleting ubuntu partition and learn how to fix it!
--------------------------------------------COMMANDS-----------------------------------------------------------------------------
Use these to fix GNU GRUB Error screen and get back into windows:
-- insmod part_gpt [press enter]
-- insmod chain [press enter]
-- ls [press enter]
//here, go into each partition and look for a "/boot" folder
//for instance, (hd0,gpt1)/efi/microsoft/boot/bootmgfw.efi
-- chainloader (hd0,gpt1)/efi/microsoft/boot/bootmgfw.efi [press enter]
-- boot [press enter]
You should now be able to see the Windows loading screen.
Once into windows, or even without successful boot, open the command prompt (Admin) through the OS or the Recovery Menu.
Type the below commands to change the default boot manager:
-- bcdedit [press enter]
//check the pathname under windows 10 boot manager. It will usually be set to grubx64.efi.
//We need to replace that with the windows boot manager
-- bcdedit /set {bootmgr} path \efi\microsoft\boot\bootmgfw.efi [press enter]
Now, to delete GRUB Partition, try these steps:
Go to CMD (Run as Administrator)
Type
Diskpart
List Disk
Select Disk 0 (where your dual-boot OS was installed)
List partition
(Select Partition that has "system" type)
Select Partition 2
assign letter=z
(You'll now see it as a logical drive Z in file manager)
exit (this will exit diskpart)
z:
Z:\ - dir
(It will list all the directories available)
cd efi
(Will enter efi folder)
dir
(Will list directories under efi folder)
(We now have to delete the Linux grub)
rd (name_of_your_linux_grub) /s
Are you sure? (Y/N): Y
(This will remove that directory)
exit
Just restart your PC. You're good to go!
You should now be completely rid of your GNU GRUB problem.
--------------------------------------------END OF COMMANDS-----------------------------------------------------------------------------
You can support me by shopping for your favorite products from these links:
Amazon affiliate India: https://amzn.to/3gPUtrx
Affiliate UK: https://amzn.to/2BXUyLg
Affiliate US: https://amzn.to/2CvD34A
If you want to know how to properly Install Linux next time, here's the video: • How to Correctly Install or Uninstall...
Thanks a lot for subscribing to this channel as well as my other channel / thehopelessgeek
Cheers!
#GNUGrub #DualBoot #Ubuntu