Skip to content

NixOS image with latest kernel & ZFS Support #58959

Closed

Description

@grahamc

Issue description

The minimal image uses the latest kernel for maximum hardware support. Unfortunately this causes periodic problems with having ZFS enable. In general, ZFS's releases don't guarantee support for the latest kernel release.

A currently relevant issue is openzfs/zfs#8545

I propose we disable support for ZFS in the latest-kernel minimal ISO.

cc @vcunat

Activity

  1. added this to the 19.03 milestone on Apr 4, 2019
  2. grahamc commented on Apr 4, 2019

    @grahamc
    MemberAuthor
  3. jirkadanek commented on Apr 5, 2019

    @jirkadanek
    Member

    Will there still be a (documented) path to install NixOS with ZFS /? Possibly install minimal system into what will be swap partition, and then do reinstall from this partition? Because ZFS / is what I am now using and want to continue to use.

  4. vcunat commented on Apr 5, 2019

    @vcunat
    Member

    The default ISO will keep ZFS support – I don't think anyone here means to change that. AFAIK it's just about the non-default latest-kernel ISO (and maybe only for aarch64).

  5. grahamc commented on Apr 5, 2019

    @grahamc
    MemberAuthor

    (wrong issue)

  6. NeQuissimus commented on Apr 18, 2019

    @NeQuissimus
    Member

    IMO, the ISO should be using the latest LTS kernel, not the latest kernel.

  7. samueldr commented on Apr 18, 2019

    @samueldr
    Member

    I think that this is about the _new_kernel variants which are built on hydra, but not published on the nixos.org website. They are often useful to kickstart an installation with really-new hardware (or yet unmainlined hardware for aarch64) at the tail end of a release. For both 18.03 and 18.09 I've personally recommended that variant of the iso for users which were unable to use the regular LTS iso.

    And yes, I do agree, the regular ISOs should be using the latest LTS kernel, as they are currently.

  8. self-assigned this
    on Apr 18, 2019
  9. modified the milestones: 19.03, 20.03 on Aug 28, 2019
  10. modified the milestones: 20.03, 20.09 on Feb 10, 2020
  11. stale commented on Aug 8, 2020

    @stale

    Hello, I'm a bot and I thank you in the name of the community for opening this issue.

    To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

    The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

    If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

    Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

  12. added
    2.status: stale
    on Aug 8, 2020
  13. removed this from the 20.09 milestone on Dec 20, 2020
  14. 1 remaining item

  15. removed
    2.status: stale
    on Dec 20, 2020
  16. siraben commented on Jan 31, 2021

    @siraben
    Member

    Any updates on this?

  17. stale commented on Jul 30, 2021

    @stale

    I marked this as stale due to inactivity. → More info

  18. added
    2.status: stale
    on Jul 30, 2021
  19. domenkozar commented on Aug 2, 2021

    @domenkozar
    Member

    I've hit this on latest 21.05:

    error: Package ‘zfs-kernel-2.0.5-5.13.6’ in /home/ielectric/dev/nixpkgs/pkgs/os-specific/linux/zfs/default.nix:175 is marked as broken, refusing to evaluate.
    

    Workaround is to build a custom image with:

    boot.supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
    
  20. removed
    2.status: stale
    on Aug 2, 2021
  21. shanoaice commented on Jan 28, 2022

    @shanoaice

    I do agree that there is a need to keep a working ISO image with latest kernel, as some new hardware (such as Intel AX210 which happens to be the WiFi card of my laptop) isn't supported on the LTS kernel.

  22. added
    2.status: stale
    on Jul 31, 2022
  23. modified the milestones: 21.05, 23.05 on Dec 31, 2022
  24. removed
    2.status: stale
    on Dec 31, 2022
  25. modified the milestones: 23.05, 23.11 on May 31, 2023
  26. samueldr commented on Apr 21, 2024

    @samueldr
    Member

    This issue can be closed. The issue is resolved since latest isn't enabling ZFS anymore for this purpose exactly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions