You are not logged in.

#1 2014-08-03 17:09:23

njathan
Member
Registered: 2011-06-01
Posts: 18

[Solved] ^has_journal error for encrypted USB installation

Hi,

I am trying to install Arch on an encrypted USB stick, but i am facing a challenge in the very initial stages.
Its been advised that if installing arch on a USB stick, one should disable journaling. But the command to format to ext4 without journaling fails. Here is what i am doing

# cryptsetup -y -v luksFormat /dev/sda2
# cryptsetup open /dev/sda2 cryptroot
# mkfs.ext4 -O ^has_journal /dev/sda2

the mkfs.ext4 command above gives the following error:

/dev/sda2 is apparently in use by the system; will not make a filesystem here

Instead, when i use the slightly modified version of the original command specified in https://wiki.archlinux.org/index.php/Dm … _with_LUKS, i get the following error:

mkfs -t ext4 -O ^has_journal /dev/mapper/cryptroot
Invalid filesystem option set: install.txt

Can you advise whats going wrong with the mkfs.ext4 command?

Last edited by njathan (2014-08-05 17:44:59)

Offline

#2 2014-08-04 14:57:56

njathan
Member
Registered: 2011-06-01
Posts: 18

Re: [Solved] ^has_journal error for encrypted USB installation

Any thoughts?

Offline

#3 2014-08-05 13:15:07

x15
Member
Registered: 2014-08-05
Posts: 1

Re: [Solved] ^has_journal error for encrypted USB installation

Hello All,

I have same problem installing the new (2014.08.01) iso to an old EeePC 4G.
I think I'll format a partition booting ubuntu live...

Cheers!

Offline

#4 2014-08-05 13:54:32

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [Solved] ^has_journal error for encrypted USB installation

mkfs.ext4 -O "^has_journal" ...

But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2014-08-05 17:44:20

njathan
Member
Registered: 2011-06-01
Posts: 18

Re: [Solved] ^has_journal error for encrypted USB installation

Thanks alphaniner! The double quotes do the trick!

Offline

#6 2014-08-05 18:16:05

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [Solved] ^has_journal error for encrypted USB installation

FYI, the quotes were needed because the '^' is interpreted specially by the shell. I think it's "caret substitution" but I'm not familiar with it at all.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

Board footer

Powered by FluxBB