-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Cannot create efi boot entry - No space left on device #27821
Comments
what about |
@domenkozar It lists the files normally, and there's plenty of space. Maybe it's my motherboard, I found some information that talked about if the nvram is messed up it can cause this issue. I tried seeing if removing the variables with efibootmgr would fix the issue but after I removed all of them it's still said there was no space. I reflashed my Motherboard BIOS which should clear the NVRAM and I'm going to see if attempting an install with something else will work, or if it will cause the same problem. |
@domenkozar So, after attempting an install on Arch, I was able to create entries which makes me think perhaps this is a NixOS problem. |
Although the error suggests it's out of space on |
i think its the efi variable filesystem thats full, not the /boot filesystem |
I was referring to the RAM-based Nix store used by the Live CD being full, not If you suspect the EFI variable storage is full, you can try When you installed Arch, did you use GRUB2 as the EFI boot manager or systemd-boot? The later is what NixOS uses. |
@emmanuelrosa I used systemd-boot, same as on NixOS. |
@johnramsden was there any progress with the setting that emmanuelrosa suggested? |
@tokudan No, i'll give it a try when I get the chance. |
FYI, I've been running into this problem for some time, and I also think this is a firmware problem. The workaround for me was to run this command whenever I receive the "no space left on device" error:
If you then try again |
BTW, I found the above workaround in the following Arch wiki page: https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface Specifically, it says:
Although for me, it isn't necessary to reboot. |
Interesting @wizeman, I'll give that a try when I end up doing an install on the computer I was having a problem on. For now I guess I'll close this issue, and update when I end up having time to install NixOS again |
[root@nixos:~]# rm /sys/firmware/efi/efivars/dump-*
rm: cannot remove '/sys/firmware/efi/efivars/dump-*': No such file or directory my steps #34508 (comment) |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/20-03-uefi-installation-problem-vs-instructions/7783/1 |
wizeman's command fixed this for me. |
Issue description
This is the second time this is occurring to me when trying to install. I keep getting an error message saying there's no room on my efi partition, but I i'm giving it a new one gigabyte fat32 partition which is larger than recommended. I thought it might be something to do with my Nvram, but it is only occurred so far when using the NixOS installer.
Here's the output I get:
Steps to reproduce
Mount all my partitions, and install. The system is a UEFI system of course.
Create a 1GiB esp, mount to /boot
Format
Install.
Technical details
Relevant configuration:
The text was updated successfully, but these errors were encountered: