!oNSIfazDqEcwhcOjSL:matrix.org

disko

353 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko88 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
12 Jul 2024
@nevrv:matrix.orgnrv * ..so it's failed to open keyfile (the process substitution of cat /tmp/secret.key) 10:23:44
@nevrv:matrix.orgnrv * (and of course it's not in the logs, disabled with +x explicitly for the cat but not for the cryptsetup so hmm, maybe the big ( ) subshell captures it?) 10:24:56
@lassulus:lassul.uslassulushmm, weird, I don't see any code that ignores the cryptsetup error. like it should fail if cryptsetup fails. The partlabels are calculated inside the gpt type and are used onwards from there10:26:11
@nevrv:matrix.orgnrv * At first i think i miscalculated the sizes. sgdisk would say cannot make partition and refuse going further. That is ok.
But then this, and also partprobe broke and said to reboot, and also sgdisk were spitting random numbers instead of ones that i give to it
10:26:13
@lassulus:lassul.uslassulusbut you can also overwrite the labels there, if they are too long, they are changed to a hash10:33:30
@nevrv:matrix.orgnrvcould it be that sgdisk --clear doesn't work properly and there's still partitions on the disk when i run disko multiple times?10:38:05

Show newer messages


Back to Room ListRoom Version: 10