AnswerBun.com

Remove one of multiple Operating System

Super User Asked by lapin on September 12, 2020

I have two operating systems, ubuntu and backtrack 5. I no longer need BT5. How do I remove/uninstall BT5 without losing any data of Ubuntu ?

Edit 1: After I delete the BT5 partition how do I extend the partition to use the empty space or does it happen automatically ?

2 Answers

Simply format the partitions of BT and re-run grub-mkconfig from Ubuntu. Unless you did make a more sophisticated install, this should suffice. If you want to also get back the free space, make a new partition and mount it or resize the Ubuntu partition afterwards. The latter might corrupt the fs though so be sure to backup before.

Answered by ljrk on September 12, 2020

OS-Uninstaller is a small graphical tool to perform a clean and quick uninstall of any operating system (Windows, Mac OS X, Ubuntu, other Linux distributions..) of your computer.

Features

  • It supports removing only selected OS boot list entries in the GRUB.

    enter image description here

  • Or completely remove the GRUB and replace it with the original MBR (master boot record) that was there before installing Ubuntu.

  • It also automatically reformats the partition of the OS that you just removed into NTFS (default) or ext4, depending on the OS that was there before.

  • Change the GRUB menu’s display timeout.

  • Backup the partition table and the boot sectors (just in case).

  • It also lets you manually change the MBR and its installed location of hard disk and the partition it’s linking for booting. But for most users, you don't have to tweak any of these.

Download Boot-Repair-Disk. Then create a live USB of it with UNetbootin from the Ubuntu Software Center. In Ubuntu 18.04 and later the UNetbootin package has been discontinued. When I tested the built-in Startup Disk Creator application as a UNetbootin replacement app with a Boot-Repair live .iso image it worked in Ubuntu 18.04. A window (Boot-Repair) will appear, close it. Then launch OS-Uninstaller from the bottom left menu. In the OS Uninstaller window, select the OS you want to remove and click the OK button, then click the Apply button in the confirmation window that opens up. When the removal is finished, reboot and check that your system has been removed.

You can also install Boot-Repair, which includes OS-Uninstaller, inside Ubuntu by adding the ppa:yannubuntu/boot-repair PPA to your software sources as follows:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt update  
sudo apt install boot-repair  

After you have removed Backtrack 5, you can resize the Ubuntu partition by following the instructions in How to resize partitions.

Answered by karel on September 12, 2020

Add your own answers!

Related Questions

Why is Firefox CPU usage high?

1  Asked on November 2, 2020 by zylstra

   

Add Padding around Pasted Text in MS Word 2013

0  Asked on November 2, 2020 by tom-baxter

 

Black on white theme in windows 10 terminal

2  Asked on October 30, 2020 by newbie

   

How to tell which application prevent computer from sleeping

1  Asked on October 28, 2020 by automator_enthusiast

   

final link failed ssh

0  Asked on October 28, 2020 by den-taralevych

       

CentOS 6 does not show any desktop icons or anything in the panel

1  Asked on October 26, 2020 by justwanttoworkagain

     

Find out why Squid isn’t caching files

0  Asked on October 26, 2020 by trevor-sullivan

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir