LoginSignup
1
2

More than 5 years have passed since last update.

Ubuntu 16.04のUEFI起動Vagrant Box自動作成

Last updated at Posted at 2017-03-20

これは何?

VirtualBoxでUEFIを有効にした状態のUbuntu 16.04.xのVagrant boxをPackerで作成しました。

出来上がったビルドスクリプトはこちら

ハマりポイント

作成するにあたって、以下の点に苦労しました。

  • インストールCDのGRUBオプションがわからなかった
    boot_command の最後に boot /linux を指定する必要がある
    こんな感じ
  • パーティション設定がおかしくてコケる(どうおかしかったかはわかりません) 他の方の設定を参考に修正しました。何がいけなかったのだろう?
    結果、このようになりました
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