Skip to content
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

Freezes during boot when using initramfs #123

Open
Siroj42 opened this issue May 11, 2022 · 1 comment
Open

Freezes during boot when using initramfs #123

Siroj42 opened this issue May 11, 2022 · 1 comment

Comments

@Siroj42
Copy link

Siroj42 commented May 11, 2022

I've been trying to get full disk encryption working, but there is one issue: To unlock the disk during boot, the kernel needs to start with initramfs, which it currently does not do by default. However, when building an initramfs image with dracut and then rebooting, the Pinephone's screen stays black. When booting the same image on a raspberry pi 400 (to see the bootloader output), it seems to hang when starting the kernel. Does anyone have an idea what could be done to make the initramfs work?

@Siroj42 Siroj42 changed the title Initramfs Freezes during boot when using initramfs May 11, 2022
@alh61
Copy link

alh61 commented Aug 12, 2022

Sorry for the late answer. Our images are made with the megi-kernel, which is small and fast, and doesn't need initramfs. As such, the boot process is not set up to load any initramfs - thats why it fails for you. Control of loading the kernel, dtb and initramfs is done in the boot.scr file (which is a compiled version of the boot.cmd file).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants