Skip to content

Instantly share code, notes, and snippets.

@georgewsinger
Created September 24, 2017 14:46
Show Gist options
  • Save georgewsinger/e1bf94b1be53a8e5854154f769cb5306 to your computer and use it in GitHub Desktop.
Save georgewsinger/e1bf94b1be53a8e5854154f769cb5306 to your computer and use it in GitHub Desktop.
nixos-rebuild error
$ sudo nixos-rebuild switch
building Nix...
building the system configuration...
Traceback (most recent call last):
  File "/nix/store/a2g3m12cq1g5fjcaf3rxi1kdi7dqc9p0-systemd-boot-builder.py", line 149, in <module>
    main()
  File "/nix/store/a2g3m12cq1g5fjcaf3rxi1kdi7dqc9p0-systemd-boot-builder.py", line 142, in main
    remove_old_entries(gens)
  File "/nix/store/a2g3m12cq1g5fjcaf3rxi1kdi7dqc9p0-systemd-boot-builder.py", line 105, in remove_old_entries
    os.unlink(path)
OSError: [Errno 30] Read-only file system: '/boot/efi/nixos/b05p9bs5yg06jr7hhs6l3ql3q90jk2ah-linux-4.9.46-bzImage.efi'
warning: error(s) occurred while switching to the new configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment