How to build GhostBSD?

From GhostBSD Wiki
Revision as of 11:19, 26 January 2020 by Slughorn (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

The purpose of this tool is quickly generate live images for GhostBSD.

Features

  • Build GhostBSD from packages
  • Mate, XFCE, Cinnamon and KDE desktop environments
  • Hybrid DVD/USB image

Graphics Support

  • Compatible with VirtualBox, VMware, NVIDIA graphics out of box
  • SCFB support with automatic best resolution for UEFI enabled systems with
  • Intel/AMD graphics

System Requirements for Latest Version of GhostBSD

  • 20GB of free disk space
  • 4GB of free memory

Note: GhostBSD 19.09 and later should be used to build ISO.


Setup

Initial Setup

  • Install the required packages

pkg install git transmission-cli rsync

  • Make sure to have linux64 kernel module loaded

kldload linux64
sysrc -f /etc/rc.conf kld_list="linux64"

Clone the Repo

git clone https://www.github.com/ghostbsd/ghostbsd-build.git


Starting a Build

  • Enter the directory for running the LiveCD build script:

cd ghostbsd-build

  • To build a GhostBSD with MATE as default desktop

./build.sh

or

./build.sh -d mate

  • Option: To build GhostBSD with XFCE as default desktop

./build.sh -d xfce

  • Option: To build GhostBSD with Cinnamon as default desktop

./build.sh -d cinnamon

  • Option: To build GhostBSD the default KDE desktop

./build.sh -d kde

  • Option: To build GhostBSD release MATE desktop

./build.sh -r release

or

./build.sh -d mate -r release

  • Option: To build GhostBSD development MATE desktop iso

./build.sh

or

./build.sh -d mate -r devel

Burn an image to cd:

cdrecord /usr/local/ghostbsd-build/iso/GhostBSD19.10.iso

Write an image to usb stick:

dd if=/usr/local/ghostbsd-build/iso/GhostBSD19.10.iso of=/dev/da0 bs=4m

Source https://github.com/ghostbsd/ghostbsd-build



KhostBSD.png KhostBSD (GhostBSD KDE Community Build)

If you looking for GhostBSD with KDE Plasma 5, you can find it at:

ftp://219.121.16.20/pub/KhostBSD/GhostBSD19.09-2019-08-17-KDE.iso It is an unofficial iso. Once booted you will need to open a terminal and run:

sudo gbi

Gbi is the installer program.

Author:Vic Thacker

GBI is the GhostBSD front end user interface for pc-sysinstall [1]

Some Instructions

From khostbsd build instructions:

Live media creator for GhostBSD distribution Introduction

System Requirements

   Latest version of GhostBSD or TrueOS
   20GB of free disk space
   4GB of free memory

Note: GhostBSD 19.04 and earlier releases cannot be used to build ISO.

Initial Setup

  • Install the required packages:
 pkg install git transmission-cli rsync
  • Make sure to have linux64 kernel module loaded
 kldload linux64
 sysrc -f /etc/rc.conf kld_list="linux64"
  • Clone the repo:
  git clone https://www.github.com/ghostbsd/ghostbsd-build.git
  • Enter the directory for running the LiveCD build script:
 cd ghostbsd-build
  • To build a GhostBSD with KDE as default desktop
./build.sh kde
  • Burn an image to cd:
  cdrecord /usr/local/ghostbsd-build/iso/GhostBSD18.12.iso
  • Write an image to usb stick:
  dd if=/usr/local/ghostbsd-build/iso/GhostBSD18.12.iso of=/dev/da0 bs=4m 

If You Download KDE From Ports

Be sure to install all of the needed packages. Here is an example from Vic Thacker on Telegram from 13.01.2010: https://github.com/ghostbsd/ghostbsd-build/blob/master/packages/kde