WSL import, install error: ERROR_BAD_EXE_FORMAT

オープン
#42,288 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発

調査の方向性

Start by reproducing the failure with the listed wsl --install Ubuntu, wsl --import, or wsl --import-in-place commands on the reported Windows and WSL versions. The report provides no diagnostic logs or source entry point, so first identify which registration or VM creation path returns ERROR_BAD_EXE_FORMAT. Done means locating the cause and confirming installation or import succeeds.

索引モデルが issue の本文から書いたものです。

説明

needs-author-feedback wsl2
Windows Version

Microsoft Windows [Version 10.0.22621.6060]

WSL Version

3.0.5.0

Are you using WSL 1, WSL 2, or WSLC?
  • WSL 2
  • WSL 1
  • WSLC
Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

wsl --install Ubuntu
wsl --import
wsl --import-in-place

Expected Behavior

install or import process ok

Actual Behavior

%1 is not a valid Win32 application. Error code: Wsl/InstallDistro/Service/RegisterDistro/CreateVm/HCS/ERROR_BAD_EXE_FORMAT

Diagnostic Logs

No response

主要言語
C++
スター
34.4k
フォーク
1.9k
平均マージ
1日 23時間
マージ済み PR(30日)
166

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/WSL のほかの issue

microsoft/WSL の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。