| 23 Jan 2025 |
matthewcroughan | I don't have a damned keyboard to enter rescue mode | 02:23:45 |
matthewcroughan | the only person with one went home with it in his bag | 02:23:52 |
ElvishJerricco | you sure you have USB support in this initrd? | 02:23:58 |
matthewcroughan | uas | 02:24:02 |
ElvishJerricco | oh | 02:24:05 |
ElvishJerricco | lol | 02:24:06 |
matthewcroughan | if I swap everything back to ext4 it does work | 02:24:10 |
ElvishJerricco | not like "the keyboard doesn't work" | 02:24:10 |
ElvishJerricco | like, you literally don't have a keyboard | 02:24:15 |
matthewcroughan | yea | 02:24:18 |
matthewcroughan | I see a lot more on my screen though such as "Type-C nix-store" | 02:25:59 |
matthewcroughan | so it can see the disk/device | 02:26:02 |
matthewcroughan | asahi doesn't have serial, and this isn't a qr code, annoyingly | 02:26:11 |
matthewcroughan | I wish it were a qr | 02:26:13 |
matthewcroughan | bad log photo coming up... | 02:26:54 |
matthewcroughan |  Download photo.jpg | 02:26:56 |
matthewcroughan | You can see that it does attempt to run the copytoram.service, which means its before/after must have been satisifed? | 02:28:07 |
jade_ | In reply to @matthewcroughan:defenestrate.it asahi doesn't have serial, and this isn't a qr code, annoyingly you'd have to get another Mac or a funny adaptor but if you don't have one yeah..... | 02:28:40 |
matthewcroughan | same for the Shiftphone 8, it has this "USB Cereal" thing which costs a bunch on crowdsupply, and has long lead times | 02:30:10 |
matthewcroughan | I think it's a race condition ElvishJerricco | 02:31:07 |
matthewcroughan | If you look at the logs, it starts copytoram.service, then almost immediately tries to mount /sysroot/nix/store | 02:31:34 |
matthewcroughan | it seems suspiciously fast | 02:31:54 |
ElvishJerricco | oh you need serviceConfig.Type = "oneshot"; on your service | 02:32:10 |
matthewcroughan | 🧠 | 02:32:17 |
matthewcroughan | I don't get why | 02:32:33 |
matthewcroughan | what is its default type? | 02:32:37 |
matthewcroughan | how would I use the manual to figure out its default type btw? | 02:32:46 |
matthewcroughan | are initrd services different than full system services | 02:33:20 |
matthewcroughan | * are initrd services different than full system services? | 02:33:21 |
ElvishJerricco | services are by default expected to be considered "started" as soon as their main process is forked from systemd. Because in a normal system, services are considered background tasks by default. In initrd though, they're usually oneshot jobs where they're not done until the process is done | 02:33:33 |