Choose style:

Author Topic: Copying Files To SD Card Acer Aspire ZG5  (Read 3868 times)

0 Members and 1 Guest are viewing this topic.

Offline pepperman

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 3,4,5
Copying Files To SD Card Acer Aspire ZG5
« on: August 01, 2014, 07:28:26 am »
I have recently installed Peppermint OS5 to an Acer Aspire One ZG5 and having got most things up and running now, I've just come upon an issue which I hope has a simple fix.

The SD card slot on the Acer Aspire One reads the SD card no problem and I can access file tree etc.   However when I try to copy files from the acer's home folder and then right click on the SD card folder, there is no option to 'paste' files.

Do I need to download something like midnight commander to carry this function out or perhaps from terminal.  I just assumed a basic function like this would work simply from within the Peppermint OS file manager.   

Further note: I'm using a micro SD card inserted into a SD card adapter and then plugged right into the SD card slot on the Acer.  The micro SD card is used on a Jolla (linux-based smartphone) for my media storage.

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1681
  • Karma: 455
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 9 - 64bit
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #1 on: August 01, 2014, 07:36:30 am »
Hi, pepperman:

It sounds to me as if you are having permission/ownership problems. What do you get when in the file manager (PCManFM) you "right click" on the SD card and check the permissions tab of its properties (i.e. who is the owner and to which group does it belong)?

Regards,
-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24909
  • Karma: 2751
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #2 on: August 01, 2014, 07:44:00 am »
4 questions

a) are you accessing the SDcard, *then* right-clicking in a blank space inside the window and selecting Paste .. or are you jusst right-clicking the SDcard in the left hand column of file manager ?

b) is this the left or right hand sdcard slot ?

c) what's the output from:
Code: [Select]
mount

d) what's the output from:
Code: [Select]
groups
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline pepperman

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 3,4,5
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #3 on: August 01, 2014, 08:04:59 am »
Thanks for the input guys!

@Slim.Fatz: If I right click SD card, no properties option is shown, however I can right click a folder and properties are shown.  Permissions seem to show 'only owner' in access control.

@PCNetSpec

a) I've tried both with no success and also tried right clicking on specific folder within SD card
b) I've tried both but currently the right hand slot

Will post c/d outputs in next post.
« Last Edit: August 01, 2014, 08:17:36 am by pepperman »

Offline pepperman

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 3,4,5
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #4 on: August 01, 2014, 08:13:14 am »
c)

/dev/sda6 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=john)
/dev/mmcblk0p1 on /media/john/JOLLA type vfat (ro,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)

Offline pepperman

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 3,4,5
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #5 on: August 01, 2014, 08:15:17 am »
d)

john adm cdrom sudo dip plugdev lpadmin sambashare

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1681
  • Karma: 455
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 9 - 64bit
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #6 on: August 01, 2014, 08:47:45 am »
Well, I see that your SD card (the last line in the output from the mount cammand) is ro -- which means read only. Therefore you cannot write to it (i.e. paste will not be permitted). It must be rw (read/write). I'm sure some one here can tell you how to change it -- but that someone is not me (unfortunately).


Regards,
-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline pepperman

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 3,4,5
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #7 on: August 01, 2014, 08:52:50 am »
Yes I noticed that and wondered if it might be the problem thanks for confirming that Slim.  I think that is possibly how it is mounted in the Jolla smartphone, but I hope there is maybe a solution.

Thanks for your help!

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1681
  • Karma: 455
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 9 - 64bit
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #8 on: August 01, 2014, 08:55:50 am »
I don't mean to sound as though I think you are stupid, so please don't be offended by my asking: have you made sure that the write protection switch on the card has not been moved to protect the card?


-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline pepperman

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 3,4,5
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #9 on: August 01, 2014, 09:07:07 am »
I actually removed the lock switch on the adapter as I noticed upon insertion into the sd slot, it would move the switch into the lock position.  Hence, I moved it back to the 'unlock' position and pulled the switch off altogether! ;-)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24909
  • Karma: 2751
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #10 on: August 01, 2014, 09:15:32 am »
If you've pulled off the lock switch it will now be locked so therefore read-only, you'll have to find a way to fill in the indent where the switch was, such as using tape.

Watch this .. most of the time tape isn't enough, so I roll a small amount of paper to fill the indent, then tape over that.

« Last Edit: August 01, 2014, 09:17:20 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline pepperman

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 3,4,5
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #11 on: August 01, 2014, 10:04:51 am »
Thanks for the tip PCNetSpec but I tried using an untampered adapter as well and still the same problem. :-(

Is the problem likely related to what Slim suggested and is there a workaround?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24909
  • Karma: 2751
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #12 on: August 01, 2014, 12:12:00 pm »
unmount then unplug the SDcard .. wait 10 seconds .. replug it .. then post the output from:
Code: [Select]
dmesg | tail -n 30
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1681
  • Karma: 455
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 9 - 64bit
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #13 on: August 01, 2014, 12:26:11 pm »
You might also try this:

Open your file manager and, if not there already, go to your home folder.

Then create a new folder there named whatever you wish (I will use sdcard for this discussion, change this to whatever you named your new folder). This folder will now be used as your "mount point" for your SD cards.

Now insert your SD card. After inserting the SD card, open a terminal and use the command:

Code: [Select]
mount

You will see something similar to that in your post, probably again at or near the end of the output:

Code: [Select]
/dev/mmcblk0p1 on /media/john/JOLLA type vfat [etc ...]

Still in the terminal, try this code:

Code: [Select]
sudo umount /media/john/JOLLA
sudo mount -t vfat -o rw /dev/mmcblk0p1 ~/sdcard
mount

You should now see that /dev/mmcblk0p1 is mounted at /home/john/sdcard and, very important, it should also show rw and NOT ro !!!

Finally, try writing to the SD card (e.g. try to paste something or try creating a new folder on it and then pasting a text file or a photo onto it).

Let us know what happens.

Good luck,
-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline pepperman

  • nOOb
  • *
  • Posts: 19
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 3,4,5
Re: Copying Files To SD Card Acer Aspire ZG5
« Reply #14 on: August 01, 2014, 12:37:04 pm »
After following PCNetspecs command, I get the following:

[19259.075895] mmcblk0: error -84 transferring data, sector 4431, nr 16, cmd response 0x900, card status 0x0
[19259.076621] mmcblk0: error -84 transferring data, sector 4432, nr 15, cmd response 0x900, card status 0x0
[19259.077353] mmcblk0: error -84 transferring data, sector 4433, nr 14, cmd response 0x900, card status 0x0
[19259.078025] mmcblk0: error -84 transferring data, sector 4434, nr 13, cmd response 0x900, card status 0x0
[19259.078688] mmcblk0: error -84 transferring data, sector 4435, nr 12, cmd response 0x900, card status 0x0
[19259.079369] mmcblk0: error -84 transferring data, sector 4436, nr 11, cmd response 0x900, card status 0x0
[19259.080006] mmcblk0: error -84 transferring data, sector 4437, nr 10, cmd response 0x900, card status 0x0
[19259.080719] mmcblk0: error -84 transferring data, sector 4438, nr 9, cmd response 0x900, card status 0x0
[19259.081338] mmcblk0: error -84 transferring data, sector 4439, nr 8, cmd response 0x900, card status 0x0
[19259.081904] mmcblk0: error -84 transferring data, sector 4440, nr 7, cmd response 0x900, card status 0x0
[19259.082503] mmcblk0: error -84 transferring data, sector 4441, nr 6, cmd response 0x900, card status 0x0
[19259.083110] mmcblk0: error -84 transferring data, sector 4442, nr 5, cmd response 0x900, card status 0x0
[19259.083709] mmcblk0: error -84 transferring data, sector 4443, nr 4, cmd response 0x900, card status 0x0
[19259.084670] mmcblk0: error -84 transferring data, sector 4444, nr 3, cmd response 0x900, card status 0x0
[19259.085284] mmcblk0: error -84 transferring data, sector 4445, nr 2, cmd response 0x900, card status 0x0
[19259.085961] mmcblk0: error -84 transferring data, sector 4446, nr 1, cmd response 0x900, card status 0x0
[19259.086679] mmcblk0: error -84 transferring data, sector 4327, nr 1, cmd response 0x900, card status 0x0
[19259.087484] FAT-fs (mmcblk0p1): FAT read failed (blocknr 4264)
[19259.127548] mmcblk0: error -123 sending status command, retrying
[19259.127587] mmcblk0: error -123 sending status command, retrying
[19259.127620] mmcblk0: error -123 sending status command, aborting
[19259.131370] FAT-fs (mmcblk0p1): FAT read failed (blocknr 4264)
[19259.300165] mmc0: card aaaa removed
[19303.189103] mmc0: new SDHC card at address aaaa
[19303.189964] mmcblk0: mmc0:aaaa SU32G 29.7 GiB
[19303.198013]  mmcblk0: p1
[19303.215790] mmcblk0: error -110 sending status command, retrying
[19303.215877] mmcblk0: error -84 transferring data, sector 62332960, nr 8, cmd response 0x900, card status 0xb00
[19303.215891] mmcblk0: retrying using single block read
[19303.677889] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.