maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   SD card ext2/3/4 multiple partitions mount problem (https://talk.maemo.org/showthread.php?t=89619)

Il_Principe 2013-03-26 21:28

SD card ext2/3/4 multiple partitions mount problem
 
Hi.
I've three partitions on my sd card: the first one is an ext4 and the others are swap.
I've a strange problem: in /media i can see two folder (mmc1 and mmc1p1) and normally the ext4 is mounted in the first one, but after a connection to pc with usb it's moved to second and of course everything goes wrong (tracker, etc.).
How can I solve it?
Thanks in advice.

Edit:
As reported in post 11, the problem occours only if there are multiple partitions on sdcard and the first one is an ext filesystem.

Wikiwide 2013-03-27 12:28

Re: SD partition mount problem
 
Bumping the thread...
Best wishes.

michaaa62 2013-03-27 14:45

Re: SD partition mount problem
 
Looks to me like the crippled maemo system does not recognize as the filesystem it had mounted before, but found a unknown new partition.
Did you ever create that mmc1p1 mount point manually?
Did you try to again export the partition via USB to your PC? Do you get just another mount point, is it reverting to your first mount point?
Did you consider or how did you expand /etc/fstab to know about that partition?

Il_Principe 2013-03-27 21:09

Re: SD partition mount problem
 
I didn't create any mount point.
I did all three partition directly on mmc with gparted then I put the card in the n900.
I've also deleted every partition and then created again (also only the ext4), but without results.
I didn't modify my /etc/fstab, because i didn't consider essential.
Today I realize that if I use the swap on sd, the ext4 sometimes moves on mmc1p1 mount point.
Tomorrow I'll try changing the partition to ext3.

dvb 2013-04-01 13:41

Re: SD partition mount problem
 
+1

I made 2 partitions on my microSD: ext2 + swap. Now I have the same behaviour: after reboot ext2 mounts to mmc1, but after connecting/disconnectingto a PC it is remounted at mmc1p1.

Is there any way to avoid that besides editing fstab generation script?

peterleinchen 2013-04-01 14:14

Re: SD partition mount problem
 
Afair the ke-recv has only support for auto mounting a vfat partiion on first partition.
There is some news in TMO about this and a newer version (probably from pali).

Il_Principe 2013-04-03 22:58

Re: SD partition mount problem
 
Looking for Pali's newer version (not found yet :( ), I noticed that with sd swap activated the ext4 partition moves from mmc1 to mmc1p1 also without usb connection giving a stability issue.

@dvb
I've found this guide for ext2, but i haven't yet tried it: http://wiki.maemo.org/Ext2_on_microSD_card
Maybe it can be the solution for our issue and a good improvement for next CSSU. ;)

Il_Principe 2013-04-04 15:17

Re: SD partition mount problem
 
Is it possible change thread's name from "SD partition mount problem" to a more meaningful "SD ext2/3/4 partition mount problem"?

sixwheeledbeast 2013-04-04 15:23

Re: SD partition mount problem
 
Quote:

Originally Posted by Il_Principe (Post 1334095)
Is it possible change thread's name from "SD partition mount problem" to a more meaningful "SD ext2/3/4 partition mount problem"?

The OP (you) can edit the title.
Click edit on the OP and update the title as you wish.

dvb 2013-04-05 05:37

Re: SD ext2/3/4 partition mount problem
 
The thread should be renamed to "SD with multiple partitions mount problem", beacause this doesn't matter what type of filesystem resides on the partition, vfat or ext2/3/4.


All times are GMT. The time now is 15:28.

vBulletin® Version 3.8.8