maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   MyDocs isn't mounted at start, and not read-write (https://talk.maemo.org/showthread.php?t=101283)

dredlok706 2021-12-31 09:09

MyDocs isn't mounted at start, and not read-write
 
Hello!
I have really strange problem. MyDocs isn't mounted at start.
Maybe more details, what I did before the problem, etc.
Yesterday, what I did:
- removed hands video (renamed extension to *.disabled)
- added Reboot option to power key menu
- installed healthcheck app

And now, when I reboot, MyDocs isn't mounted autoatically. When I mount it, it mounts, but read-only.
What is strange, when I type in terminal e.g.
Code:

rm /home/user/MyDocs/file.xyz
It can't reove it.
When I type it with sudo:
Code:

sudo rm /home/user/MyDocs/file.xyz
The same
When I type it with --force:
Code:

sudo rm -rf /home/user/MyDocs/file.xyz
It gives many errors, read-only file system it says.
What can be problem?

So, you see, strange situation. It can't be automatically mounted, when it's mounted it's read only, when I mount it manually, read write..

Can anyone help me?
Thanks :)

From what I see in another thread:
Quote:

This bug manifests also with HealthCheck program when using its reboot-tool.
Quote:

technically the bug sits in the terminal command run within healthcheck theres a thread on it all somewhere.
HealthCheck can be problem. But I uninstalled it from HAM...
Is the only solution flashing?
P.S. I will try removing U-Boot and installing BackupMenu and restoring my old rootfs + optfs backup. Maybe it's the problem

dredlok706 2021-12-31 09:47

Re: MyDocs isn't mounted at start, and not read-write
 
I formatted the MyDocs via PC. FAT32, lba flag. It finally helped :D

ric9K 2021-12-31 09:50

Re: MyDocs isn't mounted at start, and not read-write
 
Quote:

Originally Posted by dredlok706 (Post 1573246)
Hello!
...
Is the only solution flashing?

I don't know HealthCheck but you probably don't have to reflash.

Could you share the output of

Code:

$ root  #(if not yet as root)
$ mount | grep -i mydocs > /home/user/mount_output.txt

#: precedes a comment which the shell will not take count of.
mount: displays the list of mounted partitions.
|: redirects the output of mount to the following command
grep -i mydocs: filters the list, only keeping line(s) containing "mydocs", in an insensitive manner (-i) (because I am lazy)
>: sends the wole output to a file


and
Code:

$ root
$ cat /etc/fstab | grep -i mydocs > /home/user/fstab_output.txt

cat: displays the content of a text file.
/etc/fstab: the file where boot mount instructions are stored.

So you can copy /home/user/mount_output.txt and /home/user/fstab_output.txt from your N900 to your computer and copy/paste here.

dredlok706 2021-12-31 11:19

Re: MyDocs isn't mounted at start, and not read-write
 
My fstab is correct. Now I know, what was the problem.
I tried to extract one tar.xz with SuperTuxKart via tar xf tool, then via filebox. The app freezed, and I needed to force to close it.
Then, I discovered many damaged files in MyDocs. I wasn't able to delete them even via PC.
So I formatted (while sharing eMMC via BackupMenu to PC) MyDocs to fat32, now it works perfectly, and is correctly mouted at boot ;)

ric9K 2021-12-31 11:28

Re: MyDocs isn't mounted at start, and not read-write
 
Hmm, side note but this reminds me a problem with encoding differences between formatting from backupmenu or from booted N900.
I couldn'f delete files with accents in Fremantle if the FS was formatted from my PC trhrough backupmenu. I had to do it from the PC too.

biketool 2022-01-04 17:01

Re: MyDocs isn't mounted at start, and not read-write
 
I recall that was mostly a dirty file system problem, dosfsck -y /dev/whatever-partition will clean it up where it can be mounted rw.

bradvesp 2022-01-06 11:42

Re: MyDocs isn't mounted at start, and not read-write
 
Quote:

Originally Posted by ric9K (Post 1573257)
Hmm, side note but this reminds me a problem with encoding differences between formatting from backupmenu or from booted N900.
I couldn'f delete files with accents in Fremantle if the FS was formatted from my PC trhrough backupmenu. I had to do it from the PC too.

I think that is a problem related to the differences in FAT v. NTFS file system. They don't recognize file names in the same way and so won't recognize the accent marks the same way. Windows uses NTFS.


Those accents can make for some funny computer occurances. I always get gibberish leftovers on my screen when I use Vi to edit an audio playlist that has a Sigür Rós song on it; more so when it's from Agaetis Byrjun. I don't even know how I got the ae to merge into one character, but I did ... once.


All times are GMT. The time now is 06:35.

vBulletin® Version 3.8.8