We have moved to a new Sailfish OS Forum. Please start new discussions there.
7

Error encrypting a MicroSD card as luks: "The file system is incompatible."

asked 2019-01-16 23:08:37 +0300

acko gravatar image

updated 2019-03-02 10:00:18 +0300

nthn gravatar image

Sailfish OS 3.0, Build 3.0.1.11, Device adaptation 1.0.2.8, on my Jolla Phone.

  1. I put a Kingston MicroSDHC 32GB UHS-I U1 Class 10 card in.
  2. I go to "Settings > Storage"
  3. I long-press on my unmounted "Memory card (vfat)" and click "Format"
  4. I enter a "Memory card name", enable "Encrypt", enter the password two times and press "Format (luks)"
  5. In the "Authorize - Authentication is required to format SD32G (/dev/mmcblk1p1)" dialog at the top, I press "Confirm"
  6. I get an "Could not format memory card. The memory card may be in an unstable state" dialog at the top. And below the "Unsupported memory card" entry, it says in red "The file system is incompatible. Formatting is needed."

This does not make sense to me, because I just asked for formatting which would create a file system.

https://together.jolla.com/question/34087/wiki-microsd-microsdhc-microsdxc-card/ implies that "microSDHC - sizes between 4 GB to 32 GB" are supported. Could not find a related recent question here (as the built-in Encrypt feature is pretty new.)

edit retag flag offensive close delete

Comments

Are you able to format SD without encryption?

magullo ( 2019-01-17 09:14:53 +0300 )edit
1

Yes, that works.

acko ( 2019-01-17 12:33:06 +0300 )edit

What did you format to, and does it still not work to encrypt it?

attah ( 2019-01-17 20:01:17 +0300 )edit

I'm afraid I don't understand the question. See step 3 above what I formatted to, as Sailfish offered exactly one option. See step 6 above what happens when I try to encrypt. Not sure how often I should try to follow my steps which always end up in same outcome. :)

acko ( 2019-01-18 00:57:44 +0300 )edit
1

@acko, any µSDHC- and µSDXC-card should work (as long as the SD-card is detected by the kernel).
I have used 32GB, 64GB, 128GB and 200GB cards in Jolla1 and Xperia X devices under SFOS.

As an alternative to the encryption offered at the GUI since SFOS 3.0, you may establish an encrypted SD-card at the command line.

olf ( 2019-01-18 15:23:02 +0300 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-03-02 11:28:11 +0300

leszek gravatar image

This is a bug. It should not offer you to encrypt anything if your card isn't formatted in ext4.

Reformat in ext4 and luks will work.

edit flag offensive delete publish link more

Comments

Well, it should reformat the card as ext4 and encrypt it at the same time. There's no way to encrypt it as ext4 without luks in the UI. Unencrypted SD cards use vfat, but when you select 'encrypted' it changes over to use luks. For what it's worth I tried formatting+encrypting it on my computer. It gets detected by Sailfish, and the password is accepted, but then I'm supposed to authorise it, which refuses to work. In short, encrypted SD cards simply do not work yet.

nthn ( 2019-03-02 12:47:11 +0300 )edit

I confirm that reformatting in ext4 does not fix the issue (Jolla1/Oulanka), and if you format the card on computer, unlocking it doesn't work in the way as explained in the above comment. (The possibility to reformat as ext4 appears if the card was already formatted as ext4 on computer. This doesn't make much sense, though.)

vvvv ( 2019-04-14 14:43:12 +0300 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2019-01-16 23:08:37 +0300

Seen: 536 times

Last updated: Mar 02 '19