Skip to content

boot entries broken, ignoring generation 'None' #159623

@orangecms

Description

@orangecms

Previously filed as NixOS/nix#6076

Describe the bug

When running nix-rebuild, it prints a bunch of ignoring generation 'None'.

No new boot entries are being created.

Steps To Reproduce

run sudo nixos-rebuild switch --upgrade

ignoring generation 'None' in the list of boot entries because of the following error:
65
ignoring generation 'None' in the list of boot entries because of the following error:
66
ignoring generation 'None' in the list of boot entries because of the following error:
67

and so on...

Expected behavior

Describe the bug

A clear and concise description of what the bug is.

Steps To Reproduce

Steps to reproduce the behavior:

  1. ...
  2. ...
  3. ...

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

it should create new boot entries

nix-env --version output

2.6.0

Additional context

in /boot/loader/entries/, there is a bunch of empty files like nixos-generation-65.conf.tmp.

I figure out that /boot/ is full by trying to write the entries manually. nixos-upgrade should figure that out and give feedback with advice on cleaning up kernels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions