Linux distros can be thought like icecreams and tasting the flavors from each of one new or untasted releases. Sure you can, but it’s still a thing of whether this icecream has left something on your mouth to create cavity issues. Meaning, that distros are awesome to check to get around with customization to perfect your needs but when you don’t like one, then the obvious answer is to get rid of it. Getting rid of it “properly” is the main thing (same as brushing twice a day is, but I know some of you don’t). Here I will help you with how to uninstall Ubuntu or any other Linux from your system completely.
I will be working on USB containing live Linux mint ISO to remove all distro’s or Windows OS (if any)
Let’s do it.
Creating LIVE Media
First thing first, you need a live USB from which you will be erasing all other OS or distros. You can get an ISO of Linux Mint from this:
Downloaded? Good. You have to burn that ISO which downloaded into a USB or DVD. For USB creating a live bootable version, Universal USB installer is good (I’ll recommend you this). And for the DVD peoples out there, you can try ImgBurn. Just select the ISO, then select the drive to target install. and do it.
If you are not clear about how to make live USB check here: LIVEUSB
Booting Up with media and installing OS-Uninstaller
Now the toothpaste of the story is to boot that created media by BIOS, changing boot order will work perfectly. As it boots, select the option “Try Linux Mint 18” option from the grub loader. Inside Mint? Good. Now you have to install OS uninstaller.
you can do that by pressing Ctrl+Alt+T to pull up a terminal and run some commands:
$> sudo add-apt-repository ppa:yannubuntu/boot-repair
Press Enter, then type:
$> sudo apt-get update; sudo apt-get install -y os-uninstaller && os-uninstaller
As terminals end up installing OS Uninstaller, it should automatically start, so you don’t have to find for application. OS Uninstaller will scan for OS present in your disk and will give a list about it to perform an erase option.
Uninstall Ubuntu or desired Linux entry
Yes, Something like that but you have to be careful what you are choosing because that might lead you to wrong OS erasing. So, Do it carefully.
Select the OS you want to remove by hitting apply, which will work the magic. All the files system of that OS will be deleted.
Setting up efibootmgr and deleting the entry
When you use windows OS and used as Dual Boot then, there are some files created in EFI boot Partition. To avoid ambiguity to next distro to be installed and their files in the boot partition, these files have to be deleted and for deleting an entry from boot order is what we will see first.
When you are using a Live ISO you already have efibootmgr installed, and if you don’t have that then
$> sudo apt-get install efibootmgr
Open up Terminal by Ctrl+Alt+T
Now Run with without superuser permission:
$> efibootmgr -v
$> sudo efibootmgr -v
Something will show up like this:
Boot0000* Notebook Hard Drive BBS(HD,,0x500) Boot0001* Windows Boot Manager Boot0004* ubuntu File(EFIUbuntushimx64.efi) Boot0005* ubuntu File(EFIUbuntugrubx64.efi) Boot000A* Internal Hard Disk or Solid State Disk RCBoot000D* Internal Hard Disk or Solid State Disk RCBoot000E* Internal Hard Disk or Solid State Disk RCBoot2001* USB Drive (UEFI) RCBoot2002* Internal CD/DVD ROM Drive (UEFI) RCBoot3001* Internal Hard Disk or Solid State Disk RC
Then try deleting
ubuntu entries using the following code:
$> sudo efibootmgr -b 4 -B
$> sudo efibootmgr -b 5 -B
Above command will delete the entry and show up this:
Boot0000* Notebook Hard Drive BBS(HD,,0x500) Boot0001* Windows Boot Manager Boot000A* Internal Hard Disk or Solid State Disk Boot000D* Internal Hard Disk or Solid State Disk Boot000E* Internal Hard Disk or Solid State Disk Boot2001* USB Drive (UEFI) Boot2002* Internal CD/DVD ROM Drive (UEFI) Boot3001* Internal Hard Disk or Solid State Disk
Deleting boot entry is done. Moving on to the next section of removing the ubuntu folder inside which those files which created boot entry is present.
Your system may result in different boot entry results.
Deleting ubuntu folder from EFI
The good thing about using Linux Mint distro is to use a utility called Disks which allows us to mount EFI partition in read-write mode.
You Just have to search for Disks in the Search menu of mint:
Open that, and along with it open a new terminal, now we must be knowing which sda volume to mount, you have to check from the list of partitions by writing following command in terminal:
$> sudo fdisk -l
that will give us sda with the number after it. see for label EFI partition and mount that through Disks utility.
Here you can see the EFI system is /dev/sda1. So, we will look for sda1 in DISKS utility and mount that.
By clicking that play button, you can mount it.
After mounting look for EFI/Boot folder and onside that ubuntu folder which is to be deleted.
In my case, I’ve already deleted so I cant show you. but you have to find and delete it for sure. Then Unmount partition after deletion of the
That’s IT. you’re PC is sanitized. I Hope u learned to do uninstall ubuntu or Linux anytime in the future by own.
If Helpful? Read how-to enable hibernation in Linux distro here.