!oNSIfazDqEcwhcOjSL:matrix.org

disko

364 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko93 Servers

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


SenderMessageTime
3 Jun 2025
@sylk0s:matrix.orgSylkos changed their display name from sylk0s to Sylkos.16:10:19
@sylk0s:matrix.orgSylkos set a profile picture.16:15:03
4 Jun 2025
@rob.sliwi:matrix.orgrobsliwi changed their display name from Robert Sliwinski to robsliwi.18:30:13
5 Jun 2025
@s:consortium.chatshelvacu joined the room.21:48:38
@s:consortium.chatshelvacu

https://github.com/nix-community/disko/blob/d74db625a5cf3f46cf8fa545d6ef10bd3463ea07/lib/types/gpt.nix#L259

if ! blkid "${config.device}" >&2; then
  sgdisk --clear "${config.device}"
fi

I can't tell if I found a bug or if I'm just not understanding this; blkid exits with code 2 when run on a blank (all 00) block device, in which case it... clears the gpt label? that isn't there?

21:55:56
@s:consortium.chatshelvacu
In reply to @pink_rocky:tchncs.de
Okay, right now I’ve gotten it to error on the build with:
"Unable to read fragment cache entry"
"Unable to read page"
"unknown filesystem type 'btrfs'"
what exactly are you building? Do you mean nixos-rebuild build? Could send the full output in a pastebin or smth?
22:03:21
@s:consortium.chatshelvacu
In reply to @pink_rocky:tchncs.de
configuration.nix
Separately, I highly recommend switching to a flake-based config in a git repo. That would make it possible to link to a specific commit and then everyone else can run the exact same build.
22:05:09
@s:consortium.chatshelvacu Also I strongly recommend not using /dev/sdb as the device; the ordering can change between boots and when you add/remove thumb drives. Instead look for your drive in /dev/disk/by-id/ 22:06:24
@s:consortium.chatshelvacu also I can't build your config because it's missing hardware-configuration.nix 22:09:11
6 Jun 2025
@creepinson:matrix.org@creepinson:matrix.org left the room.00:18:44
@francesco:zanini.mefrancesco joined the room.07:06:03

Show newer messages


Back to Room ListRoom Version: 10