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

Partition images generated by make_ext4fs have all files end up in lost+found #713

Open
RossComputerGuy opened this issue May 1, 2024 · 7 comments

Comments

@RossComputerGuy
Copy link

As the title says, stage 2 init isn't found which results in a crash.

Log: https://gist.github.com/RossComputerGuy/a9e4ee17d6879dd16f37967101fc2f15

@RossComputerGuy
Copy link
Author

Interestingly enough, the rootfs which is on the device and in the Nix store (via the full disk image) has all files in lost+found. It seems something went wrong during building.

@RossComputerGuy
Copy link
Author

outputs.generatedFilesystems.rootfs inside the Mobile NixOS config has all files in lost+found. Reproducible with ExpidusOS/genesis@8fb56c8 using nixosConfigurations.pine64-pinephone.

@RossComputerGuy
Copy link
Author

I tried building the image upstream and this isn't a problem upstream. Seems like something is up with Flakes which causes this or that I am on a different commit of nixos-unstable?

@RossComputerGuy
Copy link
Author

Built with the same nixos-unstable commit and issue still present.

@RossComputerGuy
Copy link
Author

Build log doesn't look good. https://termbin.com/q8d4

@RossComputerGuy
Copy link
Author

Updating kernel to 6.8.9-asahi fixed this

@RossComputerGuy
Copy link
Author

This issue just cropped back up.

@RossComputerGuy RossComputerGuy changed the title PinePhone does not boot due to stage 2 init not found Partition images generated by make_ext4fs have all files end up in lost+found May 31, 2024
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

1 participant