| 2 Apr 2024 |
K900 broke the homeserver | https://status.hetzner.com/incident/072f6e2f-509b-41ff-a917-6ae9ab730da6 | 08:35:31 |
K900 broke the homeserver | WHY AM I SO CURSED | 08:35:36 |
hexa | lmao | 08:35:43 |
K900 | raitobezarius: you can't extend bcachefs backwards, can you | 09:00:57 |
raitobezarius | that's just dd right? | 09:01:19 |
K900 | I mean in a way that doesn't involve dd | 09:02:21 |
raitobezarius | hmmm I don't think so | 09:02:30 |
raitobezarius | you could | 09:02:33 |
raitobezarius | cursedly | 09:02:35 |
raitobezarius | create a new partition | 09:02:38 |
raitobezarius | and make a multi disk bcachefs thingie? | 09:02:44 |
raitobezarius | you're welcome | 09:03:00 |
K900 | Uhh | 09:03:02 |
K900 | dd time | 09:03:04 |
K900 | OK dd time succeeded | 09:15:40 |
K900 | (or rather, sfdisk time) | 09:15:50 |
| Rosario Pulella joined the room. | 12:27:39 |
| dgrig joined the room. | 15:13:18 |
| Ruther joined the room. | 19:52:38 |
| 3 Apr 2024 |
| quentin joined the room. | 00:28:49 |
| blu3 changed their display name from exet to blu3. | 16:01:24 |
| blu3 set a profile picture. | 16:44:08 |
| 5 Apr 2024 |
| kittenmreeow joined the room. | 15:16:46 |
| 6 Apr 2024 |
steveej | i'm working on a nixos config for a cloud-hypervisor based hosting platform. they load the kernel and initram directly without a bootloader. they hardcode calling /init. now i'm looking for a way to replace the /init. i've accepted the fact that i won't be able to do fallback for now. what is the right place in a config to execute this? i'm thinking of boot.loader.external.installHook but don't fully understand the context it runs in | 09:41:28 |
steveej | * i'm working on a nixos config for a cloud-hypervisor based hosting platform. they load the kernel and initram directly without a bootloader. they hardcode calling /init. now i'm looking for a way to replace the /init on nixos-rebuild switch or boot. i've accepted the fact that i won't be able to do fallback for now. what is the right place in a config to execute this? i'm thinking of boot.loader.external.installHook but don't fully understand the context it runs in | 09:42:04 |
K900 | What we've done in NixOS-WSL is use an activation script to inject a binary there | 09:43:43 |
K900 | That looks something like this: https://github.com/nix-community/NixOS-WSL/blob/main/utils/src/shim.rs | 09:44:21 |
K900 | You probably want to do something similar | 09:44:27 |
K900 | (or even steal that one wholesale as I'm pretty sure it doesn't have any WSL specific hacks left) | 09:44:39 |
steveej | i thought about an activation that too. does that work in the nixos-rebuild boot case? i thought it's only executed when the new system is booted, which in my case relies on /init pointing to the new system | 09:47:41 |