maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   mount microsd card rw (https://talk.maemo.org/showthread.php?t=97184)

mrapathy 2016-08-09 13:22

mount microsd card rw
 
My microsd card is not mounting rw tried following /etc/fstab and changed /etc/default/mount-opts so it doesn't gen new fstab I edited fstab rw what am I missing?

peterleinchen 2016-08-09 13:30

Re: mount microsd card rw
 
Quote:

Originally Posted by mrapathy (Post 1512115)
...
what am I missing?

Some more info.
What is the prob? Where does it come from (what did you do)?
What have you changed?

And especially:
what FS (file system) is on te card?
If FAT then there are hundreds/thousands of solution posts here on TMO (michaa).

pichlo 2016-08-09 13:31

Re: mount microsd card rw
 
You should not fiddle with fstab at all and should not need to fiddle with mount-opts.

Your problem is most likely a corrupt file system on your card. In such cases, it is mounted as R/O. Run a disk check or, if you are not bothered with lost data, just format the card on the device. Press and hold in File Manager brings up the context menu with the Format option.

mrapathy 2016-08-09 13:46

Re: mount microsd card rw
 
Its not corrupt n mounts ro per mount-opts. The fs is vfat

Sorry bout making new thread I didn't do thorough search. I did read through auto search for existing thread. I don't recall having this problem in past.

peterleinchen 2016-08-09 14:11

Re: mount microsd card rw
 
Attach to Win PC and do an automatic FS check with auto-repair option ...

mrapathy 2016-08-09 18:57

Re: mount microsd card rw
 
/etc/fstab

# This file was generated by script /etc/event.d/rcS-late
# !!! Do not edit this file. It will be overwritten in next device startup !!!
# If you want static /etc/fstab add genfstab="0" to file /etc/default/mount-opts-overwrite
rootfs / rootfs rw 0 0
ubi0:rootfs / ubifs rw,bulk_read,no_chk_data_crc 0 0
/dev/mmcblk0p2 /home ext3 noatime,nodiratime,errors=continue,commit=1,data=w riteback 0 2
/home/opt /opt none bind 0 0
/dev/mmcblk0p1 /home/user/MyDocs vfat noatime,nodiratime,noauto,nodev,exec,nosuid,utf8,u id=29999,shortname=mixed,dmask=000,fmask=0000 0 2
/dev/mmcblk0p3 none swap sw 0 0
/dev/mmcblk1p1 /media/mmc1 vfat
rw,noatime,nodiratime,noauto,exec,utf8,shortname=m ixed,nodev 0 0

/etc/default/mount-opts

# !!! Do not edit this file. It can be overwritten in next update !!!
# !!! Instead create and edit file /etc/default/mount-opts-overwrite !!!

# Options for mounting all filesystems
common_opts="noatime,nodiratime"

# Options for mounting root's filesystems (/, /home)
root_opts="errors=continue,commit=1"

# Options for mounting user's filesystems (MyDocs, SD cards, ...)
user_opts="noauto,nodev,exec,nosuid"

# Options for swap partitions
swap_opts=""

# Options for different filesystems
vfat_opts="utf8,uid=29999,shortname=mixed,dmask=00 0,fmask=0000"
ntfs_opts="nls=utf8,uid=29999,umask=0000"
ext3_opts="data=writeback"
ext4_opts="data=writeback"

# Renerate fstab at boot time in /etc/event.d/rcS-late
genfstab="0"

# When generating fstab add also swap partitions from SD card (if exists)
swap_sd="0"

# Call fsck -p for /home at boot time in /etc/event.d/rcS-late
home_fsck="1"

# Call fsck -p for user's partitions (MyDocs, SD cards, ...)
user_fsck="1"

# Include overwrite file
if [ -f /etc/default/mount-opts-overwrite ]; then
. /etc/default/mount-opts-overwrite
fi

pichlo 2016-08-09 20:02

Re: mount microsd card rw
 
That's nice. Have you tried check disk, as adviced twice?

mrapathy 2016-08-09 20:28

Re: mount microsd card rw
 
Guess I will have to when I get access to a pc

peterleinchen 2016-08-09 20:54

Re: mount microsd card rw
 
You do not need a PC but just some search skills.
michaaa62 has dozens of posts with how-to-do that on device.

pichlo 2016-08-09 21:07

Re: mount microsd card rw
 
Quote:

Originally Posted by peterleinchen (Post 1512184)
You do not need a PC but just some search skills.
michaaa62 has dozens of posts with how-to-do that on device.

Yes, it all comes down to running fsck on the device. To save you some time, here is a spoonfeed:
https://talk.maemo.org/showthread.ph...03#post1508303


All times are GMT. The time now is 01:45.

vBulletin® Version 3.8.8