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

Graphical installer fails LUKS encrypted installation #35

Open
onny opened this issue May 26, 2024 · 3 comments
Open

Graphical installer fails LUKS encrypted installation #35

onny opened this issue May 26, 2024 · 3 comments

Comments

@onny
Copy link

onny commented May 26, 2024

Describe the bug

Graphical installer fails LUKS encrypted installation in Qemu environemt (BIOS, 6 GB memory, 20GB storage)

Tried 23.11 and 24.05-beta release with Gnome (installed without UI)

Steps To Reproduce

Steps to reproduce the behavior:
1.
image

image

image

  1. Start installation, it will fail probably at the final stage
    image

Expected behavior

Installation should succeed on LUKS encrypted partition

Additional context

2024-05-24 - 18:37:26 [6]: [PYTHON JOB]: "nixos-install: /nix/store/bylm45pik44qjqq436xc7nf8610fvn0d-lndir-1.0.5/bin/lndir: line 1: syntax error near unexpected token `)'" 
2024-05-24 - 18:37:26 [6]: virtual void Calamares::JobThread::run()
2024-05-24 - 18:37:26 [6]:     Skipping non-emergency job "Set password for user onny" 
2024-05-24 - 18:37:26 [6]:     ..  Skipping non-emergency job "Set password for user root" 
2024-05-24 - 18:37:26 [6]:     ..  Skipping non-emergency job "Unmounting file systems…" 
2024-05-24 - 18:37:26 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
2024-05-24 - 18:37:26 [1]:     ERROR: Installation failed: "nixos-install failed" 
2024-05-24 - 18:37:26 [6]:     .. - message: "nixos-install failed" 
2024-05-24 - 18:37:26 [6]:     .. - details: Installation failed to complete
2024-05-24 - 18:37:29 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
2024-05-24 - 18:37:29 [6]:     Calamares will quit when the dialog closes. 
2024-05-24 - 18:37:29 [6]: DEBUG (Qt): QML Component (default slideshow) deactivated
2024-05-24 - 18:37:29 [6]: void Config::doNotify(bool, bool)
2024-05-24 - 18:37:29 [6]:     Sending notification of completion: failed 

Error log https://termbin.com/gfp8

Error log from an other installation attempt

copying path '/nix/store/9rsjf81qyls5d76bcv84awnl3lr7cwh9-libnice-0.1.22' to 'local'...
firmware for /nix/store/3fqx5q8j95avdqhb8cbic7iqwdfx3hgn-linux-6.6.31-modules/lib/modules/6.6.31/kernel/drivers/usb/host/xhci-pci.ko.xz: renesas_usb_fw.mem
lib/firmware -> /nix/store/pbg9m9qb02545hrk1m29mhgcsl3ixc9h-linux-6.6.31-modules-shrunk/lib/firmware
WARNING: missing firmware renesas_usb_fw.mem for module /nix/store/3fqx5q8j95avdqhb8cbic7iqwdfx3hgn-linux-6.6.31-modules/lib/modules/6.6.31/kernel/drivers/usb/host/xhci-pci.ko.xz
Traceback (most recent call last):
  File "/nix/store/pllbh8x6i4zgkkxpz7n0zdk9f9yz1p6m-nixos-render-docs-0.0/bin/.nixos-render-docs-wrapped", line 6, in <module>
    from nixos_render_docs import main
  File "/nix/store/pllbh8x6i4zgkkxpz7n0zdk9f9yz1p6m-nixos-render-docs-0.0/lib/python3.11/site-packages/nixos_render_docs/__init__.py", line 8, in <module>
    from . import manual
  File "/nix/store/pllbh8x6i4zgkkxpz7n0zdk9f9yz1p6m-nixos-render-docs-0.0/lib/python3.11/site-packages/nixos_render_docs/manual.py", line 13, in <module>
    from markdown_it.token import Token
  File "/nix/store/iq08ij2qrjq187y3bkkzvrp6i84kx4r9-python3.11-markdown-it-py-3.0.0/lib/python3.11/site-packages/markdown_it/__init__.py", line 5, in <module>
    from .main import MarkdownIt
  File "/nix/store/iq08ij2qrjq187y3bkkzvrp6i84kx4r9-python3.11-markdown-it-py-3.0.0/lib/python3.11/site-packages/markdown_it/main.py", line 1, in <module>
    from __future__ import annotations
SyntaxError: source code string cannot contain null bytes
error: builder for '/nix/store/9dz7pfvk5bjyqjbalsckyr7dd6nbvynf-nixos-manual-html.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/lsa529vlalnff1lk3aargvg5var19ljh-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/m5gb1cw8p85fiq5y26jjpzwlxhg6krwl-nixos-system-nixos-24.05beta5.1a7abfa62e8a.drv' failed to build

Notify maintainers


Add a 👍 reaction to issues you find important.

@onny
Copy link
Author

onny commented Jun 4, 2024

@davidak

@Readf0x
Copy link

Readf0x commented Aug 14, 2024

Same here, I chose manual partitioning and it fails upon trying to create an encrypted partition.

https://termbin.com/hy6y

@ElvishJerricco
Copy link
Contributor

The original issue appears to be some kind of problem with building the NixOS manual. Which is pretty surprising, but has nothing to do with encryption.

@Readf0x Your log indicates that cryptsetup is failing to make the encrypted partition somehow, but the calamares logs aren't showing whatever error message it gave... Regardless, it's a separate problem from @onny's.

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

3 participants