Linux Remove Dual Boot From Grub - gecko-8/devwiki GitHub Wiki

Up

  1. In Windows open your terminal as Admin.
  2. Run the following command to open Diskpart tool. diskpart
  3. Enter the following to list the disks
    list disk
  4. Find the disk with the EFI partition (probably Disk 0)
  5. Enter the following to select the disk
    select <disk name>
  6. Enter the following to list the partions on the disk
    list partition
  7. Find the EFI partition
  8. Enter the following to select the partition
    select <partition name>
  9. Assign the letter Z to the partition assign letter=z
  10. Exit diskpart with the command exit
  11. Open File Manager and navigate to the Z: drive.
  12. Delete the folder for your Linux install.
  13. Open Disk Manager.
  14. Delete your Linux partition.
  15. Reboot and it should boot directly into Windows.
⚠️ **GitHub.com Fallback** ⚠️