1 Remove EFI
- To the EFI partition that is not in use,
enter SET ID = ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 - Then go to create disk delete
2 Dual system deletion
diskpart # Enter the diskpart component of the system
list disk # View all the disks in the system and find the disks installed in the windows system
select disk $ # $ is the disk installed by windows
list partition # find the partition of type system
select partition $ # $ is the partition of type system
assign letter = p # Assign partitions to disk P, which disk is assigned to is arbitrary, as long as it does not conflict with the existing disk
exit # exit diskpat
p: # Enter P disk
cd efi # enter the boot folder
dir # View all guides
rd / s ubuntu # Delete the ubuntu boot, this time need to be cautious, do not accidentally delete the boot of other systems
diskpart # Enter diskpart again
select disk $ # $ is the previously selected drive letter
select partition $ # $ is the previously selected partition
remove letter = p # Delete the P drive,