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

image-installer-nixos ISO images fail to boot due to missing /dev/root (sysroot-iso.mount fails) #258

Open
nvmd opened this issue Jul 21, 2024 · 2 comments

Comments

@nvmd
Copy link

nvmd commented Jul 21, 2024

Cross-posting NixOS/nixpkgs#327187 issue here.

Even though it's an upstream issue, boot.initrd.systemd.enable defaults to false upstream, but here it's unavoidably boot.initrd.systemd.enable = true effectively breaking ISO install images here altogether, therefore I think it makes sense to track this issue here as well.

Tested version: accee00
Both image-installer-nixos-stable and image-installer-nixos-unstable are affected.

Attempting to set boot.initrd.systemd.enable = false; causes the following error on build attempt

Failed assertions:
       - `system.etc.overlay.enable` requires `boot.initrd.systemd.enable`

Dependency on system.etc.overlay.enable seems to be coming from profiles/perlless.nix

"${modulesPath}/profiles/perlless.nix"

@Mic92
Copy link
Member

Mic92 commented Aug 2, 2024

Just seeing the issue. I did disable this in our installer: https://github.com/nix-community/nixos-images/pull/257/files and wait for this to be fixed in upstream.

@Mic92 Mic92 closed this as completed Aug 2, 2024
@Mic92 Mic92 reopened this Aug 2, 2024
@Mic92
Copy link
Member

Mic92 commented Aug 2, 2024

Looks like we are still affected by this somewhat.

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