Reply
Thread Tools
Posts: 24 | Thanked: 7 times | Joined on Nov 2011
#51
Originally Posted by Leinad View Post
i'm not sure about btrfs, i'm using ext4.

first post is completely rewritten.

i tried to write everything correctly out of my memory, but there might still be some mistakes in it. it would be nice, if someone with experience could verify it's working this way.
I just mounted my sdcard as /home/nemo as you describe in your rewritten first post. It seems to work just fine, thanks!
Notice however that I had to use devel-su much earlier than what you describe: in fact creating a directory in /mnt requires root. Also, rsync will fail on some hidden directories if not run under root identity... So in fact I did the whole procedure under root identity !
I can also confirm that .android needs 777, or Yandex store (for example) won't run. This seems a bit scary, doesn't it ?

Thanks a lot.
Franck
 

The Following User Says Thank You to alci For This Useful Post:
Posts: 204 | Thanked: 443 times | Joined on Jul 2012 @ Germany - Potsdam
#52
Originally Posted by Leinad View Post
...
@meemorph: can you confirm, the problem with ambiances exists only with default mountpoint? should be the same, when you only mount the Pictures-folder...
@Leinad: I am only using the default mountpoint. I have never tested other mountmoints like you did. I think, this confirmes (probably) your suspicion, that it only happens with the default mountpoint.

I read your changed first post, looks good to me. But I had no time for testing.

Last edited by meemorph; 2014-02-04 at 21:59.
 

The Following User Says Thank You to meemorph For This Useful Post:
Posts: 594 | Thanked: 1,094 times | Joined on Aug 2012 @ Rhine
#53
Originally Posted by alci View Post
Notice however that I had to use devel-su much earlier than what you describe: in fact creating a directory in /mnt requires root. Also, rsync will fail on some hidden directories if not run under root identity... So in fact I did the whole procedure under root identity !
Thanks for testing and reporting!
devel-su now moved to beginning and .home folder assigned to nemo afterwards.
 
Posts: 16 | Thanked: 2 times | Joined on Jun 2013 @ Germany Oberschwaben
#54
Hello,
I have tried to do your instructions step by step.
But I already failed at step 2.
I formatted a SanDisk SD-Card 64GB with Gparted under openSuse 13.1 with btrfs, and it seems to work.
But when I tried to mount it like you wrote, I got following message:

[root@localhost mnt]# mount /dev/mmcblk1p1 /mnt/sd
mount: wrong fs type, bad option, bad superblock on /dev/mmcblk1p1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Have I to do first some additional commands before following your instructions?

Greatful for any help.
 
Posts: 284 | Thanked: 661 times | Joined on Aug 2013 @ Finland
#55
You might want to try to format your card inside your Jolla for better compatibility.
Code:
mkfs.btrfs -L InsertLabel /dev/mmcblk1
Note that this command doesn't make btrfs with partitions; you can create subvolumes which serve the same purpose afterwards if you so desire. Btrfs with partitions is also possible but I don't know a command for that.

EDIT: Of course formatting to for example ext4 is maybe the safest bet to success.

PS: Got my Jolla back! Now let's see about that sd-card... Actually, I'll back up up my phone first, since the bootloader can now be unlocked.

Last edited by Thoke; 2014-02-06 at 17:11.
 

The Following User Says Thank You to Thoke For This Useful Post:
Posts: 594 | Thanked: 1,094 times | Joined on Aug 2012 @ Rhine
#56
Originally Posted by RR_aus_H View Post
Hello,
I have tried to do your instructions step by step.
But I already failed at step 2.
I formatted a SanDisk SD-Card 64GB with Gparted under openSuse 13.1 with btrfs, and it seems to work.
maybe you formatted the whole block instead of partition 1 (p1).
What does
Code:
lsblk
put out?

In case, you formatted as mmcblk1, you need to replace mmcblk1p1 by mmcblk1 in every command it's used.
 

The Following User Says Thank You to Leinad For This Useful Post:
Posts: 16 | Thanked: 2 times | Joined on Jun 2013 @ Germany Oberschwaben
#57
Thanks for the quick reply,
lsblk gives out:
mmcblk1 179:32 0 59,5G 0 disk
└─mmcblk1p1 179:33 0 59,5G 0 part
I am not familiar with btrfs, how should I go on ??
 
Posts: 594 | Thanked: 1,094 times | Joined on Aug 2012 @ Rhine
#58
Originally Posted by RR_aus_H View Post
I am not familiar with btrfs, how should I go on ??
Neither am i my card is formatted as ext4 and i had no problems with it (i used gparted on Debian).
 
Posts: 16 | Thanked: 2 times | Joined on Jun 2013 @ Germany Oberschwaben
#59
I formatted it also to ext4, now I can mount the sd-card.
So now I can go on....
Another question: Is rsync a part of the Sailfish OS, or have to install it?
 
Posts: 284 | Thanked: 661 times | Joined on Aug 2013 @ Finland
#60
Originally Posted by RR_aus_H View Post
Thanks for the quick reply,
lsblk gives out:


I am not familiar with btrfs, how should I go on ??
This link helps your btrfs-card to achieve the basic functionality and automount-behaviour.

For more advanced functions, and to achieve similar results like in Leinad's OP, I recommend you to look at J4ZZ's post
Note: You need a script editing application to edit mount-sd.sh, you might want to hit nieldk with a message if you need one I noticed there's vi pre-installed in Jolla already

EDIT: Well, you chose the ext4 path, which may not have been unwise

Last edited by Thoke; 2014-02-07 at 19:18.
 

The Following User Says Thank You to Thoke For This Useful Post:
Reply


 
Forum Jump


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