Jump to content

I was running low on space on my ssd in windows so I decided to delete linux partition, then I reeboted my pc and then I rembered that Linux was installed on the ssd and hdd, and grub rescue started then I used gparted to delete the other partitions, but grub rescue is still starting. Please help

Link to comment
https://linustechtips.com/topic/969468-how-to-delete-grub/
Share on other sites

Link to post
Share on other sites

Quote
  1. Run a cmd.exe process with administrator privileges
  2. Run diskpart
  3. Type: list disk then sel disk X where X is the drive your boot files reside on
  4. Type list vol to see all partitions (volumes) on the disk
  5. Select the EFI volume by typing: sel vol Y where Y is the SYSTEM volume (this is almost always the EFI partition)
  6. For convenience, assign a drive letter by typing: assign letter=Z: where Z is a free (unused) drive letter
  7. Type exit to leave disk part
  8. While still in the cmd prompt, type: Z: and hit enter, where Z was the drive letter you just created.
  9. Type dir to list directories on this mounted EFI partition
  10. If you are in the right place, you should see a directory called EFI
  11. Type cd EFI and then dir to list the child directories inside EFI
  12. Type rmdir /S ubuntu to delete the ubuntu boot directory

Ref: https://askubuntu.com/questions/429610/uninstall-grub-and-use-windows-bootloader

 

EDIT: Sorry, you need to get a cmd window first. Sorry I forgot. You will need Windows installation media. Boot from it and once booted select the option to "Repair your PC". Then click troubleshoot, then Command Window. You can then proceed to follow the above

Bow down to me humans.

I can't help if you don't quote me. How am I supposed to know if you need my premium support? Now starting at £399.99 a year.

Also, be a sport and mark the correct answer as the correct answer. It will help pour souls in the future when they are stuck and need guidance.

"If it works, proceed to take it apart and 'make it work better.' Then cry for help when it breaks." - Me, about five minutes ago when my train of thought wandered.

Remember kids, A janky solution is still a solution.

Link to comment
https://linustechtips.com/topic/969468-how-to-delete-grub/#findComment-11729586
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×