uninstall grub of linux here ubuntu
Microsoft Windows [Version 10.0.19045.5487]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\system32>diskpart
Microsoft DiskPart version 10.0.19041.3636
Copyright (C) Microsoft Corporation.
On computer: DESKTOP-EKJ7HU7
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 238 GB 4096 KB *
DISKPART> select disk 0
Disk 0 is now the selected disk.
DISKPART> list partition
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 System 100 MB 1024 KB
Partition 2 Reserved 16 MB 101 MB
Partition 3 Primary 165 GB 117 MB
Partition 4 Recovery 642 MB 165 GB
Partition 5 Primary 32 GB 166 GB
Partition 6 Primary 39 GB 198 GB
Partition 7 Recovery 546 MB 237 GB
DISKPART> select partition 1
Partition 1 is now the selected partition.
DISKPART> assign letter=x
DiskPart successfully assigned the drive letter or mount point.
DISKPART> exit
Leaving DiskPart...
C:\Windows\system32>x:
X:\>dir
Volume in drive X has no label.
Volume Serial Number is FC7A-A4DF
Directory of X:\
14-08-2024 09:26 <DIR> EFI
0 File(s) 0 bytes
1 Dir(s) 56,072,192 bytes free
X:\>cd EFI
X:\EFI>dir
Volume in drive X has no label.
Volume Serial Number is FC7A-A4DF
Directory of X:\EFI
01-02-2025 12:33 <DIR> .
01-02-2025 12:33 <DIR> ..
01-02-2025 12:33 <DIR> Microsoft
17-02-2025 12:58 <DIR> Boot
17-02-2025 11:53 <DIR> ubuntu
17-02-2025 12:58 <DIR> deepin
0 File(s) 0 bytes
6 Dir(s) 56,072,192 bytes free
X:\EFI>rd ubuntu /s
ubuntu, Are you sure (Y/N)? y
X:\EFI>
-----------------------------------------------------------
if error show x: is aleady in use then
Remove the drive letter:
Now return to your original partition and assign X::
Firmware Boot Manager---------------------identifier {fwbootmgr}displayorder {bootmgr} {88cd617e-6096-11f0-81a3-fc0a45743a1f} {f685e0c7-3724-11f0-aac7-be05a09fec27} {f685e0c8-3724-11f0-aac7-be05a09fec27} {f685e0c9-3724-11f0-aac7-be05a09fec27}timeout 0
Windows Boot Manager--------------------identifier {bootmgr}device partition=X:path \EFI\Microsoft\Boot\bootmgfw.efidescription Windows Boot Managerlocale en-USinherit {globalsettings}default {current}resumeobject {f685e0cc-3724-11f0-aac7-be05a09fec27}displayorder {current}toolsdisplayorder {memdiag}timeout 30
Firmware Application (101fffff)-------------------------------identifier {88cd617e-6096-11f0-81a3-fc0a45743a1f}device partition=X:path \EFI\Boot\grubx64.efidescription Linpus lite
Firmware Application (101fffff)-------------------------------identifier {f685e0c7-3724-11f0-aac7-be05a09fec27}description EFI USB Device
Firmware Application (101fffff)-------------------------------identifier {f685e0c8-3724-11f0-aac7-be05a09fec27}description EFI DVD/CDROM
Firmware Application (101fffff)-------------------------------identifier {f685e0c9-3724-11f0-aac7-be05a09fec27}description EFI Network
X:\>bcdedit /delete {88cd617e-6096-11f0-81a3-fc0a45743a1f}The operation completed successfully.
X:\>del X:\efi\boot\grubx64.efi
X:\>