| 11 Aug 2024 |
matthewcroughan | bcachefs kernel module wasn't loaded, so that happened :D | 18:24:21 |
matthewcroughan | Impurities. Impurities everywhere! | 18:25:12 |
matthewcroughan | This one of the disadvantages to the way disko does things, it needs loopbacks and can't reliably be used outside of a VM builder | 18:26:10 |
matthewcroughan | systemd-repart works on files and can do a lot of the same things without the downsides of requiring a VM builder, but has some constraints like being unable to start and end arbitrarily | 18:27:19 |
matthewcroughan | copying path '/nix/store/1p8v7jgaglnk0k6vkjmx0lsjwd3a8vdp-nixos-system-homerouter-24.11.20240731.9f918d6' to 'local'...
installing the boot loader...
chroot: failed to run command ‘/nix/var/nix/profiles/system/activate’: No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
```a
| 19:45:36 |
matthewcroughan | * copying path '/nix/store/1p8v7jgaglnk0k6vkjmx0lsjwd3a8vdp-nixos-system-homerouter-24.11.20240731.9f918d6' to 'local'...
installing the boot loader...
chroot: failed to run command ‘/nix/var/nix/profiles/system/activate’: No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
```a
```
| 19:45:37 |
matthewcroughan | * copying path '/nix/store/1p8v7jgaglnk0k6vkjmx0lsjwd3a8vdp-nixos-system-homerouter-24.11.20240731.9f918d6' to 'local'...
installing the boot loader...
chroot: failed to run command ‘/nix/var/nix/profiles/system/activate’: No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
```
| 19:45:40 |
matthewcroughan | I'm unable to perform a nixos-install for an arm64 target, odd | 19:45:59 |
matthewcroughan | * copying path '/nix/store/1p8v7jgaglnk0k6vkjmx0lsjwd3a8vdp-nixos-system-homerouter-24.11.20240731.9f918d6' to 'local'...
installing the boot loader...
chroot: failed to run command ‘/nix/var/nix/profiles/system/activate’: No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
| 19:46:06 |
matthewcroughan | /nix/store/ydg6krk7waimsm36njvkv4g0xchq3iry-nixos-install-tools-24.11pre-git/bin/nixos-install --no-root-password --option substituters "" --no-channel-copy --system /nix/store/1p8v7jgaglnk0k6vkjmx0lsjwd3a8vdp-nixos-system-homerouter-24.11.20240731.9f918d6 | 19:46:18 |
matthewcroughan |
[root@t480:~]# nixos-enter
chroot: failed to run command ‘/nix/var/nix/profiles/system/activate’: No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
| 19:46:57 |
matthewcroughan | * [root@t480:~]# nixos-enter
chroot: failed to run command ‘/nix/var/nix/profiles/system/activate’: No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
| 19:47:01 |
matthewcroughan | Ah, nixos-enter doesn't work unless there's a profile there first | 19:47:51 |
| blimbus joined the room. | 23:19:36 |
| 12 Aug 2024 |
@brian:bmcgee.ie | Is there a way of running disko in a vm test? I'm trying it with just disko --mode disko ... but it's reaching out to the internet and failing | 14:36:14 |
@brian:bmcgee.ie | I'll have a play around with diskoLib.testLib.makeDiskoTest | 14:37:53 |
@brian:bmcgee.ie | Yeah, Disko's testLib was the way to go. Had to import it a bit differently due to the impure <nixpkgs> defaults for some of it's args, but no biggy. | 16:00:17 |
matthewcroughan | BMG: if you have imported Disko into a nixosConfiguration, then a VM Test is already present for that in system.build.toplevel.installTest | 16:02:13 |
@brian:bmcgee.ie | In reply to @matthewcroughan:defenestrate.it BMG: if you have imported Disko into a nixosConfiguration, then a VM Test is already present for that in system.build.toplevel.installTest Good to know. makeDiskoTest is a better fit for use case in this instance https://github.com/numtide/nixos-facter/pull/73 | 16:05:12 |
@brian:bmcgee.ie | https://github.com/numtide/nixos-facter/pull/73/files#diff-35d68d8d6463519724b4aef23da56f8e50797dc42899592a9003ecb7c475cddc | 16:05:31 |
| @tanvir:hackliberty.org joined the room. | 17:10:12 |
| 13 Aug 2024 |
SigmaSquadron | Redacted or Malformed Event | 22:06:55 |
SigmaSquadron | Redacted or Malformed Event | 22:07:28 |
| 14 Aug 2024 |
| ·☽•Nameless☆•777 · ± joined the room. | 08:57:07 |
matthewcroughan | I can confirm the issue with nixos-install running out of memory still happens even with the latest disko and nix tooilng
evaluating derivation 'git+file:///home/matthew/git/nixcfg#nixosConfigurations.bpi-r4.config.syerror: build of '/nix/store/g952ci9c1fhdn61ybb71xd7yngspsbdk-homerouter-disko-images.drv' on 'ssh-ng://matthewcroughan@aarch64.nixos.community' failed: builder for '/nix/store/g952ci9c1fhdn61ybb71xd7yngspsbdk-homerouter-disko-images.drv' failed with exit code 123;
last 10 log lines:
> cp: cannot access '/nix/store/h60m1fwahjd2mv6gsg77ji3vb4gpj4dk-source/pkgs/applications/misc/tui-journal': Cannot allocate memory
> cp: cannot access '/nix/store/h60m1fwahjd2mv6gsg77ji3vb4gpj4dk-source/pkgs/applications/misc/tuir': Cannot allocate memory
> cp: cannot access '/nix/store/h60m1fwahjd2mv6gsg77ji3vb4gpj4dk-source/pkgs/applications/misc/tut': Cannot allocate memory
> cp: cannot access '/nix/store/h60m1fwahjd2mv6gsg77ji3vb4gpj4dk-source/pkgs/applications/misc/tuxclocker': Cannot allocate memory
> cp: cannot access '/nix/store/ia3ymz0pcg0w31091fb3w9jld3qa1kgp-util-linux-2.39.4-lib/share/locale/de/LC_MESSAGES': Cannot allocate memory
> cp: cannot access '/nix/store/ia3ymz0pcg0w31091fb3w9jld3qa1kgp-util-linux-2.39.4-lib/share/locale/es': Cannot allocate memory
> cp: cannot access '/nix/store/ia3ymz0pcg0w31091fb3w9jld3qa1kgp-util-linux-2.39.4-lib/share/locale/et': Cannot allocate memory
> cp: cannot access '/nix/store/kgdz4hwrdf6mir55xzmgmdnf9z75jm3l-tzdata-2024a/share/zoneinfo/right/Mexico': Cannot allocate memory
> cp: cannot access '/nix/store/l7gmwp99pwx2s20hy3hzhva0vxzpcwa9-systemd-minimal-256.2/share/dbus-1/services': Cannot allocate memory
> [ 152.515840] reboot: Power down
For full logs, run 'nix log /nix/store/g952ci9c1fhdn61ybb71xd7yngspsbdk-homerouter-disko-images.drv'.
| 17:58:10 |
matthewcroughan | All that can really be done in this scenario is trying again until it works | 17:58:30 |
matthewcroughan | It doesn't happen every time | 17:58:38 |
SigmaSquadron | Hi all. Is there a way to ensure a certain disk is processed first in a disko configuration? I have a detached-header LUKS setup that encrypts my internal disks and writes their headers to an USB device. Disko does encrypt both devices, but it processes the USB last, and it does so by deleting the headers and repartitioning. Is there a way to ensure it formats the USB before installing the headers? | 21:06:50 |
SigmaSquadron | * Hi all. Is there a way to ensure a certain disk is processed first in a disko configuration? I have a detached-header LUKS setup that encrypts my internal disks and writes their headers to an USB device. Disko does encrypt both devices, but it processes the USB last, and it does so by deleting the headers and repartitioning. Is there a way to ensure it formats the USB before installing the headers?
Sorry, I was looking for the priority option. | 21:12:26 |
SigmaSquadron | * Hi all. Is there a way to ensure a certain disk is processed first in a disko configuration? I have a detached-header LUKS setup that encrypts my internal disks and writes their headers to an USB device. Disko does encrypt both devices, but it processes the USB last, and it does so by deleting the headers and repartitioning. Is there a way to ensure it formats the USB before installing the headers?
Sorry, I was looking for the priority option.
| 21:20:39 |