-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
systemd-boot not installing on unstable #156121
Comments
Oooof, this fixes:
|
Observation, it says: but then runs |
Is this an upstream systemd-boot change that causes install to not |
I can confirm as this has happened on my NixOS 21.11 install as well. I changed my hardware configuration to use another disk for boot and ultimately reverted the changes. I couldn't reinstall/update the system due to it throwing the mentioned error
Creating the directories like @colemickens suggested actually solved it, but still a strange issue.
|
first thought is to do nixpkgs/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py Lines 256 to 260 in ee4d3df
|
work around isn't working with nixos-install (or this is another similar issue). We really need better test coverage, if stuff like this breaks the installer, it should be easy to catch.
|
This is still an issue. You can easily reproduce it by clearing /boot and re-activating your current generation. Why aren't our installer tests running into this aswell when we do on our real systems? |
Ah, this issue is about |
Was this fixed by #172849? I can't reproduce this issue,
That's a different issue which is now fixed, see #73404 (comment). |
@ncfavier my issue was that you need |
You can actually do |
I'm a bit unsure, this currently breaks our deployment flow. We generate a configuration nix that contains this:
Then we execute a |
Hi, how is this completed? Was it fixed by some commit on master? |
Sorry, I feel like there were a random smattering of issues that covered it. I haven't seen this in a while, I figured it was fixed. Are folks still seeing it on new installs? |
Describe the bug
I'm not sure if I'm doing something silly, but my
/boot
was full, so I figured I'd empty it out, setboot.loader.systemd-boot.configurationLimit
and then re-deploy.However, this didn't go well (I hope the machine doesn't restart!):
So, let's remote in and try to activate the generation with
NIXOS_INSTALL_BOOTLOADER
set:Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
systemd-boot
to be (re-)installed correctly.The text was updated successfully, but these errors were encountered: