I also installed Gparted, thinking to add a Swap file to 16Gb microSDHC card. Gpated installed, but showed no drives whatsoever. I even plugged in an external hard drive, which showed up quickly on the desktop. I refreshed Gparted's devices, but still no drives of any kind.
Did you run gparted as root?
Yes, I tried to run it as "Root".
Sorry but I have no idea what causes gparted to not run. Adding a swap file on the microSD can be done as outlined there: https://www.oesf.org/forum/index.php?s=&...st&p=183783 No need for gparted then
If desktop is running as user and in terminal You do "su -" then that shell does not have set DISPLAY variable and probably X does not have proper permissions.
Just do:
in X run terminal.
In terminal do "xhost +"
Dont close this terminal.
Open new terminal
do "su -"
and then gparted should run.
Any way i suggest using cfdisk. It does not have such problems.