This repository was archived by the owner on Jan 18, 2026. It is now read-only.
Fixes issue where LUKS encrypted XFS root will not boot#803
Merged
condor2 merged 2 commits intoAnarchyLinux:masterfrom Jul 5, 2019
Merged
Fixes issue where LUKS encrypted XFS root will not boot#803condor2 merged 2 commits intoAnarchyLinux:masterfrom
condor2 merged 2 commits intoAnarchyLinux:masterfrom
Conversation
Issue is fixed by adding "xfs" to the "MODULES" list in /etc/mkinitcpio.conf See the following link for XFS and LUKS: https://bbs.archlinux.org/viewtopic.php?pid=1748083#p1748083s://bbs.archlinux.org/viewtopic.php?pid=1748083#p1748083
Contributor
Author
|
UPDATE: On the second test, I had chosen to update the installer, which downloaded the non-changed sources from the git repo, thus invalidating the changed ISO which was created. The attached screenshot shows that the |
Changes all sed lines for MODULES= to change only the line where MODULES= is at the start of the line. Changes nvidia drm, f2fs, and nvme sed MODULES= line modification to behave like the recently modified xfs sed MODULES= line modification, such that it will append to whatever is already in the modules list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Issue is fixed by adding "xfs" to the "MODULES" list in
/etc/mkinitcpio.conf
See the following link for XFS and LUKS:
https://bbs.archlinux.org/viewtopic.php?pid=1748083#p1748083s://bbs.archlinux.org/viewtopic.php?pid=1748083#p1748083
NOTE:
I've changed the
sedline from:sed -i '/MODULES=/ s/.$/ xfs"/;s/" /"/' "$ARCH"/etc/mkinitcpio.confto:
sed -i '/MODULES=/ s/.$/ xfs )/;s/" /"/' "$ARCH"/etc/mkinitcpio.confThe effect of the first example is:
and the effect of the changed line is:
Which brings up the points:
A) Am I missing something?
B) If not, then should all
sedlines involving theMODULES=line inmkinitcpio.confbe changed to add a closing parentheses, rather than a space and a double quote?