!oNSIfazDqEcwhcOjSL:matrix.org

disko

403 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko108 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 pipe substitution of cat or whatever it's called in bash) 10:22:40
@nevrv:matrix.orgnrv * ..so it's failed to open keyfile (the process substitution of cat) 10:23:34
@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
@nevrv:matrix.orgnrveven though it runs --clear and partprobe and everything10:38:17
@nevrv:matrix.orgnrvbecause now i see sgdisk failing again (though i tweaked the sizes)10:38:56
@nevrv:matrix.orgnrv
In reply to @nevrv:matrix.org
could it be that sgdisk --clear doesn't work properly and there's still partitions on the disk when i run disko multiple times?
sure it could. blkdiscard fixes that.
10:42:08

Show newer messages


Back to Room ListRoom Version: 10