1
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?

【備忘録】VirtualBoxでAlmaLinux10がカーネルパニックを起こしてインストールができない

1
Posted at

この記事は初学者が書いているため、情報の正確性は保証できません

前提

CPU: Ryzen 7 PRO 7840U
VirtualBox: ver7.1.8

問題

VirtualBoxは起動するが、AlmaLinux(ver10.1)のインストール時にend Kernel panic...と表示されクラッシュする
スクリーンショット 2026-05-21 024401.png

結論

AlmaLinuxを前のバージョン(ver9.7)に戻したらうまくいった
(AlmaLinuxダウンロードサイトリンク: https://almalinux.org/get-almalinux/ )
スクリーンショット 2026-05-21 021821.png

原因

AlmaLinux10の要求スペックにVirtualBox7.1側が未対応だった

試したこと

AIに聞いたり検索したりして、以下のことを試したが解決には至らなかった
・仮想マシンの新規作成時にプロセッサー数を自分のPCと同じにする
スクリーンショット 2026-05-21 021332.png

・「Windowsの機能の有効化または無効化」から「仮想マシンプラットフォーム」と「Windows ハイパーバイザー プラットフォーム」を無効化する
スクリーンショット (2).png

・ファイル「VirtualBox.exe」があるディレクトリ下で以下のコマンドを実行(高度な計算命令セットを有効にするらしい)

:: "AlmaLinux" の部分は、自分が作成した仮想マシンの名前に書き換えてください
VBoxManage setextradata "AlmaLinux" "VBoxInternal/CPUM/IsaExts/AVX2" "1"
VBoxManage setextradata "AlmaLinux" "VBoxInternal/CPUM/IsaExts/POPCNT" "1"

補足

AVX2: 画像処理や膨大なデータを一気に計算するための命令セット
POPCNT: ビットデータ中の1の数を数え上げる命令

参考文献

tks_00様: https://qiita.com/tks_00/items/a78069c79c5fa5df412e

1
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
1
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?