NixOS / calamares-nixos-extensions

NixOS calamares [maintainer=@vlinkz]
25 stars 20 forks source link

Graphical installer fails LUKS encrypted installation #35

Open onny opened 1 month ago

onny commented 1 month ago

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

2. image

3. 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 :+1: reaction to issues you find important.

onny commented 4 weeks ago

@davidak