Difference between revisions of "FreeBSD Guest Notes"

From Proxmox VE
Jump to navigation Jump to search
(Created page with "Category:HowTo")
 
 
(39 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:HowTo]]
+
[[Category:HOWTO]]
 +
Setting up a FreeBSD Guest on PVE.
 +
:'''Note:''' This has been tested with FreeBSD 10.3 RELEASE (and patch levels). Some steps have been removed as they have been deprecated in newer FreeBSD versions.
 +
 
 +
==Create VM==
 +
* Download the FreeBSD 10.3-RELEASE-amd64 DVD ISO (from [http://www.freebsd.org/where.html here]) and transfer it to your VM server.
 +
* Create a new VM:
 +
** CPU: dual-socket and/or dual-core
 +
** RAM: 2GB (minimum)
 +
** Network: Virtio
 +
** Disk: 32GB (or higher), virtio, qcow2
 +
** Add FreeBSD 10.3-RELEASE-amd64 DVD ISO as an optical drive.
 +
 
 +
==Install FreeBSD==
 +
* Power on the VM.
 +
* It should boot to the FreeBSD 10.3-RELEASE-amd64 DVD ISO.
 +
* System Components: Disable optional (games, etc).
 +
* Disks: Auto (ZFS) Guided Root-on-ZFS, stripe virtual device, choose vtbd0 VirtIO Block Device.
 +
* Network: Choose vtnet0 VirtIO Networking Adapter. Use ipv4 only (unless you also use ipv6).
 +
* Services: Add ntpd.
 +
* This should leave you with FreeBSD 10.3-RELEASE installed on the primary drive.
 +
* Shut down the VM after installation.
 +
* Remove the ISO from the VM's optical drive (set to empty).
 +
* Verify the VM's boot order is set to the primary hard disk first.
 +
 
 +
==First Boot==
 +
* Power on the VM and log in.
 +
* Set the time:
 +
<pre>
 +
ntpdate -s pool.ntp.org
 +
</pre>
 +
* Update the system:
 +
<pre>
 +
freebsd-update fetch
 +
freebsd-update install
 +
</pre>
 +
* Reboot

Latest revision as of 20:43, 27 April 2016

Setting up a FreeBSD Guest on PVE.

Note: This has been tested with FreeBSD 10.3 RELEASE (and patch levels). Some steps have been removed as they have been deprecated in newer FreeBSD versions.

Create VM

  • Download the FreeBSD 10.3-RELEASE-amd64 DVD ISO (from here) and transfer it to your VM server.
  • Create a new VM:
    • CPU: dual-socket and/or dual-core
    • RAM: 2GB (minimum)
    • Network: Virtio
    • Disk: 32GB (or higher), virtio, qcow2
    • Add FreeBSD 10.3-RELEASE-amd64 DVD ISO as an optical drive.

Install FreeBSD

  • Power on the VM.
  • It should boot to the FreeBSD 10.3-RELEASE-amd64 DVD ISO.
  • System Components: Disable optional (games, etc).
  • Disks: Auto (ZFS) Guided Root-on-ZFS, stripe virtual device, choose vtbd0 VirtIO Block Device.
  • Network: Choose vtnet0 VirtIO Networking Adapter. Use ipv4 only (unless you also use ipv6).
  • Services: Add ntpd.
  • This should leave you with FreeBSD 10.3-RELEASE installed on the primary drive.
  • Shut down the VM after installation.
  • Remove the ISO from the VM's optical drive (set to empty).
  • Verify the VM's boot order is set to the primary hard disk first.

First Boot

  • Power on the VM and log in.
  • Set the time:
ntpdate -s pool.ntp.org
  • Update the system:
freebsd-update fetch
freebsd-update install
  • Reboot