I have tried this solution and it doesnt work.
sudo fdisk -l
output is
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0004a414
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 718847 358400 7 HPFS/NTFS/exFAT
/dev/sda2 718848 759897456 379589304+ 7 HPFS/NTFS/exFAT
/dev/sda3 759898110 1465147391 352624641 5 Extended
Partition 3 does not start on physical sector boundary.
/dev/sda5 1448615936 1465147391 8265728 82 Linux swap / Solaris
/dev/sda6 759898112 1448615935 344358912 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 3960 MB, 3960471552 bytes
31 heads, 30 sectors/track, 8317 cylinders, total 7735296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 8192 7735295 3863552 b W95 FAT32
When apply sudo mount --options remount,rw /dev/sdb1
says:
mount: cannot remount block device /dev/sdb1 read-write, is write-protected
When apply this: sudo chown -hR waqas /dev/sdb1
it shows changing the permission of files and gives the log files but result is nothing when i goto the card and check the permission its the same.
same case with the sudo chmod -R 777 /dev/sdb1
and the last one i apply gksudo nautilus
when navigate to the card and try to change the permission it says:
and window close after a second. So I am not sure what to do.
Note:
Ubuntu 13.10
this card was in Android phone and somehow got messed up with the permissions.
written on card: Micro SD card HC 4GB