Terry Clarke |
11-11-2017 09:14 AM |
Installed Ubuntu multiple times by mistake and can't delete partition with GParted
Hi
First of all I’m a newbie to Linux and I’ve downloaded 14.02 32 bit Ubuntu and upgraded to 16.04 32 bit. Its working fine now but my disk is almost full because I downloaded it twicw (or maybe three times) by mistake.
I got this info from Tereminal using sudo fdisk -l:
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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: 0x006c006c
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 63 136884168 136884106 65.3G 7 HPFS/NTFS/exFAT
/dev/sda2 136884222 214972415 78088194 37.2G 5 Extended
/dev/sda4 215896064 234434559 18538496 8.9G 7 HPFS/NTFS/exFAT
/dev/sda5 152602624 210917375 58314752 27.8G 83 Linux
/dev/sda6 210921472 214972415 4050944 2G 82 Linux swap / Solaris
/dev/sda7 136884224 152602623 15718400 7.5G 83 Linux
Partition table entries are not in disk order. Since there are three Linux entries I presume the /dev/sda5….27.8G partition is the one I did by mistske.
I’m trying to delete it using GParted Partition Editor but having no luck.
When I click my RHM and select Delete I get the following error:
Unable to delete /dev/sda5!
Please unmount any logical partitions having a number higher than 5 Now /dev/sda6 doesn’t have an option to unmount so I did it on /dev/sda7 and got the following error:
Could not unmount /dev/sda7
# umount -v "/"
umount: /: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).) I’ve done this a number of times but get the same errrors every time.
Can anyone please help?
|