Hi everyone! I’m new to the NixOS Discourse community and would greatly appreciate your patience and guidance. Thank you in advance for any help!
Issue
During nixos-rebuild switch
on nixos-unstable, upgrading systemd 257.2 to 257.3 , systemd-boot
update fails with Resource temporarily unavailable
when copying EFI files to the /boot
partition (vFAT-formatted).
$ ssh -o ControlMaster=auto -o ControlPath=/tmp/nixos-rebuild.2CIU0o/ssh-%n -o ControlPersist=60 -t azurcrystal@nixos sudo systemd-run -E LOCALE_ARCHIVE -E NIXOS_INSTALL_BOOTLOADER= --collect --no-ask-password --pipe --quiet --service-type=exec --unit=nixos-rebuild-switch-to-configuration --wait /nix/store/0ijv5mrhgd0xpm6fl55cxcxgidh9xa4m-nixos-system-NixOS-25.05.20250318.b6eaf97/bin/switch-to-configuration boot
updating systemd-boot from 257.2 to 257.3
Failed to copy data from "/nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/systemd/.#systemd-bootx64.efi4716ff31e75287f2": Resource temporarily unavailable
Failed to copy data from "/nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/BOOT/.#BOOTX64.EFI9a7e5d75ea1862f6": Resource temporarily unavailable
Traceback (most recent call last):
File "/nix/store/654xnpff3rl6brn73nnw7j06r1lvfi9l-systemd-boot/bin/systemd-boot", line 431, in <module>
main()
File "/nix/store/654xnpff3rl6brn73nnw7j06r1lvfi9l-systemd-boot/bin/systemd-boot", line 414, in main
install_bootloader(args)
File "/nix/store/654xnpff3rl6brn73nnw7j06r1lvfi9l-systemd-boot/bin/systemd-boot", line 348, in install_bootloader
run(
File "/nix/store/654xnpff3rl6brn73nnw7j06r1lvfi9l-systemd-boot/bin/systemd-boot", line 58, in run
return subprocess.run(cmd, check=True, text=True, stdout=stdout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/wz0j2zi02rvnjiz37nn28h3gfdq61svz-python3-3.12.9/lib/python3.12/subprocess.py", line 573, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/bin/bootctl', '--esp-path=/boot', 'update']' returned non-zero exit status 1.
Failed to install bootloader
Shared connection to nixos closed.
warning: error(s) occurred while switching to the new configura
Manual attempts (via bootctl update
) reproduce the same error.
[root@NixOS:~]# /nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/bin/bootctl --esp-path=/boot update
Failed to copy data from "/nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/systemd/.#systemd-bootx64.efi70651a65779fe95e": Resource temporarily unavailable
Failed to copy data from "/nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/BOOT/.#BOOTX64.EFI68876412343aef63": Resource temporarily unavailable
And so do nixos-rebuild switch --install-bootloader
even with the bootloader I locked last month.
nixos-rebuild switch --install-bootloader with systemd 257.2 (version by now)
$ ssh -o ControlMaster=auto -o ControlPath=/tmp/nixos-rebuild.Jjvcge/ssh-%n -o ControlPersist=60 -t azurcrystal@nixos sudo systemd-run -E LOCALE_ARCHIVE -E NIXOS_INSTALL_BOOTLOADER=1 --collect --no-ask-password --pipe --quiet --service-type=exec --unit=nixos-rebuild-switch-to-configuration --wait /nix/store/5538pga92q679v6j0zf3wpad9qhhajdr-nixos-system-NixOS-25.05.20250307.36fd87b/bin/switch-to-configuration switch
Failed to copy data from "/nix/store/83a0wfzmb0v5bzr5bv0zvx14g733x3dv-systemd-257.2/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/systemd/.#systemd-bootx64.efid56ff724770b3466": Resource temporarily unavailable
Failed to copy data from "/nix/store/83a0wfzmb0v5bzr5bv0zvx14g733x3dv-systemd-257.2/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/BOOT/.#BOOTX64.EFI2dc066fa25b339b2": Resource temporarily unavailable
Traceback (most recent call last):
File "/nix/store/j1d03dl4zjf038zjzyrk7r5r6ch5ik1s-systemd-boot/bin/systemd-boot", line 431, in <module>
main()
File "/nix/store/j1d03dl4zjf038zjzyrk7r5r6ch5ik1s-systemd-boot/bin/systemd-boot", line 414, in main
install_bootloader(args)
File "/nix/store/j1d03dl4zjf038zjzyrk7r5r6ch5ik1s-systemd-boot/bin/systemd-boot", line 307, in install_bootloader
run(
File "/nix/store/j1d03dl4zjf038zjzyrk7r5r6ch5ik1s-systemd-boot/bin/systemd-boot", line 58, in run
return subprocess.run(cmd, check=True, text=True, stdout=stdout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/26yi95240650jxp5dj78xzch70i1kzlz-python3-3.12.9/lib/python3.12/subprocess.py", line 573, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/nix/store/83a0wfzmb0v5bzr5bv0zvx14g733x3dv-systemd-257.2/bin/bootctl', '--esp-path=/boot', '--graceful', 'install']' returned non-zero exit status 1.
Failed to install bootloader
Shared connection to nixos closed.
warning: error(s) occurred while switching to the new configuration
Details
I suffered this a month ago 2025-02-10T00:00:00Z when I first try installing nixos via nixos-unstable iso, while I’m using disko
to declare my disk paratitions.
part of related disko-config.nix
# disko-config.nix
{
disko.devices = {
disk = {
main = {
device = "/dev/disk/by-id/nvme-CT1000P3PSSD8_241247EE3C3D";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
zfs = {
size = "100%";
content = {
type = "zfs";
pool = "rpool";
};
};
};
};
};
};
# zpool configuration
...
}
part of related configuration.nix
# configuration.nix
...
boot.loader = {
systemd-boot = {
enable = true;
};
efi.canTouchEfiVariables = true;
};
boot.initrd.systemd.enable = true;
boot.initrd.network.enable = true;
system.stateVersion = "24.11";
...
- At that time I got the same error like now (systemd 257.2).
- I tried to format mannually without
disko
, but bootloader installation also failed. - I tried to install nixos-24.11 with
disko
instead, and it works. - I did upgrade flake inputs to unstable and
nixos-rebuild switch
to switch system from24.11
tounstable
, and it succeed without error. - However, this occured while I upgrading systemd this month, with a force-install systemd-boot.
boot.loader.systemd-boot.graceful = true
cannot solve this.
More details below here.
mount & df & fsck
[root@NixOS:~]# mount | grep /boot
/dev/nvme0n1p1 on /boot type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
[root@NixOS:~]# df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p1 1022M 476M 547M 47% /boot
[root@NixOS:~]# fsck.vfat -a /dev/nvme0n1p1
fsck.fat 4.2 (2021-01-31)
There are differences between boot sector and its backup.
This is mostly harmless. Differences: (offset:original/backup)
65:01/00
Not automatically fixing this.
Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
*** Filesystem was changed ***
Writing changes.
/dev/nvme0n1p1: 178 files, 121627/261600 clusters
There’s strace for bootctl update.
strace details
[root@NixOS:~]# strace -f -e trace=file /nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/bin/bootctl --esp-path=/boot update
...
...
openat(AT_FDCWD, "/nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/lib/kernel/install.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 3
openat(3, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(3, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(3, "/", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
openat(AT_FDCWD, "/", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
openat(4, "etc", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 6
openat(6, "kernel", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = -1 ENOENT (No such file or directory)
openat(3, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(3, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(3, "/", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
openat(AT_FDCWD, "/", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
openat(4, "usr", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 6
openat(6, "lib", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/firmware/efi/fw_platform_size", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 3
openat(3, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(3, "/", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
openat(AT_FDCWD, "/", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
openat(4, "nix", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 6
openat(6, "store", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 4
openat(4, "57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 6
openat(6, "lib", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 4
openat(4, "systemd", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 6
openat(6, "boot", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 4
openat(4, "efi", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 6
openat(6, ".", O_RDONLY|O_NONBLOCK|O_NOFOLLOW|O_CLOEXEC|O_DIRECTORY) = 3
faccessat2(3, "systemd-bootx64.efi.signed", F_OK, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
openat(4, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
statx(5, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(4, "/", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
openat(AT_FDCWD, "/", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 6
openat(5, "nix", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 7
openat(7, "store", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 5
openat(5, "57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 7
openat(7, "lib", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 5
openat(5, "systemd", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 7
openat(7, "boot", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 5
openat(5, "efi", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 7
openat(7, "systemd-bootx64.efi", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 5
openat(AT_FDCWD, "/boot", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
openat(4, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(5, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(AT_FDCWD, "/boot", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
openat(4, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(5, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(4, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(5, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(4, ".", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
openat(4, ".", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 6
openat(5, "EFI", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 7
openat(7, "systemd", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 5
openat(5, "systemd-bootx64.efi", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 7
openat(AT_FDCWD, "/nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/lib/systemd/boot/efi/systemd-bootx64.efi", O_RDONLY|O_NOCTTY|O_CLOEXEC) = 4
openat(AT_FDCWD, "/boot/EFI/systemd/systemd-bootx64.efi", O_RDONLY|O_NOCTTY|O_CLOEXEC) = 5
openat(AT_FDCWD, "/boot/EFI/systemd/.#systemd-bootx64.efi354b2388d162cb72", O_WRONLY|O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC, 0644) = 5
newfstatat(5, "", {st_mode=S_IFREG|0755, st_size=0, ...}, AT_SYMLINK_NOFOLLOW|AT_EMPTY_PATH) = 0
unlink("/boot/EFI/systemd/.#systemd-bootx64.efi354b2388d162cb72") = 0
Failed to copy data from "/nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/systemd/.#systemd-bootx64.efi354b2388d162cb72": Resource temporarily unavailable
openat(AT_FDCWD, "/boot", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
openat(4, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(5, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(AT_FDCWD, "/boot", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4
openat(4, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(5, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(4, "..", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(5, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE|STATX_INO|STATX_MNT_ID, {stx_mask=STATX_TYPE|STATX_MODE|STATX_NLINK|STATX_UID|STATX_GID|STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|STATX_MNT_ID, stx_attributes=STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=19, ...}) = 0
openat(4, ".", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 5
openat(4, ".", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 6
openat(5, "EFI", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 7
openat(7, "BOOT", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 5
openat(5, "BOOTX64.EFI", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH) = 7
openat(AT_FDCWD, "/nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/lib/systemd/boot/efi/systemd-bootx64.efi", O_RDONLY|O_NOCTTY|O_CLOEXEC) = 4
openat(AT_FDCWD, "/boot/EFI/BOOT/BOOTX64.EFI", O_RDONLY|O_NOCTTY|O_CLOEXEC) = 5
openat(AT_FDCWD, "/boot/EFI/BOOT/.#BOOTX64.EFI54d6859dd11ba632", O_WRONLY|O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC, 0644) = 5
newfstatat(5, "", {st_mode=S_IFREG|0755, st_size=0, ...}, AT_SYMLINK_NOFOLLOW|AT_EMPTY_PATH) = 0
unlink("/boot/EFI/BOOT/.#BOOTX64.EFI54d6859dd11ba632") = 0
Failed to copy data from "/nix/store/57rayvb28n66prgyavcbz2kk1qv3zydw-systemd-257.3/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/BOOT/.#BOOTX64.EFI54d6859dd11ba632": Resource temporarily unavailable
+++ exited with 1 +++
- I’m currently refactoring my entire NixOS configuration modules, so I’m unable to share the full
configuration.nix
on github (it contains some plain secrets) . If specific configuration snippets or details are needed, please let me know, and I’ll provide them as best as I can. - The system works perfectly (switch and boot) if there’s no bootloader updates.
- This machine is critical for daily use, and I currently lack access to replacement hardware for reinstallation. Thus, solutions requiring a full reinstall are impractical for now.
Thank you all in advance for your time and expertise!