| 8 May 2025 |
@nemnix:matrix.org | Okay, let's try again | 21:26:57 |
@nemnix:matrix.org | But how can I get the uuid of fresh new disk ? | 21:29:10 |
lassulus | disks 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 | I'm have a booted a live iso into the machine, what should I do now ? | 21:31:24 |
@nemnix:matrix.org | * I'm have booted a live iso into the machine, what should I do now ? | 21:32:01 |
lassulus | ls -la /dev/disk/by-id | 21:33:33 |
@nemnix:matrix.org | and copy the value or all the path ? | 21:34:04 |
lassulus | choose one path that points to something like /dev/nvme0n1 or /dev/sda or /dev/vda | 21:34:42 |
lassulus | 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 | Okay I'll try in bare metal | 21:36:06 |
projectinitiative | Totally 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 🐧 | Why does the gpt type no longer allow referencing disks by-id? | 23:45:00 |
Sandro 🐧 | I have some existing machines with existing formats and they all don't have partlabel set and adding UUIDs by hand sounds awefull | 23:45:26 |
| 10 May 2025 |
lassulus | You mean uuids for partitions? Otherwise you need to set the device in the disk type? | 03:41:39 |
Sandro 🐧 | Yep | 12:20:05 |
Sandro 🐧 | I have some disks formatted as mbdos/bios/whatever, not gpt | 12:20:49 |
Sandro 🐧 | And I kinda want to convert to the newer settings format to get rid of the warnings | 12:21:06 |
Sandro 🐧 | But I can't really | 12:21:10 |
Sandro 🐧 | Because I can no longer reference disks by part-id which is the only predictable name when you are not on gpt | 12:21:37 |
Sandro 🐧 | And partlabel only exists for gpt disks | 12:21:46 |
lassulus | you can override device on each partition | 12:45:54 |
| Edward Hesketh joined the room. | 18:02:19 |
| Edward Hesketh changed their display name from Edward Hesketh to headb. | 19:45:04 |
| @strutztm:strutztm.de left the room. | 19:50:32 |
| Edward Hesketh changed their display name from headb to Edward Hesketh. | 23:32:18 |
| 11 May 2025 |
| @nemnix:matrix.org removed their profile picture. | 01:27:21 |
| zimward joined the room. | 19:32:47 |
| 12 May 2025 |
| The Jia Tan of Datasets changed their display name from SS Stupid Goals to SS Bullshit Dreams. | 02:06:31 |
| momo joined the room. | 15:50:06 |
momo | Hello everyone, I'm encountering an issue with disko installation. When trying to run this command on my new machine, I get the following error after some time:
copying path '/nix/store/ccfwxygjrarahgfv5865x2f828sjr5h0-source' from 'https://cache.nixos.org'...
error:
… while evaluating a branch condition
at /nix/store/hr8dbsiv7gmyjywz5jhhv3xglmx77i4y-disko/share/disko/cli.nix:108:10:
107| diskoEval
108| else if hasDiskoModuleFlake then
| ^
109| (builtins.getFlake flake).nixosConfigurations.${flakeAttr}.config.system.build.${diskoAttr}
… in the right operand of the OR (||) operator
at /nix/store/xhhzw2lrzamrmpz056gybwrvd6dxp6nl-yhc8a0a2mvbp8fp53l57i3d5cnz735fc-source/lib/attrsets.nix:168:11:
167| n == lenAttrPath
168| || (
| ^
169| let
… while evaluating definitions from `/nix/store/57zny9al6km8yi7fav67dkf1apmfyw2p-source/hosts':
… while evaluating definitions from `/nix/store/8lw7ywpxvmmzryn9mnipqhvac4vpwzik-source/modules/perSystem.nix':
… while evaluating definitions from `/nix/store/57zny9al6km8yi7fav67dkf1apmfyw2p-source/lib, via option perSystem':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: writing to file: No space left on device
error: Recipe `install` failed on line 2 with exit code 1
I've tried switching to disko-install with this command:
nix --experimental-features "nix-command flakes" run 'github:nix-community/disko/latest#disko-insta
ll' -- --flake .#server --disk main /dev/sda
But the issue persists.
i have confirmed that my machine have enough RAM and storage space.
| 16:02:23 |