disko | 391 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 105 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Mar 2026 | ||
| seems like it can't find the key | 20:34:16 | |
| so probably unrelated | 20:34:20 | |
| but how does this succeed in the installer test ? | 20:34:30 | |
| but not in disk image building | 20:34:33 | |
| is the exit code ignored in the installer test? | 20:34:40 | |
| it probably creates /tmp/secret.key? | 20:34:48 | |
| ah yeah it does | 20:35:00 | |
| lib/tests.nix does this for tests | 20:35:13 | |
Okay, so imageSize being set wrong, or errors in the disko config can both lead to kernel panics | 20:37:30 | |
| and ofc not enough space | 20:37:51 | |
| hm errors in the config should lead to eval errors | 20:37:58 | |
| so it's very easy to conflate that with other things, but I think I have an actual reproducer now | 20:38:01 | |
| you do need an image of a certain size before memory becomes an issue | 20:38:17 | |
| except if they are like not catched errors :D | 20:38:17 | |
| By wrong I meant too small | 20:39:08 | |
| which the eval can't catch | 20:39:10 | |
| lassulus: https://github.com/nix-community/disko/pull/1235 | 21:22:40 | |
| 21:23:09 | ||
| If it is possible to reproduce it on other FS, I couldn't figure that out after a few hours of trying | 21:26:59 | |
| CI seems to fail for some reason that I don't get on my end | 21:28:57 | |
nixos-disko-images> [2026-03-14T21:25:41Z WARN virtiofsd::passthrough] Failed to open file handle for the root node: Operation not permitted (os error 1) | 21:29:09 | |
| https://buildbot.thalheim.io/#/builders/10614/builds/2/steps/1/logs/stdio | 21:29:11 | |
| 21:30:23 | ||
| 15 Mar 2026 | ||
| lassulus: About to go to bed, but I just tried your latest attempts on https://github.com/nix-community/disko/pull/1234/commits and it doesn't fix it | 01:56:59 | |
| 25 Apr 2024 | ||
| 23:38:25 | ||
| 23:51:57 | ||
| 26 Apr 2024 | ||
| Couple of questions about NixOS live USBs: I want to partition my 64 GB USB flash drive into two partitions (FAT32 live USB + ext4 storage), so I used the following disko config:
I then copied over the files from the (minimal, non-graphical) NixOS live ISO into partition 1, hoping that the instructions on the Arch wiki would generalize to NixOS, but then my live ISO gets stuck with the following error message:
How can I use my USB flash drive as both a live USB and as a storage device? I found this relevant Discourse link but there was no resolution to the problem there. I realize this might not be the best place to ask this, but I figured that folks here would have expertise configuring boot partitions correctly. | 02:02:16 | |
| * Couple of questions about NixOS live USBs: I want to partition my 64 GB USB flash drive into two partitions (FAT32 live USB + ext4 storage), so I used the following disko config:
I then copied over the files from the (minimal, non-graphical) NixOS live ISO into partition 1, hoping that the instructions on the Arch wiki would generalize to NixOS, but then my live ISO gets stuck with the following error message:
How can I use my USB flash drive as both a live USB and as a storage device? I found this relevant Discourse link but there was no resolution to the problem there. I realize this might not be the best place to ask this, but I figured that folks here would have expertise configuring boot partitions correctly. For reference, the NixOS manual says I should | 02:12:28 | |
| I don't think that this will work since you need to unmount the live USB to format it as storage device | 07:16:00 | |
In reply to @tim92:matrix.orgNot sure what you mean, exactly. To clarify, I'm not trying to format the USB while it's live; I'm running this from an existing NixOS install. If the"live USB" bit uses only ~1 GiB, there should be some way to make use of the remaining space, hopefully. | 07:57:47 | |