!oNSIfazDqEcwhcOjSL:matrix.org

disko

279 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko71 Servers

Load older messages


SenderMessageTime
8 May 2025
@lassulus:lassul.uslassulusso you basically install it into the live system, weird that this works though21:19:20
@lassulus:lassul.uslassulusI would have guessed stuff would break after formatting the nix store21:19:35
@nemnix:matrix.org@nemnix:matrix.org it's the name of the disk ? 21:21:11
@nemnix:matrix.org@nemnix:matrix.orglike if a remember correctly it's nixos-smtg-root21:21:36
@nemnix:matrix.org@nemnix:matrix.org* it's not the name of the disk ?21:21:47
@lassulus:lassul.uslassulususually it should point to something like /dev/sda or /dev/disk/by-id/something21:22:32
@lassulus:lassul.uslassulusbecause old labels get removed by disko (since it reformats the disk)21:22:56
@nemnix:matrix.org@nemnix:matrix.orgI don't have more info as everything brokes21:23:03
@nemnix:matrix.org@nemnix:matrix.org the disk are cleans sooo 21:23:26
@lassulus:lassul.uslassulusyeah so I guess it's the kexec environment which has that label?21:23:52
@lassulus:lassul.uslassulusor the live iso, if you install into an installer21:24:10
@nemnix:matrix.org@nemnix:matrix.orgI don't know—I'm clueless and a bit tired of this. I tried bare metal and VM, same result21:24:27
@lassulus:lassul.uslassuluswell just look into /dev/disk/by-id and take a device from there and put that into the value of disk21:26:09
@nemnix:matrix.org@nemnix:matrix.orgOkay, let's try again21:26:57
@nemnix:matrix.org@nemnix:matrix.org But how can I get the uuid of fresh new disk ? 21:29:10
@lassulus:lassul.uslassulusdisks don't have uuids, just ids, you can try booting a live iso on the machine or run only the kexec phase of nixos-anywhere (although you need to run with another key in that case)21:30:38
@nemnix:matrix.org@nemnix:matrix.orgI'm have a booted a live iso into the machine, what should I do now ?21:31:24
@nemnix:matrix.org@nemnix:matrix.org* I'm have booted a live iso into the machine, what should I do now ?21:32:01
@lassulus:lassul.uslassulusls -la /dev/disk/by-id21:33:33
@nemnix:matrix.org@nemnix:matrix.organd copy the value or all the path ?21:34:04
@lassulus:lassul.uslassuluschoose one path that points to something like /dev/nvme0n1 or /dev/sda or /dev/vda21:34:42
@lassulus:lassul.uslassulus so you can put something like disk = "/dev/disk/by-id/nvme-WD_BLACK_SN770_2TB_23091X804020"; into your disko config 21:35:24
@nemnix:matrix.org@nemnix:matrix.orgOkay I'll try in bare metal21:36:06
@projectinitiative:matrix.orgprojectinitiativeTotally missed these, life's been pretty hectic these past few weeks, but glad to see the work being pushed forward! 21:46:40
9 May 2025
@sandro:supersandro.deSandro 🐧Why does the gpt type no longer allow referencing disks by-id?23:45:00
@sandro:supersandro.deSandro 🐧I have some existing machines with existing formats and they all don't have partlabel set and adding UUIDs by hand sounds awefull23:45:26
10 May 2025
@lassulus:lassul.uslassulusYou mean uuids for partitions? Otherwise you need to set the device in the disk type?03:41:39
@sandro:supersandro.deSandro 🐧Yep12:20:05
@sandro:supersandro.deSandro 🐧I have some disks formatted as mbdos/bios/whatever, not gpt12:20:49
@sandro:supersandro.deSandro 🐧 And I kinda want to convert to the newer settings format to get rid of the warnings 12:21:06

Show newer messages


Back to Room ListRoom Version: 10