Linux Remove Dual Boot From Grub - gecko-8/devwiki GitHub Wiki
Up
- In Windows open your terminal as Admin.
- Run the following command to open Diskpart tool.
diskpart
- Enter the following to list the disks
list disk
- Find the disk with the EFI partition (probably Disk 0)
- Enter the following to select the disk
select <disk name>
- Enter the following to list the partions on the disk
list partition
- Find the EFI partition
- Enter the following to select the partition
select <partition name>
- Assign the letter Z to the partition
assign letter=z
- Exit diskpart with the command
exit
- Open File Manager and navigate to the Z: drive.
- Delete the folder for your Linux install.
- Open Disk Manager.
- Delete your Linux partition.
- Reboot and it should boot directly into Windows.
⚠️ **GitHub.com Fallback** ⚠️