El Capitan can´t see or remove partition but it shows up in Terminal EDIT: managed to reformat the partition to JHFS+, after accidentaly creating another partition i merged the new and the old one i dint want, then it let me merge all of them together.

I created a partition to originally use for linux. I gave it 30 GB and installed Linux no problem. Now I am in need for space in El Capitan and I can not remove the partition to give me more space. I managed to reformat it to HFS+ and it is not a corestorage(?) unit. 

Here are screenshots of Disk Utility and the output of diskutil list:
It is because the Linux file system is something that OS X cannot natively read.  The easiest thing to do is to is load up a live Linux CD and change the partition to something OS X can read like ExFAT, or MSDOS.  Once that change has been made, OS X should be able to see it; allowing you to manipulate the partition.

The other option is to load up FUSE for OS X which will allow you to read/write ext2, ext3, and ext4 file systems.  I am not a fan of loading up applications for one time use, but I wanted to let you know about it.