Ubuntu: Uninstall Kubuntu from a dual-boot with Ubuntu?



Question:

I have a multi-boot system with Windows 7, Ubuntu 15.04, and Kubuntu 15.04 installed in that order. At the moment, I think my system boots through Kubuntu's GRUB. My Windows is installed on an NTFS partition (sda2); and all within an extended partition sda2: I have my Kubuntu ext4 (sda7), Ubuntu ext4 (sda6), and swap (sda5) partitions.

How can I properly uninstall Kubuntu leaving behind Windows and Ubuntu?

I don't think I can simply delete my Kubuntu partition using GParted from Ubuntu and run sudo update-grub can I?


Solution:1

Try this:

Boot the computer from Ubuntu.

Open a terminal,

Press Ctrl+Alt+T

Run it:

sudo apt-get update  sudo apt-get install grub-pc grub-pc-bin grub-common grub2-common  sudo grub-mkconfig -o /boot/grub/grub.cfg  sudo grub-install --recheck /dev/sda  sudo gparted  

Delete the partition using GParted, close it and continue running:

sudo update-grub  sudo reboot  


Solution:2

You can delete the partition using GParted and run sudo update-grub.
But first of all create an Ubuntu distro bootable drive and back up your data - anything can happen.
If sudo update-grub does not work when you run it from the installed Ubuntu then boot from the bootable drive you created and run the command. That works when the latter fails.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »