Editing Installation Guide

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 6: Line 6:
  
 
== '''Introduction''' ==
 
== '''Introduction''' ==
GhostBSD comes with a Graphical installer call GBI.  
+
GhostBSD comes with a Graphical installer call GBI. GBI is a GTK graphical BSD installer program written by Eric Turgeon and introduced in 2011 for GhostBSD 2.5. GBI uses the [http://www.freebsd.org/cgi/man.cgi?query=pc-sysinstall pc-sysinstall] back-end developed by [http://www.pcbsd.org/en/kris-moore.html Kris Moore of PC-BSD].
  
 
After reading this chapter, you will know:
 
After reading this chapter, you will know:
Line 35: Line 35:
 
=== Supported Processors ===
 
=== Supported Processors ===
  
GhostBSD installs on any system containing a 64-bit (amd64) processor architecture. The amd64 name refers to AMD64 (“Hammer”) and Intel® EM64T architectures. [https://www.freebsd.org/releases/13.0R/hardware/#proc-amd64 The FreeBSD 13.0 Hardware Notes] lists the amd64 processors known to work.
+
GhostBSD installs on any system containing a 64-bit (amd64) processor architecture. The amd64 name refers to AMD64 (“Hammer”) and Intel® EM64T architectures. [https://www.freebsd.org/releases/11.0R/hardware.html#proc-amd64 The FreeBSD 12.0 Hardware Notes] lists the amd64 processors known to work.
  
 
=== Supported Video Cards ===
 
=== Supported Video Cards ===
  
GhostBSD uses X.org drivers for graphics support. During installation, graphics support will be configured automatically. Support for the major graphic vendors is as follows:
+
GhostBSD uses X.org drivers for graphics support. During installation, graphics support will be configured automatically.
 +
 
 +
;Support for the major graphic vendors is as follows:
  
 
'''NVIDIA:''' if you want to use 3D acceleration, NVIDIA is currently the best supported as there is a native driver for GhostBSD.
 
'''NVIDIA:''' if you want to use 3D acceleration, NVIDIA is currently the best supported as there is a native driver for GhostBSD.
Line 63: Line 65:
 
=== Check for FreeBSD Errata ===
 
=== Check for FreeBSD Errata ===
  
GhostBSD is based on Trueos, and TrueOS is based on FreeBSD. Although the TrueOS Project strives to ensure that each release of TrueOS is as stable as possible, bugs occasionally creep into the process. On very rare occasions those bugs affect the installation process. As these problems are discovered and fixed, they are noted in [https://www.freebsd.org/releases/13.0R/errata.html ''13.0-RELEASE Errata'' page on the FreeBSD web site]. Check the errata before installing to make sure that there are no problems that might affect the installation.
+
GhostBSD is based on Trueos, and TrueOS is based on FreeBSD. Although the TrueOS Project strives to ensure that each release of TrueOS is as stable as possible, bugs occasionally creep into the process. On very rare occasions those bugs affect the installation process. As these problems are discovered and fixed, they are noted in [https://www.freebsd.org/releases/12.0R/errata.html ''12.0-RELEASE Errata'' page on the FreeBSD web site]. Check the errata before installing to make sure that there are no problems that might affect the installation.
  
 
=== Prepare the Installation Media ===
 
=== Prepare the Installation Media ===
Line 70: Line 72:
  
 
=== Creating a bootable USB Flash Drive ===
 
=== Creating a bootable USB Flash Drive ===
 +
 +
==== Introduction ====
  
 
After downloading the appropriate .iso file, copy it to a USB flash drive using one of the methods described below. Depending on the operating system, issue one of the following appropriate commands:
 
After downloading the appropriate .iso file, copy it to a USB flash drive using one of the methods described below. Depending on the operating system, issue one of the following appropriate commands:
Line 75: Line 79:
 
==== On BSD ====
 
==== On BSD ====
  
: <code>dd if=/path/to/GhostBSD-21.01.20.iso of=/dev/da0 bs=4m</code>
+
: <code>dd if=/path/to/GhostBSD19.04.iso of=/dev/da0 bs=4m conv=sync</code>
  
 
==== On Linux ====
 
==== On Linux ====
  
: <code>sudo dd if=GhostBSD-21.01.20.iso of=/dev/sdf bs=4M</code>
+
: <code>sudo dd if=GhostBSD19.04.iso of=/dev/sdf bs=4M conv=sync</code>
  
 
==== On Mac ====
 
==== On Mac ====
  
: <code>dd if=/path/to/GhostBSD-21.01.20.iso of=/dev/disk2 bs=10240</code>
+
: <code>dd if=/path/to/GhostBSD19.04.iso of=/dev/disk2 bs=10240 conv=sync</code>
  
 
==== On Windows ====
 
==== On Windows ====
Line 97: Line 101:
 
==== Other USB Flash writer tools for Windows ====
 
==== Other USB Flash writer tools for Windows ====
  
Balena Etcher  [https://etcher.io] Works for Windows, macOS, & Linux.
+
Balena Etcher  [https://etcher.io] Works for Windows, macOS, & Linux
 
Rufus  [https://rufus.ie]  Works just for Windows, needs a checkbox selected to do a pure write of .ISO image file
 
Rufus  [https://rufus.ie]  Works just for Windows, needs a checkbox selected to do a pure write of .ISO image file
  
Line 118: Line 122:
  
 
If your computer starts up by loading your existing operating system, then either:
 
If your computer starts up by loading your existing operating system, then either:
* The installation media was not inserted early enough in the boot process. Ensure the installation media has been inserted, then restart the computer.
+
* The installation media (e.g., DVD) was not inserted early enough in the boot process. Ensure the installation media has been inserted, then restart the computer.
 
* The BIOS changes were not saved correctly. Review the BIOS settings and enable the correct boot setting.
 
* The BIOS changes were not saved correctly. Review the BIOS settings and enable the correct boot setting.
* Your BIOS does not support booting from the desired media.  
+
* Your BIOS does not support booting from the desired media. The Plop Boot Manager can be used to boot older computers from CD or USB media.
  
 
As GhostBSD begins to boot, you will see a black screen with similar text to this:
 
As GhostBSD begins to boot, you will see a black screen with similar text to this:
  
[[File:Boot-Menu.png|460px|]]
+
[[File:Boot-Menu.png]]
 
+
== '''Start Installer''' ==
+
After you boot into the GhostBSD Live session, open a terminal window and start the installer with `gbi`.
+
  
 
== '''Setting Language, Keyboard and Timezone''' ==
 
== '''Setting Language, Keyboard and Timezone''' ==
Line 167: Line 168:
 
[[File:Installer-Select-Timezone-Continent.PNG|460px|]]
 
[[File:Installer-Select-Timezone-Continent.PNG|460px|]]
  
 +
== '''Entire Disk Installation''' ==
  
== '''ZFS Full Disk Installation''' ==
+
===  Select Installation Type and Boot Manager ===
  
 +
Select the ''Use Entire Disk'' option to install GhostBSD on the entire disk selected.
  
=== Selecting Installation Type ===
+
[[File:Installer-Select-Installation-Type-and-Boot-Manager.PNG|460px|]]
 +
 
 +
=== Select Hard Disk Drive(s) ===
 +
 
 +
If a single disk is shown, select the disk. If multiple disks are shown, select the disks where GhostBSD will be installed.
 +
 
 +
[[File:Installer-UFS-Full-Disk-Configuration.PNG|460px|]]
 +
 
 +
 
 +
{| style="color:black; background-color:#f3f8fd;" class="wikitable"
 +
|'''Warning!''' Make sure to Back up all important data on the target disk where GhostBSD will be installed. The GhostBSD installer will not ask before making changes to the disk, but once the process has started, it cannot be undone.
 +
|}
 +
 
 +
== '''Auto Label Partitioning Installation''' ==
 +
 
 +
'''Auto label Partition''' can create a partition slice. It lets you choose how much space you want to use on the hard drive and automatically allocate a root(/) with UFS Journaling softupdates, SU+J and a swap that will equal the system ram. Using '''Auto label Partition''' is inspired by Windows partitioning. No worry about labelling partition, on most other systems it is not an option. 
 +
 
 +
 
 +
=== Selecting Disk, Installation option and Boot Manager ===
 
   
 
   
  
 
'''Figure 2.6a: Selecting Disk, Installation option and Boot Manager'''
 
'''Figure 2.6a: Selecting Disk, Installation option and Boot Manager'''
  
[[File:Installer-Select-Installation-Type.png|460px|]]
+
[[File:Installer-Select-Installation-Type-and-Boot-Manager.PNG|460px|]]
  
  
=== Choosing Disks ===
+
==== Choosing Disks ====
  
 
Choose the disk where GhostBSD is to be installed.
 
Choose the disk where GhostBSD is to be installed.
  
[[File:Installer-ZFS-Full-Disk-Configuration.PNG|460px]]
+
[[File:Installer-UFS-Full-Disk-Configuration.PNG|460px]]
  
 +
==== Auto label Partition ====
  
=== Boot Option ===
+
Select ''Auto label Partition'' to edit partition slice to the disk you want to install GhostBSD.
  
Select an available boot option.
+
==== BSD Boot Loader ====
  
[[File:Boot-Option.png|460px|]]
+
GhostBSD can be installed with or without a bootloader. If you dual boot with GNU/Linux on the same disk, you should use your Gnu/Linux Grub. We recommend you to use GhostBSD Boot Loader with MS Windows.
  
 +
=== Editing slice partition ===
  
== '''Custom Disk Configuration for UFS and ZFS''' ==
+
To create a partition for GhostBSD we recommend using at least 10GB.
  
Note: Process description coming soon.
+
{| style="color:black; background-color:#f3f8fd;" class="wikitable"
 +
|'''Warning!''' Make sure to Back up all important data before editing the target disk where GhostBSD will be installed. The GhostBSD installer partition editor is a real-time editor and it will not ask you before making changes to the disk, once the process has started it cannot be undone.
 +
 +
|}
 +
 
 +
'''Figure 2.6b: Editing slice partition'''
 +
 
 +
[[File:Slice.png]]
 +
 
 +
 
 +
==== Creating Partition ====
 +
To create a partition select the free space and click on add then ''Create'' button. adjust the space to the desired space.
 +
 
 +
==== Deleting Partition ====
 +
To delete some partition select the partition to delete and press the ''Delete'' button.
 +
 
 +
{| style="color:black; background-color:#f3f8fd;" class="wikitable"
 +
|'''Note:''' you have to select the right partition to install GhostBSD before pressing ''Forward''.
 +
|}
 +
 
 +
== '''Custom Disk Partitioning Installation''' ==
 +
 
 +
 
 +
'''Customize Disk Partition''' is the advanced user option, this is able to create custom partition slice and create multiple label. '''Customize Disk Partition''' lets you choose how much space to use on the hard drive. It also lets you allocate the label as wished. UFS, UFS Journaling softupdates, SU+J and a swap that should equal the system ram.
 +
 
 +
=== Selecting Disk, Installation option and Boot Manager ===
 +
 +
 
 +
'''Figure 2.7a: Selecting Disk, Installation option and Boot Manager'''
 +
 
 +
 
 +
==== Choosing Disks ====
 +
 
 +
Choose the disk where GhostBSD is to be installed.
 +
 
 +
 
 +
==== Auto label Partition ====
 +
 
 +
Select ''Auto label Partition'' to edit partition slice to the disk you want to install GhostBSD.
 +
 
 +
==== BSD Boot Loader ====
 +
 
 +
GhostBSD can be installed with or without a bootloader. If you dual boot with GNU/Linux on the same disk, you should use your Gnu/Linux Grub. We recommend you to use GhostBSD Boot Loader with MS Windows.
 +
 
 +
=== Editing slice partition ===
 +
 
 +
To create a partition for GhostBSD you need at least 10gb.
 +
 
 +
{| style="color:black; background-color:#f3f8fd;" class="wikitable"
 +
|'''Warning!''' Make sure to back up all important data before editing the target disk where GhostBSD will be installed. The GhostBSD installer partition editor is a real time editor and it will not ask you before making changes to the disk, but once the process has started it cannot be undone.
 +
 +
|}
 +
 
 +
'''Figure 2.7b: Editing slice partition'''
 +
 
 +
[[File:Slice.png]]
 +
 
 +
(This screen may look a bit differently on later versions.)
 +
 
 +
==== Creating Partition ====
 +
 
 +
To create a partition select the free space and click on the ''Create'' button. Adjust the space to the desired amount.
 +
 
 +
==== Deleting Partition ====
 +
To delete a partition, select the partition to delete and press the ''Delete'' button.
 +
 
 +
{| style="color:black; background-color:#f3f8fd;" class="wikitable"
 +
|'''Note:''' you have to select the right partition to install GhostBSD before pressing ''Forward''.
 +
|}
 +
 
 +
=== Creating Labels Partitions  ===
 +
 
 +
'''Figure 2.7c: Creating labels partitions'''
 +
 
 +
[[File:Label.png]]
 +
 
 +
(This screen may look a bit differently on later versions.)
 +
 
 +
==== Deleting Partitions labels ====
 +
 
 +
For deleting partitions labels you Select the label to delete and you click on the ''Delete'' button.
 +
 
 +
==== Create and edit labels ====
 +
The button ''Create'' will start the labels editor to Create new labels. You can also edit Partition labels already setup, by clicking on the ''Edit'' button.
 +
 
 +
{| style="color:black; background-color:#f3f8fd;" class="wikitable"
 +
|'''Note:''' You should always erase all old BSD partitions to avoid installation problems.
 +
|}
 +
 
 +
==== Labels editors ====
 +
 
 +
When you click on ''Create'' or ''Edit'' the labels partitions editor appears for editing custom partitions labels.
 +
 
 +
'''Figure 2.7d: Labels Editors'''
 +
 
 +
[[File:Create_label.png]]
 +
 
 +
(This screen may look a bit differently on later versions.)
 +
 
 +
===== Setting the Filesystem. =====
 +
 
 +
; Selecting the ''Type'' of file system
 +
 +
''UFS'', ''UFS+S'', ''UFS+J'', ''UFS+SUJ'' can be use for GhostBSD file system.
 +
 
 +
; Choosing Size
 +
 
 +
The size given to a label will limit the size of the mount point directory selected. Some space needs to be allocated for a BSD swap. 
 +
 
 +
; Selecting Mount Point
 +
 
 +
Mount Point contain a list of directory as follow ''/'', ''/boot'', ''/etc'', ''/home'', ''/root'', ''/tmp'', ''/usr'', ''/var'' and you can specify your own one.
 +
 
 +
===== Setting Swap =====
 +
 
 +
; Selecting the ''Type''
 +
 
 +
Under ''Type'' choosing ''SWAP'' will create BSD swap.
 +
 
 +
; Choosing Size
 +
 
 +
Matching the ''Size'' of the Swap with the ram ''Size'' is recommended, but if the machine is not used for compiling, installing apps from ports, or for heavy processing, the swap can be set a lot lower in size.
 +
 +
; Selecting mount point
 +
 
 +
Select the ''Mount Point'' to none.
  
 
== '''Adding Root Password and User''' ==
 
== '''Adding Root Password and User''' ==
Line 227: Line 375:
 
[[File:Installer-User-Setup.PNG|460px|]]
 
[[File:Installer-User-Setup.PNG|460px|]]
  
== '''Installation Progress''' ==
+
== '''Installation Summary and Progress''' ==
  
 +
=== Pre-installation Summary===
 +
 +
This window gives the opportunity to look at the installer configuration before going further.
 +
 +
'''Figure 2.9a: Summary'''
 +
 +
[[File:Summary.png|460px|]]
 +
 +
(This screen may look a bit differently on later versions.)
  
 
=== Installation Progress ===
 
=== Installation Progress ===
Line 256: Line 413:
 
'''Figure 2.9d: Installation Completed'''
 
'''Figure 2.9d: Installation Completed'''
  
[[File:Installer-Completed.PNG|460px|]]
+
[[File:Installer-Completed.PNG]]
  
 
Click the ''Restart'' button to reboot into your GhostBSD installation. Wait until the system exits the GUI before removing the installation media.
 
Click the ''Restart'' button to reboot into your GhostBSD installation. Wait until the system exits the GUI before removing the installation media.
Line 304: Line 461:
  
 
If you boot your system and you receive a ''mountroot>'' command prompt, it may be due to a change in the location of the boot device. This can occur when the installation was made on another machine and then transferring the HDD without an adjustment to the ''/etc/fstab'' file, or if a card reader is involved (including card readers on a USB dongle). The solution is to enter ''ufs:/dev/da1'' at the prompt (it will always be ufs for the installer media). Depending on the exact location of the boot media, it may be different than ''da1.'' Typing <code>?</code> at the prompt should display available devices.
 
If you boot your system and you receive a ''mountroot>'' command prompt, it may be due to a change in the location of the boot device. This can occur when the installation was made on another machine and then transferring the HDD without an adjustment to the ''/etc/fstab'' file, or if a card reader is involved (including card readers on a USB dongle). The solution is to enter ''ufs:/dev/da1'' at the prompt (it will always be ufs for the installer media). Depending on the exact location of the boot media, it may be different than ''da1.'' Typing <code>?</code> at the prompt should display available devices.
 
If you boot your system and on single user mode receive the message Solaris: NOTICE: Cannot find the pool label for 'tank' with error 5. Its generaly a problem of delay with USB HDD. After having the <mountroot>, mount the zfs root file system : type <code>zfs:tank/ROOT/initial</code>. And then, in your /boot/loader.conf, add the line <code>kern.cam.boot_delay="10000"</code>. That instructs the system to wait 10 seconds (10000 milliseconds) during boot to give time for the CAM subsystem probes to complete (USB storage devices use the CAM subsystem).
 
  
 
=== Getting Help ===
 
=== Getting Help ===

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)