maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Help] eMMC has become Read-Only (https://talk.maemo.org/showthread.php?t=71873)

akirayuki 2011-04-07 05:46

[Help] eMMC has become Read-Only
 
Hi all, I have an issue where my internal memory from / to /MyDocs has become Read-Only. I can't move edit or delete anything or save new photos. Any help to retify would be much appreciated.

Thanks

Akira

KetkuFIN 2011-04-07 05:56

Re: [Help] eMMC has become Read-Only
 
connect your phone to PC and go Prperties->tools->check disk.
that if you are using windows. worked for me ;)

Switch_ 2011-04-07 07:10

Re: [Help] eMMC has become Read-Only
 
Yes, let us know what OS you are running on your lappy / desktop.

Chkdsk within Windows (DOS) will not clear up a Read Only FS, you will need to adjust the disk properties within the Disk Management Console, but if you are running Micro$haft Windoze I can walk you through that one ;)

sat2050 2011-04-07 07:24

Re: [Help] eMMC has become Read-Only
 
can you post your current /etc/fstab file

ammyt 2011-04-07 07:36

Re: [Help] eMMC has become Read-Only
 
fsck your partitions, and you'll be fine.
also, try to reboot, several times on your n900, don't worry, it'll get over it :)

Char 2011-04-07 08:23

Re: [Help] eMMC has become Read-Only
 
Xterminal
Code:

root
umount /dev/mmcblk0p1
fsck.vfat /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs
exit
exit


akirayuki 2011-04-07 09:27

Re: [Help] eMMC has become Read-Only
 
Quote:

Originally Posted by Char (Post 983472)
Xterminal
Code:

root
umount /dev/mmcblk0p1
fsck.vfat /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs
exit
exit


Thanks all for your help, but the above didn't work :(
I'll have a go at connecting it to my PC. I'm running win7.

copy of my FSTAB file:

# autogenerated
rootfs / rootfs defaults,errors=remount-ro,noatime 0 0
/dev/mmcblk0p1 /home/user/MyDocs vfat noauto,nodev,nosuid,noatime,nodiratime,utf8,uid=29 999,shortname=mixed,dmask=000,fmask=000,rodir 0 0
/dev/mmcblk0p2 /home ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0
/home/opt /opt none bind
/dev/mmcblk0p3 none swap sw 0 0

Switch_ 2011-04-07 10:04

Re: [Help] eMMC has become Read-Only
 
Code:

umount /home/user/MyDocs
mount /dev/mmcblk0p1 /home/user/MyDocs -o rw

Then try to write a file to ~/MyDocs - for example by taking a photo.

Let us know.

michaaa62 2011-04-07 15:30

Re: [Help] eMMC has become Read-Only
 
Do you have rootsh from extras repository installed?
This is necessary to perform all of the steps, because they need root rights!

Schturman 2011-04-07 16:02

Re: [Help] eMMC has become Read-Only
 
I went through it too after playing with h-e-n and this command is helped me:
root
mount -o remount,rw /home/user/MyDocs

akirayuki 2011-04-07 16:13

Re: [Help] eMMC has become Read-Only
 
Thanks again for everyone's help. Problem now solved. Connected to Windows 7 and ran checkdisk which fixed it. Issue appeared to be a bad download by Transmission.

Akira

akirayuki 2011-04-07 16:20

Re: [Help] eMMC has become Read-Only
 
A little off topic but related to a question asked earlier whether I have rootsh installed, which I do. I was wondering if anyone else uses terminal scripts as shortcuts for commonly used commands. For example I put sudo gainroot into a script and called it "r" so now I open terminal and type sh r to get root privilages. Another one is apt-get update and upgrade which I just open terminal and type sh u to update repos and upgrade all apps that needs it. Using terminal this way to update and upgrade is so much quicker and easier than using FAP. Has anyone got any others they would like to share?

michaaa62 2011-04-07 16:36

Re: [Help] eMMC has become Read-Only
 
Hi akirayuki,
transmission is notorious for corrupting the file system. You might want to search the forum for that?
I use the hostname of my laptop as alias in bash4 to ssh into it via DynDNS.org, also i set up aliases for the power states for power kernel.


All times are GMT. The time now is 10:25.

vBulletin® Version 3.8.8