| 10 Nov 2022 |
nzbr (they/it) |  Download image.png | 11:29:52 |
nzbr (they/it) | houstdav000: Bingo! It's completely formatted as swap - not even a partition table | 11:30:37 |
K900 | So wait do they actually add swap by default | 11:32:34 |
nzbr (they/it) |  Download image.png | 11:33:29 |
nzbr (they/it) | apparently | 11:33:32 |
K900 | Blerf | 11:33:43 |
K900 | I guess I just have to remove that now | 11:33:50 |
nzbr (they/it) | It's possible to set it to a static path, so that's what I did now. It's weird that these aren't properly cleaned up though | 11:36:14 |
| 13 Nov 2022 |
K900 | So uh | 17:00:47 |
K900 | Pro tip | 17:00:48 |
K900 | Make sure you escape backslashes in your .wslconfig | 17:01:00 |
K900 | Or you'll end up with swap in %TEMP% and no disk space again | 17:01:11 |
K900 | Also for the love of god please don't write any more software that uses loosely defined .ini files as config | 17:01:38 |
K900 | At least use TOML | 17:01:47 |
nzbr (they/it) | That is good to know (i may or may not have just put some extra backslashes in there) | 17:02:40 |
K900 | To clarify | 17:14:10 |
K900 | The failure mode for "swap location is not a valid path" is "whatever just stick it in %TEMP% who cares lmao" | 17:14:24 |
K900 | Which is not a good failure mode | 17:14:31 |
K900 | Honestly I am still very impressed by the fact that WSL somehow does not have an out of band error log | 17:15:42 |
K900 | Like this feels like a thing that should have been there | 17:15:54 |
nzbr (they/it) | They should validate that file, when you try to boot the WSL VM, but probably decided that the don't want it to not boot if there's something wrong. But like - at least print a warning or something like that | 17:16:33 |
nzbr (they/it) | You can enable a debug console, but every time I tried, it just instantly closed itself | 17:17:06 |
K900 | The debug console is just dmesg from the VM | 17:17:56 |
nzbr (they/it) | In reply to @k900:0upti.me Honestly I am still very impressed by the fact that WSL somehow does not have an out of band error log If there is, I guess its buried deeeeep in event viewer | 17:19:54 |
K900 | I couldn't find anything there last time I made it not boot | 17:20:06 |
nzbr (they/it) | Microsofts Troubleshooting website is rather lacking - a lot of the things on there only apply to ubuntu anyway | 17:26:41 |
| 15 Nov 2022 |
| michael_j_ward joined the room. | 12:38:00 |
michael_j_ward | I am fairly novice at windows, so apologies. Is there a way to have windows start my nixos WSL distribution on powerup
I have a desktop box in an office which unfortunately loses power frequently, and I would like the WSL to start-up automatically when power recovers.
| 12:53:43 |
nzbr (they/it) | Not officially as far as I am aware | 12:54:54 |
michael_j_ward | gracias | 12:55:19 |