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

stage 2 init script (...) not found #95105

Closed
shadowrylander opened this issue Aug 10, 2020 · 1 comment
Closed

stage 2 init script (...) not found #95105

shadowrylander opened this issue Aug 10, 2020 · 1 comment

Comments

@shadowrylander
Copy link

shadowrylander commented Aug 10, 2020

Describe the bug
Unable to boot encrypted ZFS root using jakeday / linux-surface kernel, via module by anthe.

To Reproduce
Steps to reproduce the behavior:

  1. Import surface.nix
  2. Add kernel patch export_kernel_fpu_functions_4_14 or export_kernel_fpu_functions_5_3
  3. Add config.boot.extraModulePackages = with config.boot.kernelPackages; [ zfs ];

Expected behavior
Expected encrypted ZFS root to boot as normal.

Additional context

Last Command: mounting [hostname]/root on /...

Fails With: stage 2 init script (...) not found

Last Error: An error occurred in stage 1 of the boot process, which must mount the root filesystem on '/mnt-root' and then start stage 2

Note that the stage 2 script does in fact exist in the nix store.

In addition, encrypted ZFS roots work on all non-Surface systems.

@shadowrylander
Copy link
Author

When something can't be found, check your hardware-configuration.nix; mine was missing the entry for the dataset with the nix store. Closing now.

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

No branches or pull requests

1 participant