You are not logged in.
How can I fix that:)
I used encrypt for my drive and install manually
But I remembered, when I run mkinitcpio -P, it shows the warning
“The image may not be complete” / “possibly the initramfs was not successfully generated”.
Image
Offline
include the encryption modules in ur initramfs (systemd modules if using systemd based initramfs, easiest way to tell is that you have the systemd hook), the error message is probably due to btrfs-progs or smthin
https://wiki.archlinux.org/title/Dm-cry … mkinitcpio
Last edited by system72 (2025-11-25 23:12:44)
Offline
I add encrypt before filesystem in HOOK
Offline
I add encrypt before filesystem in HOOK
sd-encrypt for systemd initramfs, since the busy box recovery shell is locked, it looks like u hav a systemd initramfs
Last edited by system72 (2025-11-25 23:47:11)
Offline
How can I fix that?
Offline
by changing encrypt to sd-encrypt, if ur talking about the recovery shell its pretty much a no-op for systemd based initramfs the bsae hook provides it
there is a kernel parameter on the mkniitcpio page to make it work tho
https://wiki.archlinux.org/title/Mkinit … _is_locked
Last edited by system72 (2025-11-25 23:52:44)
Offline
I'm doing it right now and I'll send a screenshot.
Thanks
Offline
make sure u regenerate the initramfs after swapping out that hook, and that your boot partition is mounted where it should be
mkinitcpio -PLast edited by system72 (2025-11-25 23:55:15)
Offline
Oh
Change to sd-encrypt?
Offline
Ok I change it
Offline
send full screenshots pls, and since your using btrfs run this to fix the error where it says image may not be complete:
pacman -S btrfs-progsor if not screenshots, upload the file:
curl -F file=@/etc/mkinitcpio.conf 0x0.stand send the outputted link
Last edited by system72 (2025-11-26 00:07:24)
Offline
so you already added it to the uncommented no # line? did you regenerate the initramfs after that?
Offline
so you already added it to the uncommented no # line? did you regenerate the initramfs after that?
Yeah sure
Offline
you can just touch that file to fix the error then, can you boot now? or is it the same timed out error as before
Offline
no need since its the default, unless you want to switch to a different compression algorithm
Offline
you can just touch that file to fix the error then, can you boot now? or is it the same timed out error as before
as said here, the timed out issue is not due to that file tho, the image generation error is non critical -- not really important
Last edited by system72 (2025-11-26 00:24:01)
Offline
system72 wrote:you can just touch that file to fix the error then, can you boot now? or is it the same timed out error as before
as said here
I didn't understand what you meant, sorry.
Offline
When I created an empty file, it didn’t give an error :\
Offline
see if u can boot on a side note i hope ur boot partition is actually mounted
Last edited by system72 (2025-11-26 00:29:27)
Offline