Project

General

Profile

Support #770

Automated Installation of FreeBSD Using pc-sysinstall

Added by Daniel Curtis almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installation
Target version:
Start date:
03/06/2016
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

Description

This is a guide on how I manually setup FreeBSD with a ZFS root on a GPT formatted hard drive using the very useful pc-sysinstall utility. This guide is intended to install FreeBSD using the installation DVD and will work offline.

  • When the FreeBSD Installer Welcome message appears, choose Shell.
  • Get a list of available drives:
    camcontrol devlist
    
  • Create a pcinstall.local.cfg file:
    vi /tmp/pcinstall.local.cfg
    
    • And add the following:
      #$FreeBSD$
      # Automatic fresh install
      installInteractive=no
      installMode=fresh
      installType=FreeBSD
      
      # Local Installation Media
      installMedium=local
      localPath=/usr/freebsd-dist
      packageType=dist
      distFiles=base kernel lib32 
      pkgExt=.txz
      
      netSaveDev=AUTO-DHCP
      
      # Disk Setup for ada0
      disk0=ada0
      partition=ALL
      bootManager=none
      commitDiskPart
      
      # Partition Setup for ada0(ALL)
      disk0-part=ZFS 0 /,/usr,/var
      commitDiskLabel
      
      # Optional Components
      #installComponents=
      
      # Root Password
      rootPass=SuperSecretRootPassword
      
      # Users
      userName=bob
      userComment=Bob Guy
      userPass=SuperSecretPassword
      userShell=/bin/csh
      userHome=/home/bob
      userGroups=wheel,operator
      commitUser
      
  • Run the pc-sysinstall utility with the created config file:
    pc-sysinstall -c /tmp/pcinstall.local.cfg
    

Resources

#1

Updated by Daniel Curtis almost 9 years ago

  • Description updated (diff)
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#2

Updated by Daniel Curtis almost 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF