Grub rescue (removing dual boot)

Solved
us_marshal Posted messages 23 Status Membre -  
us_marshal Posted messages 23 Status Membre -
Hello,

I had a dual boot on my machine: Windows 10 Pro, Ubuntu. The dual boot was functioning via GNU/Grub.
Since I was using Ubuntu more, I wanted to remove the dual boot. I don't know what I did, but it's not working properly anymore, and it's outside my area of expertise. The tutorials I find are meant to "rebuild" the dual boot. However, what I'm interested in is getting my system to boot directly into Windows.

I have a command prompt that says: "grub rescue no such partition"
with a "grub rescue" command prompt, I did ls, I have several things, then when doing an ls of each element, I always get "filesystem is unknown"...

I have a bootable Windows 10 USB drive, where, when I launch the Windows command prompt and access Diskpart, and I run "list volume", the drive letters of my disks are wrong. I have a data hard drive (which normally gets the letter D:), now showing as drive C:, and my drive that normally has the letter C, is now F.

Could you help me fix my system? Reinstalling Windows 10 doesn't really appeal to me, as I have license keys with programs, and I'm not very motivated to pay for everything again...

Thank you in advance for your help =)

Configuration: Macintosh / Firefox 76.0

9 réponses

Malekal_morte- Posted messages 178136 Registration date   Status Modérateur, Contributeur sécurité Last intervention   24 711
 
Hello,

If you are in UEFI, you just need to boot from Windows Boot Manager.
You can set it as the first in the boot order.
This might allow you to access Windows 10.
From there, you can use a utility to remove the Linux entry.
See: Remove dual-boot and grub to restore Windows.

If nothing works:

From a working computer: Use Media Creation on a valid computer to create a USB installation drive: https://www.microsoft.com/fr-fr/software-download/windows10
  • Boot from it by changing the boot sequence and indicating the USB drive or DVD: How to boot the computer from USB drive
  • You will arrive at the Windows installer.
  • Go to Repair your computer (menu at the bottom left on the main page)
  • Advanced troubleshooting options
  • Command prompt
  • type diskpart and press enter

Give the results of the following commands:

list disk
sel disk 0
list partition
list volume
exit


Take a photo of the results and provide the results in a screenshot.

and provide the result of the command:
bcdedit /v


Take a photo of the results and give the results in a screenshot.

--
Please press a key to continue the disinfection...
0