Solution 1:

I had the same trouble with an NVMe disk. That technology is quite recent and the old version of GParted in Ubuntu repo couldn't see my SSD. I resolved creating a GParted live USB with the latest version of the software.