| 2 Nov 2024 |
pinpox | I'm running into an error modrobe: command not found when trying to generate an image. I left the relevant configs and logs here: https://github.com/nix-community/disko/issues/857 if someone can help debug, feel free to ping me here and I can provide any info needed | 13:19:11 |
| no-mood joined the room. | 17:02:12 |
no-mood | Hi all :)
I've set up Disko on my existing config and now I'm trying to reinstall | 17:02:36 |
no-mood | But when I run Disko I get this (sorry for the photo): | 17:02:48 |
no-mood |  Download 20241102_175209_5031628150962988399.jpg | 17:03:07 |
no-mood | I've removed "latest" from the url but the installer (and terminal) crashes when using Disko install | 17:41:38 |
no-mood | * I've removed "latest" from the url but the installer (and terminal) crashes when using Disko install
EDIT: it runs out of Memory
Using a pendrive and 16gb of RAM | 17:51:19 |
| 𝒕𝒂𝒏𝒗𝒊𝒓 changed their profile picture. | 19:01:17 |
SigmaSquadron | In reply to @no-mood:matrix.org I've removed "latest" from the url but the installer (and terminal) crashes when using Disko install EDIT: it runs out of Memory Using a pendrive and 16gb of RAM Try again with the -j 1 flag.
| 20:01:38 |
SigmaSquadron | It'll take longer, but it'll use less memory (and only one CPU core) | 20:01:59 |
no-mood | In reply to @sigmasquadron:matrix.org
Try again with the -j 1 flag. Where do you put it? | 20:03:56 |
no-mood | Before the -- ? | 20:04:26 |
SigmaSquadron | Actually since this is -install the flag is probably --option max-jobs 1
| 20:08:27 |
SigmaSquadron | added after 10pm--`
| 20:08:42 |
SigmaSquadron | * added after --
| 20:08:47 |
no-mood | Trying that in a moment, but wouldn't it be better to use another partition? | 20:09:13 |
no-mood | I've tried with TMPDIR (saw on reddit) to use a partition instead of /tmp (on tmpfs) without luck | 20:09:47 |
no-mood | I even mounted /tmp on another drive, I don't understand why it's not working | 20:10:38 |
no-mood | In reply to @sigmasquadron:matrix.org
Actually since this is -install the flag is probably --option max-jobs 1
Still crashing | 20:11:02 |
SigmaSquadron | What is the actual error? | 20:11:26 |
no-mood | Ran out of memory | 20:14:09 |
no-mood | I can see it only in tty, if I run the gnome terminal it crashes after a while | 20:14:35 |
no-mood | It's this one: https://www.reddit.com/r/NixOS/comments/1cmb8up/no_space_left_on_device_during_install/ | 20:16:05 |
| 3 Nov 2024 |
no-mood | Okay, there's still one thing I'm not clear about with NixOS Anywhere.
Is there a way to install the files on the target machine's disk as if I were using nixos-install? | 01:20:43 |
Sait | anyone here managed to set up raspberry pi 3/4 with disko? | 12:36:42 |
phaer | In reply to @no-mood:matrix.org Okay, there's still one thing I'm not clear about with NixOS Anywhere. Is there a way to install the files on the target machine's disk as if I were using nixos-install? Which files, your systems closure?
nixos-anywhere does call nixos-install on the remote machine, see https://github.com/nix-community/nixos-anywhere/blob/51d347d35caec995d36d1450cb5bb183318c7fb7/src/nixos-anywhere.sh#L598
| 15:50:03 |
eyJhb | In reply to @phaer:matrix.org
Yes, it's just for initial setup by default.
If you feel adventurous and have a tested backup of your data you can try rerunning the system.build.formatScript which should be idempotent but please review the script and don't blame us if it eats your data 😇
Surely I should try that... AND blame you /s :D | 16:36:01 |
no-mood | In reply to @phaer:matrix.org
Which files, your systems closure?
nixos-anywhere does call nixos-install on the remote machine, see https://github.com/nix-community/nixos-anywhere/blob/51d347d35caec995d36d1450cb5bb183318c7fb7/src/nixos-anywhere.sh#L598 The same drive I'm installing to | 16:46:15 |
no-mood | Oh right I was referring to Disko-install | 16:46:40 |
phaer | Arbitrary files? Maybe --extra-files helps? That one copies files from your current system into the installed target system | 16:47:19 |