Uninstall Ubuntu

I have on my desktop Ubuntu 22 and Ubuntu 24 dual boot. How to uninstall one of them and fix the Grub file?
Regards to all

From within one of the Ubuntu installs, run the boot repair script:
https://help.ubuntu.com/community/Boot-Repair

Choose to create a summary report and copy and paste the pastebin back here in a post.

That way we can see where everything is and offer better advice.

Thanks.

Just format the partition of 22 (from 24.04 with gparted or Disk application) and then run sudo grub-install and sudo update-grub on 24
BUT You may keep 22.04 as lifesaver in case of problems on 24.04.
Doing maint of a system from another system on same PC is more easy than from a live USB stick.
You may use gparted from 24.04 to reduce the partition of 22.04.

1 Like