HOME>WEBプログラム覚書>[Vagrant]ネットの情報通りやったのに動かない場合

[Vagrant]ネットの情報通りやったのに動かない場合

もしかしてCPUがAMDじゃね?

CPUがAMDだとVirtualBoxが64bitのゲストOSを作成できない場合がありますw 32bit のゲストOSだと動きます。

64bitのOS起動すると下記のようなエラーになります。

SH

  1. [default] Importing base box 'centos64'...
  2. [default] Matching MAC address for NAT networking...
  3. [default] Setting the name of the VM...
  4. [default] Clearing any previously set forwarded ports...
  5. [default] Fixed port collision for 22 => 2222. Now on port 2200.
  6. [default] Creating shared folders metadata...
  7. [default] Clearing any previously set network interfaces...
  8. [default] Preparing network interfaces based on configuration...
  9. [default] Forwarding ports...
  10. [default] -- 22 => 2200 (adapter 1)
  11. [default] Booting VM...
  12. [default] Waiting for machine to boot. This may take a few minutes... <= ここでやたら時間がかかる
  13. Timed out while waiting for the machine to boot. This means that
  14. Vagrant was unable to communicate with the guest machine within
  15. the configured ("config.vm.boot_timeout" value) time period. This can
  16. mean a number of things.
  17.  
  18. If you're using a custom box, make sure that networking is properly
  19. working and you're able to connect to the machine. It is a common
  20. problem that networking isn't setup properly in these boxes.
  21. Verify that authentication configurations are also setup properly,
  22. as well.
  23.  
  24. If the box appears to be booting properly, you may want to increase
  25. 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

  1. This kernel requires x86-64 CPU, but only detected an i686 CPU.
  2. Unable to boot - please use a kernel appropriate for your CPU.

VAIO Pro 13 がほしいです・・・

投稿日 2013年11月16日 03:44
カテゴリ ETC
タグ Vagrant | VirtualBox | 開発環境
トラックバック URL http://www.kantenna.com/cgi-bin/mt504/mt-tb.cgi/1334

コメント

コメントする
Name
Email Address
URL