only windows commands!

This commit is contained in:
Mylloon 2023-03-13 00:15:38 +01:00
parent 77153873e7
commit ca8a0d2897
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -23,6 +23,16 @@ Ensuite, il faut définir un utilisateur :
>Arch.exe config --default-user anri
```
[Fix bug `ldconfig`](https://github.com/microsoft/WSL/issues/5548#issuecomment-1366418464) :
```batch
CD \Windows\System32\lxss\lib
DEL libcuda.so
DEL libcuda.so.1
MKLINK libcuda.so libcuda.so.1.1
MKLINK libcuda.so.1 libcuda.so.1.1
```
Commande pour lancer mon installation :
```bash
@ -30,25 +40,6 @@ Commande pour lancer mon installation :
[anri@PC ~]# curl https://git.mylloon.fr/Anri/confOS/raw/branch/main/arch_wsl.sh -s | bash
```
[Fix bug `ldconfig`](https://github.com/microsoft/WSL/issues/5548#issuecomment-1366418464) :
```bash
# in cmd as admin
cd C:\Windows\System32\lxss\lib
del libcuda.so
del libcuda.so.1
wsl -e /bin/bash
# in WSL
ln -s libcuda.so.1.1 libcuda.so.1
ln -s libcuda.so.1.1 libcuda.so
exit
# back in CMD
wsl --shutdown
wsl -e /bin/bash
# in restarted WSL
sudo ldconfig
```
## Arch
<details><summary>Procédure dans l'image ISO</summary>