Install Debian Linux 9.8 in iohyve

From Aram's Wiki
Jump to: navigation, search


Introduction

We'll Install Debian Linux 9.8 in iohyve.

Prerequisites

Properly configured iohyve running on FreeBSD. All commands below run as root.

Install

Fetch Installation Medium

iohyve fetchiso https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.8.0-amd64-netinst.iso

Create VM

iohyve create debian 100G
iohyve set debian ram=8G cpu=4 os=debian loader=grub-bhyve bargs=-A_-H_-P_-u

Adjust to taste.

Install VM

iohyve install debian debian-9.8.0-amd64-netinst.iso
iohyve console debian

Install whole disk, do not use LVM.

Configure

Start VM

iohyve start debian
iohyve console debian
iohyve set debian boot=1

See Debian Linux Post Install Steps.