How To Remove Ubuntu From Windows Dual Boot?

Penguin, Linux, Tux, Ubuntu, Devil1. Delete Ubuntu Partitions From The disc drive

The next issue you've got to try and do once deciding to uninstall Ubuntu is to delete the Ubuntu partitions (they area unit sometimes two).
Press Windows key + R so K to launch Disk Management.

The two partitions containing Ubuntu

Right-click on every of the partitions and click on Delete Volume. 
You can merge the currently empty partition with another partition or leave it.

2. Booting Into Live videodisk Or Flash Drive

You will would like a bootable Ubuntu videodisk or Flash Drive. If you do not knowledge to form one, this post tells you the way.
Insert either the videodisk or flash drive, and Shift + Restart (click on restart whereas holding the shift key). The Machine ought to show Advanced start menu. 
From the menu click Use a tool.

Next, click on EFI videodisk/CDROM or EFI USB betting on whether or not you are victimization DVD or Flash Drive.
When the Machine boots from the videodisk or flash drive, attempt Ubuntu while not putting in ought to be selected by default. simply hit the enter key and Ubuntu are going to be loaded.

3. putting in Efibootmgr And Deleting Ubuntu From BootOrder

Once your machine has with success loaded Ubuntu, press Ctrl + ALT + T to launch terminal.
You are attending to be coming into many sudo commands, therefore except you are a fan of extra repetitions, enter sudo -i to realize a once-for-all root access.

Next install efiboot by coming into the command apt-get install efibootmgr (you would like a web connection). 
If the installation was inyou must see this in terminal:
Terminal showing a in installation of efiboot

Now, enter modprobe efivars to feature to the kernel efi support and efibootmgr to list your machine's boot entries.
Terminal showing modeprobe efivars command and efi boot entries

From the came back list I discovered that Ubuntu is variety 0002 within the BootOrder, therefore to delete the entry from boot menu, run efibootmgr -b two -B. Note that if Ubuntu were to 0003 within the came back list higher than, the command would are efibootmgr -b three -B.
Ubuntu has been off from BootOrder

4. Deleting Ubuntu From EFI Boot Menu

If you were to prevent at this time and stop working Ubuntu, the UEFI computer code can restore the simplydeleted entry to the boot order. therefore to deal it a permanent removal, you'll delete the Ubuntu directory from EFI partition.
Run fdisk -l to list partition table(s). 
From the result, beneath the kind column, there's row with sort EFI System. Trace the that row to the Device column.

Now, run mkdir /mnt/efipart so mount /dev/sda2 /mnt/efipart; replace /dev/sda2 with the device of the EFI System.
Showing list of partition tables and mkdir /mnt/efipart</code> and mount /dev/sda2 /mnt/efipart commands

Launch Ubuntu file manager and relying the device of EFI System, navigate to /mnt/efipart/. Right-click on folder EFI and click on Open in Terminal. a replacement Terminal window are going to be opened with the directory set to /mnt/efipart/EFI.
Finally, run sudo rm -r ubuntu to delete the Ubuntu folder.

Terminal with Ubuntu Folder deleted
Shutdown Ubuntu, take away the videodisk or flash drive and begin the machine. It ought to boot Windows usually and Ubuntu ought to even have disappeared from the boot menu.
How To Remove Ubuntu From Windows Dual Boot? How To Remove Ubuntu From Windows Dual Boot? Reviewed by Unknown on 8:09:00 AM Rating: 5

No comments:

Powered by Blogger.