LoginSignup
3
3

More than 5 years have passed since last update.

VirtualBox 上の CentOS7 仮想マシンで Kernel panic 起動トラブル

Last updated at Posted at 2017-02-11

先ほど作ったばかりの VirtualBox 上の CentOS7 の仮想マシンで起動トラブルが発生した.たまたま解決できたようなので,今回も備忘録として(画面,コピペもスクショもとれなかったのでテキスト説明で)

【環境】
- Mac
- VirtualBox Version 5.0.32 r112930
- CentOS-7-x86_64-Minimal-1511.iso (このファイルで仮想マシン作成)
- CentOS Linux release 7.3.1611 (Core) (# yum -y update 後)
- SELINUX は無効化済み

/etc/sysconfig/selinux
SELINUX=disabled

VirtualBox から仮想マシンを起動すると3つの OS の選択画面が出るが,

CentOS Linux (3.10.0-514.6.1.el7.x86_64) 7 (Core)
CentOS Linux (3.10.0-327.el7.x86_64) 7 (Core)
CentOS Linux (0-rescue-1***f) 7 (Core)

通常,そのまま待っていると,数秒後にトップのものが自動的に選択される.

ところが,次の画面

error: file '/initramfs-3.10.0-514.6.1.el7.x86_64.img' not found.

Press any key to continue...

そして

[****.****] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

以下何行ものエラーが出た.

たまたま発見したのだが,起動直後の3つの OS の選択画面で,2番めのものを選ぶと,普通に起動した.Power Off し,再度1番めのものを選ぶと,無事起動.

CentOS Linux 7 (Core)
Kernel 3.10.0-514.6.1.el17.x86_64 on an x86_64
localhost login: _

この状態のものを .ova ファイルにエクスポートし,インポートすると,問題なく起動するようになった.この .ova ファイルを別途保存し,活用することにする.

3
3
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
3
3