1
2

More than 5 years have passed since last update.

veeweeでVirtualBoxのPAEを有効にする方法

Posted at

vagrantのbox(CentOS6.4)を自作したかったので、veeweeを始めてみた。

  • virtualbox ・・・ 4.2.12
  • veewee ・・・ 0.3.7
  • box template ・・・ CentOS-6.4-i386-minimal

veeweeの使用方法は「veewee」でググればたくさん出るので割愛するが、(僕はRyuzeeさんのサイトを参考にした)
bundle exec veewee vbox build した際に、VirtualBox側で以下のMessageが表示され、buildが止まっていた。

Unable to boot - please use a kernel appropriate for your CPU

CentOS6系はCPUにPAE機能が必須らしく、VirtualBoxの設定で「PAE/NXを有効化」をONしないと
上記エラーが発生する模様。

veeweeでPAEを有効にする場合は、definitionsディレクトリ以下のdefinition.rbに

:pae => 'on',

を追加する。PAEが有効になって無事buildが正常終了した。

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