You are not logged in.
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
Any thoughts?
Offline
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
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
Thanks alphaniner! The double quotes do the trick!
Offline
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