-1

I'm now trying to resize a 64 Gb SD card and format it to ext4 (i use a normal SD card reader, not a usb card reader) in order to use it on my android device. formating it to fat32 won't give me a problem, my problems start if I format it to ext4, then the SD card would show errors

enter image description here enter image description here

The SD card error that I see, is permission denied I cannot include a screenshot because I formated it and it ain't happening now but I can show you this screenshot, the sd card is formated to ext4 using gparted

enter image description here

It clearly shows that cannot write anything to the SD, as a regular user, I have to be root.

Edit after following sмurf's answer, I see

enter image description here

edit 2, gksudo solves few issues but when formating to ext4 I still see

enter image description here

Lynob
  • 6,775

1 Answers1

0

To answer your question: You can not run gparted without sudo.

Your real problem however appears to be that an SD card formatted in Linux is unusable in an Android device because of a permission issue. You should be able to fix that by making the root directory of the card world writeable:

sudo mkfs.ext4 /dev/<YOUR_SDCARD_DEVICE>
sudo mount /dev/<YOUR_SDCARD_DEVICE> /mnt
sudo chmod 777 /mnt/.
sudo umount /mnt

Note: I haven't really tested that.

sмurf
  • 4,750
  • 1
  • 26
  • 30