-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sysroot on btrfs/zfs/lvm #62
Comments
should not be needed
|
Hi, same problem here (ZFS). Looking at my initramfs it seems that two files are missing, compared to https://git.archlinux.org/svntogit/packages.git/tree/trunk/install-sd-encrypt?h=packages/cryptsetup: add_systemd_unit "systemd-ask-password-console.service" My config hooks are: Thanks. |
please confirm if v33 resolves this |
v33 does not resolve this for me: (BTRFS) |
A. it seems you have some B. meanwhile, more details please:
|
Here's my system (BTRFS) Yeah I'm not sure what's up with (A). Here's my system fstab if it's relevant:
(note: This is from a boot with the sd-encrypt hook present. I can't get my system to boot without it right now. I can maybe get the logs from the failure boot without sd-encrypt if I can get into the shell via tinyssh later tonight.)
|
you have conflicting you have conflicting
|
Good advice thanks.
|
@lachesis Eric:
|
System information (ZFS):
|
please: try again with v34
|
v34 also did not work well without sd-encrypt hook.
|
|
v34 release is still pending. verify version by re-install: |
I installed from git master branch, extracted initramfs, and verified that initrd-cryptsetup.service has a dm-integrity line. |
ah, good |
regading
|
this is redundant, this dependency should be brought by |
Btrfs hook contents are as follows. No binary.
See https://wiki.archlinux.org/index.php/Btrfs#Corruption_recovery for the meaning of the BINARIES. |
No, does not exist. |
My /etc/crypttab.initramfs has the same content as /etc/crypttab. |
Doesn't exist for me either. |
@lachesis you can try to follow @peter-held pattern from #62 (comment)
|
@lachesis @peter-held @shelaf
|
Yes |
Hi, Looking through changelog while updating my system today, I have noticed I in fact use I have decided to findout why. 😎 Comparing both initcpios (with and without sd-encrypt) I can see Diff output:
I was able to workaround this in
With this change everything is working the same as with Hope this info can help resolve this issue. 🙂 |
@Anty0 hey, thank you!
|
It worked fine with plymouth by adding this line to initrd-plymouth.service file! Thank you! |
@lachesis @peter-held @shelaf @Anty0
|
thank you! it is now working for me without the |
Also, perhaps related. I hand-edited my grub.cfg file to remove the Here is my actual cmdline for this boot:
|
I'm sorry. I'm really looking forward to write it, but I didn't have time to do so yet. 🙁
Same here. |
Thanks, now it works. My hooks are: Even if systemd is not at the beginning, the keyboard works. |
@shelaf At the time when I was creating my system there was an issue. You had to input your password and unlock the |
Yep, it's working like a charm. No workarounds needed without |
https://github.com/random-archer/mkinitcpio-systemd-tool/wiki/Root-vs-Fstab To All: to clarify the "root= vs fstab" issue:
A. auto-magically, with
B. auto-magically, with
C. manually, with user-provided mount unit file with a name
A. that is what yourselves describe above about your various setups B. that is what this project recommends in src/fstab C. that is what is used by Case: Sysroot on Btrfs |
@lachesis @peter-held @shelaf @Anty0
|
Does this package replace the
sd-encrypt
hook, or does it still need it?The suggested hooks list on the Arch Wiki suggests it replaces it, but without it, I was just getting stuck at some error like:
"Start Job running for /dev/disk/by-uuid/$ROOT_UUID"
where the UUID given was the UUID of the decrypted root partition (/dev/mapper/root when the system is running).
The text was updated successfully, but these errors were encountered: