How to remove ubuntu from uefi boot menu
Ubuntu is one of the popular Linux distributions. Just as users install Ubuntu directly on their computers, many install it next to the Windows operating system. Thanks to this installation, called DualBoot, users can use both Windows and Ubuntu on the same computer.
There are two main steps to removing Ubuntu from your computer: deleting files and removing the GRUB boot loader.
How to remove ubuntu from uefi boot menu, Cleaning Linux Files
Turn on your computer with Windows. Then, open Disk Management. You have two options for this:
My Computer – > Right Click -> Manage – > Disk Management
Search and click “Disk Management” from the Start Menu
After the Disk Management window opens, find and remove Ubuntu partitions. To do this, follow the steps below:
Check for partitions that do not have a partition name and are larger than 1 GB in size.
After defining the partitions, right-click – > Delete Partition – > Yes
If you have free space (unallocated memory/partition/space), combine it with another partition to use it again later. To do this, follow the steps below:
Hover over the relevant section: right-click – > expand Section – > Next – > Next – > finish
Afterwards, restart the system.
How to remove ubuntu from uefi boot menu, Removing The Ubuntu Bootloader
Although you have removed your Ubuntu operating system, you will find that the Ubuntu bootstrapper still exists. This is because the Ubuntu system files stop on the disk where you installed Ubuntu and deleted it in the previous step, but the GRUB boot loader files are stored in the EFI partition. The next step will be to delete the group bootstrapper files from the EFI partition.
To do this, you must first start the command line (CMD) as an administrator. To do this, follow the steps below:
- Start Menu – > CMD – > right click – > Start as Administrator
After you open the command line as an administrator, use the diskpart tool by following the steps below:
- At the command line, type diskpart, and then press Enter
- After this process, type the list disk and find the number of the disk on which Windows is installed.
- Then, type select disk <the number you found>. Ex: select Disc 4
- type list partition, press Enter, and list the partitions of the corresponding disk. Find the partition number that says System
- type select partition <the number you found> and click Enter. For example: select partition 1
- type assign letter = X, and then press Enter. Instead of X, you can write any number that has not been received by existing disks.
Now, when you enter my computer, you will see a 100 MB partition in the Drivers section. This is your EFI system partition. Let’s put that information aside. We’re not doing anything from my computer folder. Let’s go back to the command line.
- type exit, and then close diskpart.
- Type the letter that you just gave to the disk that you created, and add a colon, and then press Enter. Ex: X:
- type dir and access the files within the section.
- enter the efi folder by typing cd efi, then list the contents of the folder by typing dir.
Now you will see a list with the name of the Linux distribution you have installed (Ubuntu, Fedora, Manjaro). This is exactly the folder we want to delete.
- type rd <Linux folder name> / s and click Enter. For example: Rd ubuntu / s
- Type Y and click Enter
- make sure the folder is deleted by typing dir
Congratulations. You have deleted Ubuntu or any Linux distribution you use from your computer along with its boot loader. The connection to the GRUB boot loader will be disconnected when you restart the computer.
Post a Comment for "How to remove ubuntu from uefi boot menu"