Reply
Thread Tools
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#1
Hello,

I want to follow this guide to format my microsd card 128 GB:

Code:
-- Formating the card as BTRFS as found in Answer to this question / via SSH.
[root@localhost nemo]# umount /dev/mmcblk1p1 - unmount the card
[root@localhost nemo]# mkfs.btrfs -f /dev/mmcblk1 - format the card (no need for partition)
[root@localhost nemo]# mount -o subvolid=0 /dev/mmcblk1 /media/sdcard - mount the card
[root@localhost sdcard]# btrfs subvolume create Jolla - create folder called Jolla
[root@localhost sdcard]# chown -R nemo:nemo /run/user/100000/media/sdcard/Jolla - set ownership
[root@localhost sdcard]# chmod -R 775 /run/user/100000/media/sdcard/Jolla - set permissions
you may have to manually mount the µSD card or use script (1.0.3.8 Naamankajärvi)
At this step i have an error:

mount -o subvolid=0 /dev/mmcblk1 /media/sdcard

It says:

mount wrong fs type bad option bad superblock on /dev/mmcblk1...

How to format card in btrfs and use it on SFOS?

Thanks
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#2
I'd rather use ext4 on the sdcard rather than btrfs.
I have used both but in the long run I'd say you probably will have less problems using ext4
 

The Following 4 Users Say Thank You to juiceme For This Useful Post:
mrsellout's Avatar
Posts: 889 | Thanked: 2,087 times | Joined on Sep 2010 @ Manchester
#3
Originally Posted by juiceme View Post
I'd rather use ext4 on the sdcard rather than btrfs.
I have used both but in the long run I'd say you probably will have less problems using ext4
Also, when/if you buy a future Sailfish device, it's kernel won't have btrfs enabled by default*, so you won't be able to just put your card in the next device and expect to transfer settings and continue using the data on it.


As for formatting your sd card, open the Settings app, go to Storage > Memory card, and I think there should be a format option in the pulley menu.

*At least in the Jolla C, they've gone over to using ext4.
 

The Following 5 Users Say Thank You to mrsellout For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#4
Originally Posted by juiceme View Post
I'd rather use ext4 on the sdcard rather than btrfs.
I have used both but in the long run I'd say you probably will have less problems using ext4
What he says.

Also, why bother with the command line. In 2.0.5 you have a GUI option to format the card. Settings -> Storage, click on the memory card clock thingy, pull Format from the menu. For an added benefit, that will format it to ext4

Edit: Oop, mrsellout has beaten me.
__________________
Русский военный корабль, иди нахуй!
 

The Following 4 Users Say Thank You to pichlo For This Useful Post:
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#5
I have a problem.

It's not mounted how to do it?
 
HtheB's Avatar
Moderator | Posts: 3,715 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#6
Originally Posted by n950 View Post
I have a problem.

It's not mounted how to do it?
You can format the card on a Windows pc to "exfat".

After that, just install the exfat support on your Jolla from the Warehouse:

for Jolla: https://openrepos.net/content/bloodyfoxy/fuse-exfat
for Jolla C: https://openrepos.net/content/v10lator/v10filesystems

reboot the phone, it should automatically mount the micro sd card for you, and you can still use the card on your Windows PC
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 

The Following 3 Users Say Thank You to HtheB For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#7
Originally Posted by n950 View Post
I have a problem.

It's not mounted how to do it?
As a general rule, the answer to, "how do I do X in Sailfish?" is, "long press."
In this case, a long press on the clock representing the SD card in Settings -> Storage.
__________________
Русский военный корабль, иди нахуй!
 

The Following 4 Users Say Thank You to pichlo For This Useful Post:
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#8
I have another problem:

the selected storage is not writable when i try to save my Jolla.

Why?
 

The Following User Says Thank You to n950 For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#9
Check your card. Things like that often happen with dodgy cards.
__________________
Русский военный корабль, иди нахуй!
 

The Following User Says Thank You to pichlo For This Useful Post:
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#10
Originally Posted by pichlo View Post
Check your card. Things like that often happen with dodgy cards.
how can i checkm
what is that?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:08.