Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

Jumping ship with Kubuntu


  • Please log in to reply
5 replies to this topic

#1 MarkBeepBeep

MarkBeepBeep

  •  Avatar image
  • Members
  • 211 posts
  • OFFLINE
  •  
  • Local time:03:46 AM

Posted 31 May 2024 - 12:44 PM

Although I've just been using Kubuntu for less than a week I am inclined to jump ship with it while it would be relatively painless to do so.

 

I have a few questions about the process.

 

Getting it up and running was a breeze.

 

I had just installed a brand new main SSD drive and partitioned it into two partitions.

First I installed Windows 10 in the bigger partition and then installed Kubuntu in the smaller one.

 

Conveniently, on its own, Kubuntu set up a boot menu with seven or more choices.

At the top was booting into Kubuntu and six or seven choices down was booting into Windows.

 

What would be the recommended way of removing Kubuntu?

Formatting the partition?

What would happen to its boot menu when removing it?

 

 

 

 

 

 



BC AdBot (Login to Remove)

 


#2 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 35,304 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:07:46 AM

Posted 31 May 2024 - 01:20 PM

Just reintall another Linux distro after formatting the current Kubuntu in the installer of the new linux installer.

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra


#3 Chiragroop

Chiragroop

  •  Avatar image
  • Members
  • 428 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:46 AM

Posted 31 May 2024 - 02:13 PM

Agreed with Cryptodan. I would also suggest clearing out the Ubuntu or Kubuntu folder in the ESP and delete the extra EFI boot entries. As an aside, is the main reason you are switching over due to many options during Boot?

#4 MarkBeepBeep

MarkBeepBeep
  • Topic Starter

  •  Avatar image
  • Members
  • 211 posts
  • OFFLINE
  •  
  • Local time:03:46 AM

Posted 31 May 2024 - 02:34 PM

Agreed with Cryptodan. I would also suggest clearing out the Ubuntu or Kubuntu folder in the ESP and delete the extra EFI boot entries. As an aside, is the main reason you are switching over due to many options during Boot?

Thanks Dan and Chiragroop.

 

Could you please explain how to clear out the Kubuntu folder in the ESP?

And also how to delete the extra EFI boot entries?

 

Actually I appreciate all the boot options, even though the only ones I have time to read are the Kubuntu and Windows boot options.  :)

The menu times out quickly before I can read any of the other ones.

 

The main reasons I will probably switch to another distro are because I'm not crazy about the overall look/feel of Kubuntu, I don't like the way
it is handling one of the most basic functions (shutting down), the hoops I'm still having to go through to remove all password requirements

and the constant upgrade notices. These things might seem trivial but I don't experience any of them in Windows.

 



#5 Chiragroop

Chiragroop

  •  Avatar image
  • Members
  • 428 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:46 AM

Posted 01 June 2024 - 03:56 PM

Since this applies only to UEFI systems, you want to check if you have a UEFI system. On any Linux live USB you are running to install, run this:

sudo dmesg | grep -i efivars

You should get an output something like this:

[    0.301784] Registered efivars operations

 
If that's the case, then you can proceed. First we will remove Kubuntu from boot order. Run this to see UEFI boot order:

sudo efibootmgr

This is potentially the output you could get.
PwT98MD.png


As you can see, there's Ubuntu in the boot order in my case. Find the bootorder number beside it (0006 in my case) and then run this command:

sudo efibootmgr -B -b {bootorder}

Replace the {bootorder} with your bootorder you found earlier. In my case, it would be sudo efibootmgr -B -b 0006
 
This should remove Ubuntu (which is what Kubuntu installs itself as) from the UEFI boot order.
 
Now, for removing its files from the ESP depends on your distro. For KDE based distros, open the KDE Partition assistant. Identify the ESP partition. If it already has a mount point, use that. In my case, the live USB didn't mount it.
qlOZUAs.png
In that case, identify the location of partition (mine is /dev/sda1), run these commands in the terminal/Konsole (and replace /dev/sda1 with whatever your partition path is):

mkdir ~/Desktop/efi
sudo mount /dev/sda1 ~/Desktop/efi

Now you can browse the ESP. Open the efi folder on your Desktop. Inside, you will find another folder called EFI. Open that, and you will find the Ubuntu folder. Delete that folder (and empty the trash). If it doesn't let you, right-click and click Open in Terminal or Open Terminal here and run this command:

sudo rm -r ./ubuntu

That's it!
 
 
Now, if you are using a GNOME based distro, this is slightly different. Open Disks and identify the ESP partition.

11GMU4T.png

As you can see, it lists the partition as EFI system. You can click the triangle to mount it if it isn't mounted already and click the mount location. Find the EFI/ubuntu folder and delete it and if it doesn't work, run the command after opening terminal in that folder.



#6 MarkBeepBeep

MarkBeepBeep
  • Topic Starter

  •  Avatar image
  • Members
  • 211 posts
  • OFFLINE
  •  
  • Local time:03:46 AM

Posted 01 June 2024 - 04:42 PM

Since this applies only to UEFI systems, you want to check if you have a UEFI system. On any Linux live USB you are running to install, run this:

sudo dmesg | grep -i efivars

You should get an output something like this:

[    0.301784] Registered efivars operations

 
If that's the case, then you can proceed. First we will remove Kubuntu from boot order. Run this to see UEFI boot order:

sudo efibootmgr

This is potentially the output you could get.



As you can see, there's Ubuntu in the boot order in my case. Find the bootorder number beside it (0006 in my case) and then run this command:

sudo efibootmgr -B -b {bootorder}

Replace the {bootorder} with your bootorder you found earlier. In my case, it would be sudo efibootmgr -B -b 0006
 
This should remove Ubuntu (which is what Kubuntu installs itself as) from the UEFI boot order.
 
Now, for removing its files from the ESP depends on your distro. For KDE based distros, open the KDE Partition assistant. Identify the ESP partition. If it already has a mount point, use that. In my case, the live USB didn't mount it.

In that case, identify the location of partition (mine is /dev/sda1), run these commands in the terminal/Konsole (and replace /dev/sda1 with whatever your partition path is):

mkdir ~/Desktop/efi
sudo mount /dev/sda1 ~/Desktop/efi

Now you can browse the ESP. Open the efi folder on your Desktop. Inside, you will find another folder called EFI. Open that, and you will find the Ubuntu folder. Delete that folder (and empty the trash). If it doesn't let you, right-click and click Open in Terminal or Open Terminal here and run this command:

sudo rm -r ./ubuntu

That's it!
 
 
Now, if you are using a GNOME based distro, this is slightly different. Open Disks and identify the ESP partition.

 

As you can see, it lists the partition as EFI system. You can click the triangle to mount it if it isn't mounted already and click the mount location. Find the EFI/ubuntu folder and delete it and if it doesn't work, run the command after opening terminal in that folder.

Thanks Chira.

I have saved these instructions to use if I go ahead with a new distro installation.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users