
In a dual-boot setup, you may decide to remove Ubuntu and continue using Windows 10. However, even after deleting the Ubuntu partition, you may still see “Ubuntu” in the boot menu. This article will guide you on how to remove “Ubuntu” from the Windows 10 boot menu after deleting the Ubuntu partition.
To remove "Ubuntu" from the Windows 10 boot menu after deleting the Ubuntu partition, you need to delete the Ubuntu partition using the Disk Management tool, open the Command Prompt with administrative privileges, use the DiskPart utility to assign a drive letter to the partition, navigate to the partition and delete the "Ubuntu" folder, and finally restart your computer.
Step 1: Delete the Ubuntu Partition
First, you need to delete the Ubuntu partition(s) from your computer. This can be done using the Disk Management tool in Windows 10.
- Press
Win + X
and select Disk Management. - Locate the Ubuntu partition(s). They are usually located next to the Windows partition and do not have a drive letter assigned.
- Right-click on the Ubuntu partition and select Delete Volume. This will delete the Ubuntu partition and convert it back to “free space”.
- Right-click on the “free space” and select Delete Partition. This will remove the partition from your disk.
Note: Before deleting the partition, ensure that you have backed up any important data.
Step 2: Open Command Prompt with Administrative Privileges
Next, you need to open the Command Prompt with administrative privileges.
- Press
Win + X
and select Command Prompt (Admin).
Step 3: Use the DiskPart Utility
The DiskPart utility is a powerful tool that allows you to manage the disks and partitions on your computer. Here is how to use it to remove “Ubuntu” from the boot menu.
- In the Command Prompt, type
diskpart
and press Enter. This will open the DiskPart utility. - Type
list disk
and press Enter. This will display a list of all the disks on your computer. Note the number of the disk that contains the Windows installation. - Type
select disk X
(replace X with the disk number) and press Enter. This will select the disk. - Type
list partition
and press Enter. This will display a list of all the partitions on the selected disk. Identify the partition that contains the Ubuntu residue. - Type
select partition X
(replace X with the partition number) and press Enter. This will select the partition. - Type
assign letter=X
(replace X with a letter not currently in use) and press Enter. This will assign a drive letter to the partition.
Step 4: Delete the “Ubuntu” Folder
Now that you have assigned a drive letter to the partition, you can navigate to it and delete the “Ubuntu” folder.
- Type
exit
to exit the DiskPart utility. - Type
X:
(replace X with the assigned drive letter) and press Enter. This will navigate to the partition. - Type
dir
and press Enter. This will display the contents of the partition. You should see the EFI folder. - Type
cd EFI
and press Enter. This will navigate to the EFI folder. - Type
dir
and press Enter. This will display the contents of the EFI folder. You should see a folder named “ubuntu”. - Type
rd ubuntu /S
and press Enter. This will delete the “ubuntu” folder and its contents. - Confirm the deletion by typing
y
and pressing Enter.
Step 5: Restart Your Computer
After deleting the “Ubuntu” folder, restart your computer. The “Ubuntu” option should no longer appear in the boot menu.
Note: These steps assume that you are using UEFI. If you are using a different boot mode, the steps may vary.
For those who prefer a graphical tool, you can use a program like EasyUEFI to delete the “Ubuntu” boot option from the Boot Menu.
Remember to backup any important data before making any changes to your system. This guide is meant to be a helpful resource, but we cannot take responsibility for any data loss.
In conclusion, removing “Ubuntu” from the boot menu after deleting the Ubuntu partition involves deleting the partition, assigning a drive letter to the EFI partition, and deleting the “Ubuntu” folder from the EFI partition. By following these steps, you can clean up your boot menu and continue using Windows 10 without any issues.
No, in order to remove "Ubuntu" from the boot menu, you need to delete the Ubuntu partition as it is the source of the boot menu entry.
Yes, deleting the Ubuntu partition will permanently remove all data stored on that partition. It is important to back up any important data before proceeding with the deletion.
Yes, you can use other tools like EasyUEFI to delete the "Ubuntu" boot option from the boot menu. However, the steps may vary depending on the tool you choose to use.
Yes, you can use a graphical tool like EasyUEFI to remove the "Ubuntu" boot option from the boot menu. However, the steps may vary depending on the tool you choose to use.
Assigning a drive letter to the EFI partition allows you to navigate to the partition and access its contents, including the "Ubuntu" folder that needs to be deleted. It is a necessary step in the process of removing "Ubuntu" from the boot menu.