only have 6gb of storage of 500gb after installing with unetbootin

So basically I was trying to switch from windows 10 to Ubuntu, setup unetbootin , got into the trail version of Ubuntu. Then I started the install process when I got to the part where you partition the disk I think I messed up because now windows won’t boot even fr recovery and in Ubuntu it says I only have 6 gb of local storage with the rest used up, which is no way possible. Any help would be greatly appreciated. Thanks!

I have two bootcamp partitions but not my original 500GB

I have a mid 2014 MacBook Pro running Mojave. I recently tried to dual boot windows on my MacBook but in the process corrupted my original Macintosh HD and am left with a 85GB bootcamp partition. I wanted to revert back to the original so I saved that 85GB with time machine on a external hard drive. I tried to erase the 85GB drive and then delete it from internet recovery and go back to my original 500GB. That didn’t work and I was left with a blue screen saying enter to try again, f8 for something and another something but I can’t remember what it was for. From there I reinstalled Mojave on the 85GB partition and went to disk utility on my MacBook. I tried to restore the 415GB partition and somehow screwed up and am left with 2 bootcamp partitions of 85GB and 415GB.

Here are pictures of the two in disk utility.

enter image description here

enter image description here

And here is a picture of when I type in diskutil list

enter image description here

And here is a picture of diskutil afps

enter image description here

Is there any way for me to get back to my original 500GB partition and restore back to the data that was on my 85GB partition.

Any help would be immensely appreciated.

Upgrade MacBook Pro Mid 2012 system to Samsung SSD 860 EVO 500GB (Mac OS Mojave)

I have different information related to installation new SSD.

If we will try search through Amazon help it shows that the disk Samsung SSD 860 EVO 500GB will work fine with MacBook Pro 13 inch Mid 2012:

Also I saw this video where all works good as well for similar system.

But my disk recognized as uninitialized in my Mac OS Mojave 10.14.4 (18E227):

I tried diskutil as well to format my disk and here is an error after some time waiting for creating portion map:

diskutil eraseDisk JHFS+ SAMSUNGSSD disk1 Started erase on disk1 Unmounting disk Creating the partition map Error: -69825: Wiping volume data to prevent future accidental probing failed 

Also first time there was another error: error: couldn't open device

Before this Samsung SSD 860 EVO I have KINGSTON SSD SATA3 240gb disk and all worked good for me. But few days ago Mac OS accidentally crashed and after restart I just saw flashed question-mark folder. I bought new Samsung SSD 860 EVO. Now I am trying to format my Samsung SSD 860 EVO but because of some reason I can’t do it not at terminal nor using disk utility.

I read some information about replacing SATA cable, but not sure I need to do it as my previous KINGSTON SATA 3 SSD worked good with the same cable. Maybe port or cable is corrupted I don’t know, but not sure if my cable model is different to one that user suggest to buy to make it work:

My System:

enter image description here

enter image description here

enter image description here

enter image description here