HOME>WEBプログラム覚書>[Vagrant]ネットの情報通りやったのに動かない場合
[Vagrant]ネットの情報通りやったのに動かない場合
もしかしてCPUがAMDじゃね?
CPUがAMDだとVirtualBoxが64bitのゲストOSを作成できない場合がありますw
32bit のゲストOSだと動きます。
64bitのOS起動すると下記のようなエラーになります。
SH
[default] Importing base box 'centos64'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Fixed port collision for 22 => 2222. Now on port 2200.
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2200 (adapter 1)
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes... <= ここでやたら時間がかかる
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period. This can
mean a number of things.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
OS |
Windows 8.1 Pro |
CPU |
AMD FX(tm)-8120 Eight-Core Proccessor 3.10GHz |
VirtualBox |
4.3.2 r90405 |
上記構成でA list of base boxes for Vagrant - Vagrantbox.esにある
- CentOS 6.4 x86_64
- CentOS 6.4 x86_64 Minimal (VirtualBox Guest Additions 4.2.16, Chef 11.6.0, Puppet 3.2.3)
は
ホストマシンの仮想化支援機能(VT-x/AMD-V)が使用できません。64ビット ゲストOSは64ビットCPUを検出できず、起動できません。
とかいうエラーで起動せず
- CentOS 6.4 i386 Minimal (VirtualBox Guest Additions 4.2.16, Chef 11.6.0, Puppet 3.2.3)
なら動きました。
以下結局ダメだったけど試したこと
ホストマシンの仮想化支援機能(VT-x/AMD-V)の有効化
仮想化支援機能(VT-x/AMD-V)を有効化するといいらしいですが、BIOS見てもそれらしいものはありませんでした。
たぶんこのCPUは対応してないんでしょうね。
Intel(R) Virtualization Technology: Enabled
Intel(R) VT-d Feature: Enabled
仮想化支援機能(VT-x/AMD-V)を有効化できません - ablog
VirtualBoxのACPIの無効化
よくわかんないけどデフォルトでACPIが有効だからダメなのかと思ってVirtualBoxのACPIを無効化してみた。
以前のバージョンではこの項目にACPIの設定項目がありましたが、ACPIが広く普及したということで現在は無くなっています。
VirutalBoxはデフォルトでACPIを有効化していますが、VboxManageコマンドを使えばACPIを無効化できます。
システム設定 | VirtualBox Mania
VBoxManage modifyvmコマンド | VirtualBox Mania
だめだった。
SH
This kernel requires x86-64 CPU, but only detected an i686 CPU.
Unable to boot - please use a kernel appropriate for your CPU.
投稿日 |
2013年11月16日 03:44 |
カテゴリ |
ETC |
タグ |
Vagrant | VirtualBox | 開発環境 |
トラックバック URL |
http://www.kantenna.com/cgi-bin/mt504/mt-tb.cgi/1334 |
コメント