| 2 Jul 2024 |
Moritz Sanft | Ok, das ist tatsächlich ein unglücklicher Fall. :( | 18:19:45 |
Benedikt Ritter (britter) | Finde ich auch. | 18:19:52 |
Benedikt Ritter (britter) | Das sind ja Sachen, die sich gut statisch festlegen lassen. Warum also die Datenbank dazwischen? | 18:20:14 |
Moritz Sanft | Vielleicht speichern sie dort den anderen State ihrer Anwendung, und wollen nur eine Datei haben.. Aber schon eine komische Designentscheidung | 18:20:54 |
Moritz Sanft | Kannst dir natürlich ein Skript in Nix hinlegen, mit dem du daas ganze konfigurierst, und das bei jeder Aktivierung deines Systems ausführen | 18:21:23 |
Moritz Sanft | Aber ist auch nur ein Hack natürlich | 18:21:29 |
| 5 Jul 2024 |
Timon Kayser | Kann mir jemand bei nixos-anywhere helfen? Ich bin stuck bei "Building disko script", wenn nixos-anywahere mit "--build-on-remote" ausführe. Ansonsten bin ich schon bei "Gathering machine facts" stuck . | 17:53:47 |
Timon Kayser | Spezifisch bleibt nix copy stecken | 17:59:36 |
Timon Kayser | Weiß jemand, wie ich eine valide UEFI partitionierung mit einer nixos system flake hinbekomme von der ich booten kann? | 21:06:16 |
Timon Kayser | * Weiß jemand, wie ich eine valide UEFI partition mit einer nixos system flake hinbekomme von der ich booten kann? | 21:06:37 |
Timon Kayser | Ich bekomme es nämlich schon die ganze zeit nicht hin nixos zu installieren. | 21:07:17 |
Moritz Sanft | https://nixos.wiki/wiki/Creating_a_NixOS_live_CD | 21:07:34 |
Timon Kayser | Ich kann nicht von einer live iso booten. Ich habe nur ssh zugriff auf den server. | 21:08:31 |
Timon Kayser | * Ich kann nicht von einer live iso booten. Ich habe nur ssh zugriff (+rescue os) auf den server. | 21:08:47 |
Moritz Sanft | Du kannst kein Bootmedium anhängen? | 21:09:23 |
Timon Kayser | Ich installiere nixos vom nix kexec enviroment | 21:09:25 |
Timon Kayser | In reply to @msanft:matrix.org Du kannst kein Bootmedium anhängen? nope | 21:09:32 |
Moritz Sanft | Dann einfach nixos-install | 21:09:49 |
Timon Kayser | ja, aber das gibt mir keine valide uefi partition | 21:10:07 |
Moritz Sanft | Was ist eine valide UEFI Partition? | 21:10:47 |
Timon Kayser | Eine UEFI partition von der ein system booten kann | 21:10:59 |
Timon Kayser | Es wird einfach nichts auf die efi geschrieben | 21:11:28 |
Timon Kayser | [root@nixos-installer:~/flake]# nixos-install --flake .#PixelMain --cores 16 -j 16
building the flake in path:/root/flake?lastModified=1720213658&narHash=sha256-x15%2BOi2qh7IhGBqvlhP0Qk22P7Ls1bQYruFzzhirsTw%3D...
trace: warning: mdadm: Neither MAILADDR nor PROGRAM has been set. This will cause the `mdmon` service to crash.
installing the boot loader...
setting up /etc...
updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/nvme2n1...
Installing for i386-pc platform.
/nix/store/bhpghs9kl74zg5pwm184v2rijrbsnh1v-grub-2.12/sbin/grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
/nix/store/bhpghs9kl74zg5pwm184v2rijrbsnh1v-grub-2.12/sbin/grub-install: error: filesystem `btrfs' doesn't support blocklists.
/nix/store/2js95l6lpapk9bkic375ssdby06sxvkr-install-grub.pl: installation of GRUB on /dev/nvme2n1 failed: No such file or directory
setting up /etc...
setting up /etc...
setting root password...
New password:
Retype new password:
passwd: password updated successfully
installation finished!
[root@nixos-installer:~/flake]# ls /mnt/boot
[root@nixos-installer:~/flake]# ls /mnt/boot1
| 21:12:05 |
Moritz Sanft | Und unter /Boot liegt nichts? | 21:12:47 |
Timon Kayser | /boot existiert nicht. | 21:13:05 |
Moritz Sanft | Er sagt ja vorher, dass die grub Installation failed. Guck mal was unter /boot gemounted ist | 21:13:25 |
Timon Kayser | und die mountpoints sollen schon alle unter /mnt liegen | 21:13:31 |
Moritz Sanft | Dann halt /mnt/boot | 21:13:46 |