!oNSIfazDqEcwhcOjSL:matrix.org

disko

406 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko109 Servers

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


SenderMessageTime
12 Jul 2024
@nevrv:matrix.orgnrv * The config is... complicated in addition to all the trouble, i'm trying to do 1M BIOS offset + 600G luks zfs and then -1G reserve at the end and -512M off that ESP -4096 off that ext4 boot. So, ESP and another ext4 boot partition counting from the end, leaving a lot of space to possibly expand the ZFS later (1T drive). For the time being i commented out the end part and try to create only the BIOS + main partition part. No part of the disk is in use. I blkdiscarded and sgdisk --zapped it and rebooted and partprobed and whatever multiple times. It is also healthy disk that i can manually partition with luks/zfs/ext4 and use09:56:48
@nevrv:matrix.orgnrv * The config is... complicated in addition to all the trouble, i'm trying to do 1M BIOS offset + 600G luks zfs and then -1G reserve at the end and -512M off that ESP -4096 off that ext4 boot. So, ESP and another ext4 boot partition counting from the end, leaving a lot of space to possibly expand the ZFS later (1T drive) OR use it for something else. For the time being i commented out the end part and try to create only the BIOS + main partition part. No part of the disk is in use. I blkdiscarded and sgdisk --zapped it and rebooted and partprobed and whatever multiple times. It is also healthy disk that i can manually partition with luks/zfs/ext4 and use09:58:58
@nevrv:matrix.orgnrvSo, sgdisk commands succeed, but then there is no cryptsetup in the log. It is in the script though, but refers to hardcoded random partlabels(?), dunno how that works, are they static and calculated at build time?10:01:27
@nevrv:matrix.orgnrv * So, sgdisk commands succeed, but then there is no cryptsetup in the log. It is in the script though, but refers to hardcoded random partlabels(?), dunno how that works, are they static and calculated at build time? They seem to exist10:02:30
@nevrv:matrix.orgnrv /tmp/secret.key is also created10:03:08
@nevrv:matrix.orgnrvi did actually forget that before and the error was different and intelligible of the issue10:03:33
@nevrv:matrix.orgnrv..so it's failed to open keyfile10:16:55
@nevrv:matrix.orgnrvbut cat /tmp/secret.key works10:17:08

Show newer messages


Back to Room ListRoom Version: 10