LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 03-01-2012, 04:35 AM   #1
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Rep: Reputation: 15
Unable to copy anything into memory card


Hello
When i connect my nokia phone to ubuntu desktop I can copy anything from my memory card but when i try to copy anything to my memory card from outside it is not being done.There is no option to paste .
what could be wrong??

Thanks in advance.
 
Old 03-01-2012, 08:28 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Examine file /etc/mtab (the table of mounted filesystems). If you see a line like this:
Quote:
udev /dev tmpfs ro,mode=0555 0 0
then the udev rule which governs the mounting of usb devices in general (or which governs the mounting of ssd cards in paarticular) is set to mount *read only*. You must find the udev rule and change it to *read write* so that mtab shows you this when the phone is plugged in.
Quote:
udev /dev tmpfs rw,mode=0755 0 0
 
Old 03-01-2012, 08:30 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
The memory card could be mounted read only.

When you plug the card in, you should see an icon appear on the desktop, right click it, look for permissions. Needs to be read/write so you can put files on it.
 
Old 03-01-2012, 09:08 AM   #4
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
@camorri
i checked it but it says "The permissions of "memory card" could not be determined"


Thanks
 
Old 03-01-2012, 09:12 AM   #5
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
@bigrigdriver
I never made the changes in that file still I checked the /etc/mtab file.it looks like

/dev/sda5 / ext4 rw,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/amrit/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=amrit 0 0
/dev/sda2 /media/F0286BF2286BB5EE fuseblk rw,nosuid,nodev,allow_other,blksize=4096,default_permissions 0 0
/dev/sda4 /media/New\040Volume fuseblk rw,nosuid,nodev,allow_other,blksize=4096,default_permissions 0 0



Line number 7 is already in rw mode.
Please help !!

Thanks
 
Old 03-01-2012, 10:10 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Open a konsole, you will have to use some commands as root, so use 'sudo command' and you will be prompted for your root password.

First in konsole, 'sudo mount' will produce a list of mounted devices. Your mtab shows you have sda4 5 and sda2. These are your hard drive.

The memory card will have a name like sr0 or sr1 ( most likely ). You can mount devices as root at the command line.

You need an empty directory to mount the device to. Most systems have a /media directory for this purpose. Go there, do a ls command to see what you have. My system has a sym link called memory. It points to memory0. To mount a device, the command

'sudo mount /dev/sr0/ /media/memory/' will mount the device sr0 to /media/memory/.

Now a mount command will show if it a. mounted, and b. if it mounted ro or rw.

You can do a 'man mount' and read details.

I just plugged in a memory stick that is bootable, and is mounted r/o. It looks like this.

Quote:
/dev/sr1 on /media/memory0 type iso9660 (ro)
 
Old 03-10-2012, 09:05 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Please look when the nokia is mounted. I didn't see any device in your mtab listing that wasn't on /dev/sda, which is your harddrive. run "mount" by itself when the nokla is mounted. If you can read files, you should be able to determine where and how it is mounted. By the way, a device with the name /dev/sr# will refer to a cd or dvd drive, not a usb drive.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to copy Graphics to Klipper - KSnapshot won't copy to Klipper mitchellray Linux - Newbie 1 03-27-2009 10:23 PM
Unable to mount SD memory card by USB reader tiger762 Linux - Hardware 7 01-22-2009 01:45 AM
usb memory - does not copy hectorDUQUE Fedora 4 07-03-2008 11:19 AM
RH 8.0 Mapping Virtual Memory to get access to VMIC Reflective Memory PCI card. Merlin53 Linux - Hardware 0 05-05-2003 12:50 PM
memory stick / CF memory card reader X-dazed Linux - Newbie 1 01-21-2003 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration