【VirtualBox】Win11へインストールしてCentOS8を起動してみた

install

VirtualBox を Windows11 にインストールしてVM(CentOS8)を起動しようとしたところ
エラーが発生したのでそのエラーと対処方法について紹介します。

エラーの内容: Failed to get device handle and/or partition ID for 00000000011fb500

VirtualBox と Window11 のバージョン情報

VirtualBoxとWin11のVersion情報

「Oracle VM VirtualBox マネージャー」にて作成したVMの[起動]をクリックすると

以下のエラーが表示されます。

Failed to get device handle and/or partition ID for 00000000011fb500

仮想マシン”CentOS8″のセッションを開けませんでした。

Failed to get device handle and/or partition ID for 00000000011fb500 (hPartitionDevice=0000000000000bbd, Last=0xc0000002/1) (VERR_NEM_VM_CREATE_FAILED).

終了コード : E_FAIL (0x80004005)
コンポーネント: ConsoleWrap
インターフェース: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}


解決方法:VirtualBox 6.1.28以降をインストールする

該当する原因は以下に記載されています。

KB5007125: Oracle VirtualBox がインストールされた Windows 11 にアップグレードした場合の互換性保持

上記の回避策を確認すると「Hyper-V または Windows ハイパーバイザーを一時的に削除する必要があります。」となっていますが、WSLを使っているためそれはしたくありません。

さらに調査を進めると以下にたどり着きました。

Ticket #20536

Windows11でVMが起動しない問題はVirtualBox 6.1.28 にて修正されたとのことでした。

VirtualBox 6.1.14 をインストールした際に以下が表示されていました。

VirtualBox 情報

最新バージョンは 6.1.30 とのことでこれをダウンロードして
インストールしなおせば問題は解決しそうです。

Index of http://download.virtualbox.org/virtualbox/6.1.30

上記から「VirtualBox-6.1.30-148432-Win.exe」をダウンロードします。

ダウンロードしたEXEファイルを実行してインストールを開始します。

[Next >]をクリックします。

Welcom to the Oracle VM VirtualBox 6.1.30 Setup Wizard

[Next >]をクリックします 。

Select the way you want features to be installed

[Next >]をクリックします 。

Select the way you want features to be installed

[Yes]をクリックします。

Installing the Oracle VM VirtualBox 6.1.30 Networking feature will reset your network connection and temporarily disconnect you from the network.

Proceed with installation now?

[Install]をクリックします。

Click Install to begin the installation. If you want to review or change any of your installation settings, click Back, Click Cancel to exit the wizard.

インストールが開始されますので少し待ちます。

Please wait while the Setup Wizard installs Oracle VM VirtualBox 6.1.30.
This may take several minutes.

[Finish]をクリックします。

Oracle VM VirtualBox 6.1.30 installation is complete.

仮想マシンの設定は今回省きますが作成したVM(CentOS8)の[起動]をクリックします。

CentOS8の起動

エラーも発生せず、CentOS8の起動に成功しました。

コメント

タイトルとURLをコピーしました