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

NixOS Installer unable to find disk device #196335

Closed
kuwii opened this issue Oct 17, 2022 · 4 comments
Closed

NixOS Installer unable to find disk device #196335

kuwii opened this issue Oct 17, 2022 · 4 comments
Labels
0.kind: bug Something is broken 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS

Comments

@kuwii
Copy link
Contributor

kuwii commented Oct 17, 2022

Describe the bug

When booting using live CD, the NixOS Installer cannot find a disk device, showing error There are no partitions to install on. But the machine does have at lease one disk.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Download NixOS live CD.
  2. Boot using the live CD.
  3. Open NixOS Installer and the issue will occur.

Can repro this on Hyper-V, KVM and my physical PC.

Expected behavior

Should normally install NixOS.

Screenshots

Error:

image

But as you can see the disk does exist:

image

Additional context

Live CD: nixos-plasma5-22.11pre417962.83b198a2083-x86_64-linux.iso

Notify maintainers

Ping recent maintainers of calamares-nixos:

@r-ryantm @ryantm @vlinkz

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.74, NixOS, 22.11 (Raccoon), 22.11pre417962.83b198a2083`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.0`
 - channels(root): `"nixos-22.11pre417962.83b198a2083"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@kuwii kuwii added the 0.kind: bug Something is broken label Oct 17, 2022
@vlinkz
Copy link
Member

vlinkz commented Oct 17, 2022

Yeah, I've noticed the issue. It's a combination of multiple things. The partition not being detected is an issue with kpmcore not working in unstable after some newer commits. Would be fixed by #191822.

Some issues with locales being inputted incorrectly would be fixed by #193041.

@veprbl veprbl added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Oct 24, 2022
@alciono
Copy link

alciono commented Nov 10, 2022

Having the same issue with nixos-plasma5-22.11pre424902.09326850228-x86_64-linux.iso 2022-11-10

@mweinelt
Copy link
Member

Both PRs were merged and have reached nixos-unstable.

Can you retry with yesterdays ISO? https://hydra.nixos.org/build/198722895

@kuwii
Copy link
Contributor Author

kuwii commented Nov 15, 2022

Have tried the ISO. Issue is resolved now. Thanks for the fix.

@kuwii kuwii closed this as completed Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Projects
None yet
Development

No branches or pull requests

5 participants