disko | 356 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 89 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Apr 2025 | ||
| Hi ! So i'm trying to use disko to generate both a vm image and a raw image. It works, but the thing is I want to put secrets on some ext4 partition mounted over /etc/secrets. For the raw image, no problem. | 16:19:51 | |
| For the VM image, I use virtualisation.vmVariantWithDisko.sharedDirectories to avoid putting secrets into the nix store (it works nicely with a classical vm) | 16:20:29 | |
| But with disko, i'm getting some error :
I believe this is because the disko vm image actually respects my partitions formats, but that's a bit of a problem for my specific usecase. I can remove the /etc/secrets partition definition in disko, and it works, but do I have any other option ? | 16:21:57 | |
| I am a little lost trying to get disko working in this setup https://github.com/tcurdt/nixos-hetzner/blob/main/install-nixos.sh
| 17:52:49 | |
| That's when I use v1.9.0 ... latest gives a different error | 17:53:12 | |
| But I am also confused why there can be a version mismatch when I used "latest" instead. | 17:54:43 | |
| Any pointers much appreciated. | 17:55:03 | |
I don't see that attribute set in the example config https://github.com/Lassulus/flakes-testing/blob/master/flake.nix What am I missing? | 18:13:45 | |
| 18:30:46 | ||
| Do you happen to know of the BIOS equivalent? My desktop is a little bit older | 22:26:20 | |
Okay, now I get it to boot up but it doesn’t unlock the disk saying:error: disk: 'cryptouuid/…' not fond.I’m going to check the paths in my config. | 23:09:38 | |
| finally got it working ...and created a github issue asking for a better error message and a PR to fix the current one | 23:40:20 | |
| 28 Apr 2025 | ||
| Yeah, I changed the config a little, same situation. Do I need to load a kernel module or configure something? | 00:15:46 | |
| 07:40:18 | ||
| I am stuck on this issue here https://github.com/nix-community/disko/issues/1026 Am I doing something wrong? | 11:20:21 | |
|
and
| 11:22:42 | |
| Huh stuck sounds like a bug | 12:08:07 | |
| It should run with -x already. So what is the output? | 12:08:22 | |
| I have added the debug output to the ticket. | 12:37:23 | |
Oh, you mean for --mode destroy,format,mount ? | 12:37:24 | |
| lassulus: I have added the debug output for the "disko" mode https://github.com/nix-community/disko/issues/1026 | 13:19:42 | |
Nothing happens anymore after lsblk -a -f | 13:20:21 | |
| then you need to specify the device grub should write the MBR to look under lsblk note that yoiu should not use a partition (so /dev/nvme0n1 - but not /dev/nvme0n1p1) | 17:13:35 | |
Does disko-install change a partition’s UUID every time it’s run? | 23:36:47 | |
| 23:39:13 | ||
| 29 Apr 2025 | ||
| probably, yeah | 01:21:52 | |
| but you can use the disko config to populate mountpoints | 01:22:24 | |
| so that's a non-issue for mounting | 01:22:34 | |
| I think you can specify uuids now. But i never tested it | 01:28:39 | |
I’m trying to install NixOS through disko with a BTRFS partitions/full disk encrypted setup. I’ve changed the configuration in a couple different ways, and ran disko-install, each time. GRUB always allows two password entries telling me Invalid password, and a third attempt which ends with a cryptodisk not found meltdown and rescue prompt.The changes I’ve made recently:
Relevant configuration.nix: Disko configuration in flake.nix: | 01:43:10 | |