0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CentOS7をVNCでヘッドレスインストールする

0
Posted at

経緯

  • モニタ、マウス、キーボード、ケーブルなど面倒くさい
  • 検証機だから仮想化ではなく、実機にクリーンインストールしてた。

方法

  • CentOSのisoイメージを取得
  • USBメモリ等に焼く
  • /EFI/BOOT/grub.cfgを編集、2行目末尾にinst.vnc追加
menuentry 'Test this media & install CentOS 7'~~~{
	linuxefi /images/pxeboot/vmlinuz inst.stage2 ~~~ quiet inst.vnc
	initrdefi /images/pxeboot/initrd.img
}

使い方

  • USBメモリ等が一番最初にBOOTされるようにBIOS or EFIを設定
  • DHCPでIPを取得するので何かしらの方法で拾ってVNCで接続
  • おしまい

screenshot.1.png

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?