How to uninstall one of two dualboot operating systems

Asked by Ross Pine

I installed Ubuntu14.10 AND Linux Mint 17 on my acer laptop. How do I uninstall Linux Mint 17?
I think my computer should run better with only one OS.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

You uninstall an operating system by removing the partition where this OS is stored.

What is the output of the following terminal commands:

uname -a
lsb_release -a
sudo fdisk -l
sudo update-grub

Revision history for this message
Ross Pine (rosspine) said :
#2

Thanks Manfred for the response. This looks far too complicated for me. I do not know how to find or remove the partition.
Following are the outputs of the commands that
 you suggested.
I find that I like ubuntu better than linux mint and was hoping to regain some disk space.
Thanks, Ross

ross@Acer-Aspire-5735:~$ uname -a
Linux Acer-Aspire-5735 3.16.0-24-generic #32-Ubuntu SMP Tue Oct 28 13:07:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ross@Acer-Aspire-5735:~$

ross@Acer-Aspire-5735:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.10
Release: 14.10
Codename: utopic
ross@Acer-Aspire-5735:~$

ross@Acer-Aspire-5735:~$ sudo fdisk -l
[sudo] password for ross:

Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0009001e

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 241127423 241125376 115G 83 Linux
/dev/sda2 241129470 488396799 247267330 117.9G 5 Extended
/dev/sda5 482254848 488396799 6141952 3G 82 Linux swap / So
/dev/sda6 241129472 482254847 241125376 115G 83 Linux

Partition table entries are not in disk order.
ross@Acer-Aspire-5735:~$

Partition table entries are not in disk order.
ross@Acer-Aspire-5735:~$ sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-24-generic
Found initrd image: /boot/initrd.img-3.16.0-24-generic
Found linux image: /boot/vmlinuz-3.16.0-23-generic
Found initrd image: /boot/initrd.img-3.16.0-23-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Linux Mint 17 Qiana (17) on /dev/sda1
done
ross@Acer-Aspire-5735:~$

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

The layout of your hard disk has the partition for Linux Mint in front of the partition for Ubuntu. So there is no easy way to remove the Mint partition and to extend to Ubuntu partition to the space that was used by Mint.

If you have not created much files or installed lots of additional applications, the easiest way to remove Mint and to provide all disk space to Ubuntu would most probably be a new installation of Ubuntu, using the whole disk.

Don't forget to create backup copies of all your important files to an external medium before you start changing anything on your disk layout.

Revision history for this message
Ross Pine (rosspine) said :
#4

Thank you Manfred. You have answered my question completely.