You are not logged in.

#1 2025-11-25 22:49:46

Friauche
Member
Registered: 2025-11-25
Posts: 20

Error on boot

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

#2 2025-11-25 23:10:58

system72
Member
Registered: 2025-11-22
Posts: 311
Website

Re: Error on boot

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

#3 2025-11-25 23:44:23

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

I add encrypt before filesystem in HOOK

Offline

#4 2025-11-25 23:46:18

system72
Member
Registered: 2025-11-22
Posts: 311
Website

Re: Error on boot

Friauche wrote:

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

#5 2025-11-25 23:49:53

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

How can I fix that?

Offline

#6 2025-11-25 23:51:31

system72
Member
Registered: 2025-11-22
Posts: 311
Website

Re: Error on boot

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

#7 2025-11-25 23:54:02

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

I'm doing it right now and I'll send a screenshot.

Thanks

Offline

#8 2025-11-25 23:54:49

system72
Member
Registered: 2025-11-22
Posts: 311
Website

Re: Error on boot

make sure u regenerate the initramfs after swapping out that hook, and that your boot partition is mounted where it should be

mkinitcpio -P

Last edited by system72 (2025-11-25 23:55:15)

Offline

#9 2025-11-26 00:04:08

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

fa8926_25IMG-20251126-033000.jpg

b4ae26_25IMG-20251126-033107.jpg

It's ok?

Offline

#10 2025-11-26 00:04:49

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

Oh
Change to sd-encrypt?

Offline

#11 2025-11-26 00:05:25

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

Ok I change it

Offline

#12 2025-11-26 00:05:38

system72
Member
Registered: 2025-11-22
Posts: 311
Website

Re: Error on boot

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-progs

or if not screenshots, upload the file:

curl -F file=@/etc/mkinitcpio.conf 0x0.st

and send the outputted link

Last edited by system72 (2025-11-26 00:07:24)

Offline

#13 2025-11-26 00:09:54

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

fd2926_25IMG-20251126-033828.jpg

233c26_25IMG-20251126-033709.jpg

Offline

#14 2025-11-26 00:11:40

system72
Member
Registered: 2025-11-22
Posts: 311
Website

Re: Error on boot

so you already added it to the uncommented no # line? did you regenerate the initramfs after that?

Offline

#15 2025-11-26 00:12:54

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

8e1726_25IMG-20251126-034200.jpg

When I use

pacman -S btrfs-progs

Offline

#16 2025-11-26 00:14:07

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

system72 wrote:

so you already added it to the uncommented no # line? did you regenerate the initramfs after that?


Yeah sure

Offline

#17 2025-11-26 00:15:32

system72
Member
Registered: 2025-11-22
Posts: 311
Website

Re: Error on boot

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

#18 2025-11-26 00:16:55

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

I use zstd
Should I delete the #?
198c26_25IMG-20251126-034605.jpg

Offline

#19 2025-11-26 00:17:26

system72
Member
Registered: 2025-11-22
Posts: 311
Website

Re: Error on boot

no need since its the default, unless you want to switch to a different compression algorithm

Offline

#20 2025-11-26 00:22:47

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

c58b26_25IMG-20251126-035119.jpg


Could this be related to the vconsole.conf file?

Offline

#21 2025-11-26 00:23:20

system72
Member
Registered: 2025-11-22
Posts: 311
Website

Re: Error on boot

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, 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

#22 2025-11-26 00:24:24

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

system72 wrote:
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

#23 2025-11-26 00:28:06

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

When I created an empty file, it didn’t give an error :\

Offline

#24 2025-11-26 00:28:45

system72
Member
Registered: 2025-11-22
Posts: 311
Website

Re: Error on boot

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

#25 2025-11-26 00:39:10

Friauche
Member
Registered: 2025-11-25
Posts: 20

Re: Error on boot

system72 wrote:

see if u can boot on a side note i hope ur boot partition is actually mounted

dc7526_25IMG-20251126-040837.jpg

Is it ok?

Offline

Board footer

Powered by FluxBB