0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

WSL2インストール後に仮想マシンの起動に失敗する

Posted at

Windows11 + WSL2によって仮想環境のインスストールが簡単になったとのことで、テストしてみたところ、「WslRegisterDistribution failed」と出て、動かなくてハマったのでメモです。

環境

  • Windows11 Home (21H2)
  • Ryzen7 5800HS

WSLインストール

管理者モードで以下のコマンドでWSL環境をインストールします。

wsl --install

デフォルトでubuntuマシンがインストールされます。

バージョンチェック

以下のコマンドでバージョンがわかります。

wsl -l -v

実行&エラー

再起動後にubuntuと打って実行すると以下のエラーが出ます。

> ubuntu
Installing, this may take a few minutes....
WslRegisterDistribution failed with error 0x80370109
...

チェックポイント

BIOS(UFEI)設定

BIOS(UFEI)で「SVMモード」がEnableになっているの確認します
機種によって異なりますので、頑張って探しましょう。

Windows機能の有効化

それでも起動しない場合は「Windows機能の有効化」メニューから「Windowsハイパーバイザープラットフォーム」のチェックがONになっているか確認してください。

スクリーンショット 2022-06-21 160717.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?