差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
windows:wsl:trouble_shooting [2020/09/13 04:20] – ともやん | windows:wsl:trouble_shooting [2020/09/16 06:51] (現在) – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== トラブルシューティング ====== | + | ====== |
+ | {{windows: | ||
===== WSL 2 が起動しない場合... ===== | ===== WSL 2 が起動しない場合... ===== | ||
行 45: | 行 46: | ||
<WRAP prewrap 100% #result> | <WRAP prewrap 100% #result> | ||
<code powershell> | <code powershell> | ||
- | リモート プロシージャ コールに失敗し | + | リモート プロシージャ コールに失敗しました。 |
+ | </ | ||
+ | </ | ||
+ | **WSL1, WSL2** ともに全滅です。潔く諦めましょう😅💦💦💦\\ | ||
+ | 昨日の最新情報: | ||
+ | |||
+ | 動かないものは諦めて [[windows: | ||
+ | つまり、軽量ユーティリティ VM ではなく、重量ハイパーバイザー VM を使うと言うことです。\\ | ||
+ | |||
+ | どうしても WSL を使用したい場合は **[設定] - [更新とセキュリティ] - [回復]** へ行き、**「まえのバージョンの Windows 10 に戻す」** を実行する。(**ディスク クリーンアップ (cleanmgr.exe)** で **以前の Windows のインストール** を破棄してしまった場合は、これが不可能なので次の更新で改善されるのを待つしたありません)\\ | ||
+ | {{windows: | ||
+ | {{windows: | ||
+ | |||
+ | **wsl** コマンドのヘルプも半分以上英語で中途半端に日本語です😅💦💦💦(徹夜で作ったのかな❓)\\ | ||
+ | <WRAP prewrap 100%> | ||
+ | <code powershell> | ||
+ | $ wsl --help | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% # | ||
+ | <code powershell> | ||
+ | Copyright (c) Microsoft Corporation. All rights reserved. | ||
+ | |||
+ | Usage: wsl.exe [Argument] [Options...] [CommandLine] | ||
+ | |||
+ | Arguments for running Linux binaries: | ||
+ | |||
+ | If no command line is provided, wsl.exe launches the default shell. | ||
+ | |||
+ | --exec, -e < | ||
+ | Execute the specified command without using the default Linux shell. | ||
+ | |||
+ | -- | ||
+ | Pass the remaining command line as is. | ||
+ | |||
+ | Options: | ||
+ | --distribution, | ||
+ | Run the specified distribution. | ||
+ | |||
+ | --user, -u < | ||
+ | Run as the specified user. | ||
+ | |||
+ | Arguments for managing Windows Subsystem for Linux: | ||
+ | |||
+ | --export < | ||
+ | Exports the distribution to a tar file. | ||
+ | The filename can be - for standard output. | ||
+ | |||
+ | --import < | ||
+ | Imports the specified tar file as a new distribution. | ||
+ | The filename can be - for standard input. | ||
+ | |||
+ | Options: | ||
+ | --version < | ||
+ | Specifies the version to use for the new distribution. | ||
+ | |||
+ | --list, -l [Options] | ||
+ | Lists distributions. | ||
+ | |||
+ | Options: | ||
+ | --all | ||
+ | List all distributions, | ||
+ | being installed or uninstalled. | ||
+ | |||
+ | --running | ||
+ | List only distributions that are currently running. | ||
+ | |||
+ | --quiet, -q | ||
+ | Only show distribution names. | ||
+ | |||
+ | --verbose, -v | ||
+ | Show detailed information about all distributions. | ||
+ | |||
+ | --set-default, | ||
+ | Sets the distribution as the default. | ||
+ | |||
+ | --set-default-version < | ||
+ | Changes the default install version for new distributions. | ||
+ | |||
+ | --set-version < | ||
+ | Changes the version of the specified distribution. | ||
+ | |||
+ | --shutdown | ||
+ | Immediately terminates all running distributions and the WSL 2 lightweight utility virtual machine. | ||
+ | |||
+ | --status | ||
+ | Show the status of Windows Subsystem for Linux. | ||
+ | |||
+ | --terminate, | ||
+ | Terminates the specified distribution. | ||
+ | |||
+ | --unregister < | ||
+ | Unregisters the distribution and deletes the root filesystem. | ||
+ | |||
+ | --update [Options] | ||
+ | Manage updates to the WSL 2 kernel. If no options are specified, this will | ||
+ | update to the latest kernel version. | ||
+ | |||
+ | Options: | ||
+ | --rollback | ||
+ | Revert to the previous version of the WSL 2 kernel. | ||
+ | |||
+ | --help | ||
+ | Display usage information. | ||
+ | |||
+ | --マウント < | ||
+ | すべての WSL2 配布に物理ディスクをアタッチしてマウントします。 | ||
+ | |||
+ | オプション: | ||
+ | --ベア | ||
+ | ディスクを WSL2 に接続しますが、マウントしないでください。 | ||
+ | |||
+ | --入力 < | ||
+ | ディスクのマウント時に使用するファイルシステムです。指定しない場合は、既定で ext4 になります。 | ||
</ | </ | ||
</ | </ | ||
- | **WSL1, WSL2** ともに全滅です。諦めましょう😅💦💦💦\\ | ||
**OS 情報**\\ | **OS 情報**\\ |