wsl: Read-only file system
- open WSL and run:
sudo e2fsck /dev/sdb -y
sudo e2fsck /dev/sdb -p
- open PowerShell and run:
wsl --shutdown
## Step 1 | |
Open C:\Windows\System32\drivers\etc\hosts | |
## Step 2 | |
Add 1.2.3.4 account.jetbrains.com | |
## Step 3 | |
Add this key to 1nte11ij | |
``This key works well and expires 2024 |
using System; | |
using System.Threading; | |
class Program | |
{ | |
private static bool isRunning = false; | |
private static bool isMonitoring = false; | |
private static DateTime lastExecutionTime; | |
static void Main(string[] args) |
Error: | |
Could not transfer artifact ... from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: ... | |
1. Open file ${MAVEN_HOME}/conf/settings.xml and Comment these lines | |
<mirror> | |
<id>maven-default-http-blocker</id> | |
<mirrorOf>external:http:*</mirrorOf> | |
<name>Pseudo repository to mirror external repositories initially using HTTP.</name> |
wsl: Read-only file system
sudo e2fsck /dev/sdb -y
sudo e2fsck /dev/sdb -p
wsl --shutdown
export DISPLAY="grep nameserver /etc/resolv.conf | sed 's/nameserver //'
:0"
» sudo systemctl daemon-reload
System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
==============================================
Edit*
/etc/wsl.conf
with any editor: