Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [nixos@nixos:~]$ sudo -i
- [root@nixos:~]# lsblk -f
- NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
- loop0 squashfs 4.0 0 100% /nix/.ro-store
- sda
- ├─sda1 vfat FAT32 C8DF-1D46
- └─sda2 ext4 1.0 509efae4-ec18-4057-93d4-a0bf08037f85
- sdb iso9660 Joliet Extension nixos-graphical-25.05-x86_64 1980-01-01-00-00-00-00
- ├─sdb1 iso9660 Joliet Extension nixos-graphical-25.05-x86_64 1980-01-01-00-00-00-00 0 100% /iso
- └─sdb2 vfat FAT12 EFIBOOT 1234-5678
- [root@nixos:~]# mount /dev/sda2 /mnt
- [root@nixos:~]# mount /dev/sda1 /mnt/boot
- [root@nixos:~]# nixos-enter --root /mnt
- setting up /etc...
- [root@nixos:/]# nixos-rebuild boot --install-bootloader --show-trace --flake '/home/klucas/.nix-config'
- warning: Git tree '/home/klucas/.nix-config' is dirty
- building the system configuration...
- warning: Git tree '/home/klucas/.nix-config' is dirty
- Running in a chroot, enabling --graceful.
- Copied "/nix/store/f8plklbbq3gwkq1wfq89i3f4wy8rabzn-systemd-258/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/systemd/systemd-bootx64.efi".
- Copied "/nix/store/f8plklbbq3gwkq1wfq89i3f4wy8rabzn-systemd-258/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/BOOT/BOOTX64.EFI".
- ⚠ Mount point '/boot' which backs the random seed file is world accessible, which is a security hole! ⚠
- ⚠ Random seed file '/boot/loader/random-seed' is world accessible, which is a security hole! ⚠
- Random seed file /boot/loader/random-seed successfully refreshed (32 bytes).
- Created EFI boot entry "Linux Boot Manager".
- Done. The new configuration is /nix/store/zc630d9sshlhp3ppppx39b32zhqn0yqi-nixos-system-nixos-25.11.20251108.b6a8526
- [root@nixos:/]#
Advertisement
Add Comment
Please, Sign In to add comment