Giter VIP home page Giter VIP logo

Comments (6)

Mic92 avatar Mic92 commented on June 16, 2024 1

You can add boot.debug1devices to your kernel cmdline. Than you will be dropped into a shell from which you can run lsblk to see what devices it can find. Also modprobe for the drivers that might be missing. You can also run lsmod to compare device drivers you can see in the installer vs in the booted system.

from disko.

Mic92 avatar Mic92 commented on June 16, 2024

Have you imported the hardware-configuration generated nixos-generate-config --no-filesystems --root /mnt? You are likely missing the nvme kernel driver to load the block device. The configuration generated by this command should have those drivers. Something like that might also work: https://github.com/Mic92/dotfiles/blob/6575c3c482e38d8caba20168edc0ecb93ee26dcb/nixos/eve/hardware-configuration.nix#L13

from disko.

Mic92 avatar Mic92 commented on June 16, 2024

Cannot find the import here: https://github.com/djacu/nixos-config/blob/a0153b5e69e38e13be46207becc7b947e8d8774d/hosts/adalon/configuration.nix

from disko.

phaer avatar phaer commented on June 16, 2024

I am bit confused by the error message:

cannot import 'rpool': more than one matching pool

Might be misleading, as @Mic92s suggestion seens plausible to me as well. But if the error persists with the nvme module, it might be worth double checking whether there is another zpool (i.e. is there a second disk? what does zpool import show on the machine?

from disko.

djacu avatar djacu commented on June 16, 2024

@Mic92 Yes I import the hardware-configuration.nix file per steps 4-7 I mentioned above. And I've tried this multiple times so it isn't a one off fluke. For reference, the hardware-configuration.nix file looks similar to this but without all the fileSystem options.
https://github.com/djacu/dotfiles-framework/blob/main/system/hardware-configuration-zfs.nix

@phaer Pretty sure I checked once and there was only a single zpool but I'll check again.

from disko.

djacu avatar djacu commented on June 16, 2024

Thanks all for the help. I resolved the issue by stripping the config down to the bare minimum and building it back up from there. It now works and you can see the working config in #456 where I found an interesting issue related to adding a swap partition.

from disko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.