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''' ==
+
== '''Starting GhostBSD Live Media''' ==
After you boot into the GhostBSD Live session, open a terminal window and start the installer with `gbi`.
+
 
+
== '''Setting Language, Keyboard and Timezone''' ==
+
  
 
=== Language Menu ===
 
=== Language Menu ===
Line 149: Line 150:
 
; Selecting a keyboard layout and a variant
 
; Selecting a keyboard layout and a variant
  
The layout option is your country-specific keyboard layout.
+
The layout option is your country specific keyboard layout.
  
 
[[File:Installer-Select-Keyboard-Layout.PNG|460px|]]
 
[[File:Installer-Select-Keyboard-Layout.PNG|460px|]]
 +
 +
The variant option is your type of keyboard. This option gives you the opportunity to select Dvorak, Qwerty and more. But most of the time you will not need to select one. 
 +
 +
[[File:Installer-Select-Keyboard-Variant.PNG|460px|]]
  
 
{| style="color:black; background-color:#f3f8fd;" class="wikitable"
 
{| style="color:black; background-color:#f3f8fd;" class="wikitable"
Line 163: Line 168:
 
; Selecting a Time Zone
 
; Selecting a Time Zone
  
Select a continent and the nearest city.
+
Select the continent you live in.
  
 
[[File:Installer-Select-Timezone-Continent.PNG|460px|]]
 
[[File:Installer-Select-Timezone-Continent.PNG|460px|]]
  
 +
Select the city nearest to where you live.
  
== '''ZFS Full Disk Installation''' ==
+
[[File:Installer-Select-Timezone-City.PNG|460px|]]
  
  
=== Selecting Installation Type ===
+
== '''Starting GhostBSD Live Media''' ==
+
  
'''Figure 2.6a: Selecting Disk, Installation option and Boot Manager'''
 
  
[[File:Installer-Select-Installation-Type.png|460px|]]
 
  
 +
== '''Starting GhostBSD Live Media''' ==
  
=== Choosing Disks ===
 
  
Choose the disk where GhostBSD is to be installed.
 
  
[[File:Installer-ZFS-Full-Disk-Configuration.PNG|460px]]
+
== '''Starting GhostBSD Live Media''' ==
 
+
 
+
=== Boot Option ===
+
 
+
Select an available boot option.
+
 
+
[[File:Boot-Option.png|460px|]]
+
 
+
 
+
== '''Custom Disk Configuration for UFS and ZFS''' ==
+
 
+
Note: Process description coming soon.
+
 
+
== '''Adding Root Password and User''' ==
+
 
+
GhostBSD is designed to let the user have total control of the system, meaning that the user has root access by default and owns the entire system. GhostBSD installer lets the user choose a root password and lets them have complete access to the root account.
+
 
+
=== Setting Root Password ===
+
 
+
'''Password:''' The system password, also known as the root, superuser, or administrative password, is required for system administration tasks such as installing software, setting up your printer or changing settings that affect all users. You will need to remember this password for the times that you are prompted for it. The password is recommended as at least 8 characters, and you are required to type it in twice to confirm the password.
+
 
+
'''Figure 2.8a: Setting root password and adding a user.'''
+
 
+
[[File:Installer-Set-Root-Password.PNG|460px|]]
+
 
+
=== Adding User ===
+
 
+
'''Username:''' this is the name you will use when logging in. It can not contain spaces and is case sensitive
+
 
+
'''Full Name:''' It can be your full name and can contain capital letters and spaces.
+
 
+
'''Password:''' this is the password you will use when logging in. You must type it twice in order to confirm it.
+
 
+
'''Shell:''' bash (versions up to 3.5) or fish is set by default, you change to the one you prefer in the list.
+
 
+
=== Setting The System host name ===   
+
 
+
'''Hostname:''' input the system's hostname. This name will be the system name of the network.
+
 
+
'''Figure 2.8b: Adding a user and hostname.'''
+
 
+
[[File:Installer-User-Setup.PNG|460px|]]
+
 
+
== '''Installation Progress''' ==
+
 
+
 
+
=== Installation Progress ===
+
 
+
Once you select ''Install'' to start the installation, a progress screen, seen in Figure 2.9b, provides a progress bar and messages so that you can watch the installation's progress.
+
 
+
'''Figure 2.9b: Installation Progress'''
+
 
+
[[File:Installer-Progress.png|460px|]]
+
 
+
The installation time depends upon the speed of your hardware and the version of GhostBSD you choose. A typical installation takes between 10 and 30 minutes.
+
 
+
==== Installation Error ====
+
 
+
The screen shown in Figure 2.9c appears when the installation fails.
+
 
+
'''Figure 2.9c: installation error'''
+
 
+
To help users find and fix this issue please see  [[Installation Troubleshooting]]
+
 
+
[[File:Error.png]]
+
 
+
==== Installation Success ====
+
 
+
The screen shown in Figure 2.9d appears once the installation is successfully completed.
+
 
+
'''Figure 2.9d: Installation Completed'''
+
 
+
[[File:Installer-Completed.PNG|460px|]]
+
 
+
Click the ''Restart'' button to reboot into your GhostBSD installation. Wait until the system exits the GUI before removing the installation media.
+
 
+
== '''Installation Troubleshooting''' ==
+
 
+
Installing GhostBSD is usually an easy process that "just works". Sometimes, however, you will run into a problem. This section will look at solutions to the most common installation problems.
+
 
+
=== Installation Starts But Fails ===
+
 
+
The GhostBSD installer creates a log which keeps a record of all the steps that are completed as well as any errors. When an installation error occurs, the GhostBSD installer will ask if you would like to generate an error report. You should save the error log  <code>/tmp/pc-sysinstall.log</code> to a USB stick so that you can read this log to see what went wrong.
+
 
+
If you can not figure out how to fix the error or believe that you have discovered an installation bug, please use the [http://forums.ghostbsd.org/index.php forum] to get help.
+
 
+
=== System Does not Boot Into the Installer===
+
 
+
If the live system does not make it to the GUI, try unplugging as many devices as possible, such as webcams, scanners, printers, USB mice and keyboards. If this solves the problem, plug in one piece of hardware at a time, then reboot. This will help you pinpoint which device is causing the problem.
+
 
+
If your computer freezes while probing hardware, and unplugging extra devices does not fix the problem, it is possible that the installation media is corrupt. If the checksum on the file you downloaded is correct, try burning the file again at a lower speed.
+
 
+
If the system freezes and you suspect the video card to be the cause, review your system's BIOS settings. If there is a setting for video memory, set it to its highest value. Also check to see if the BIOS is set to prefer built-in graphics or a non-existent graphics card. On some systems this is determined by the order of the devices listed; in this case, make sure that the preferred device is listed first. If you cannot see your BIOS settings you may need to move a jumper or remove a battery to make it revert to the default of built-in graphics; check your manual or contact your manufacturer for details.
+
 
+
If that change did not help, try rebooting and selecting option ''2. Escape to loader prompt'' from the boot menu shown in Figure 2.10a below.
+
 
+
'''figure 2.10a: GhostBSD Boot Menu'''
+
 
+
[[File:Boot-Menu.png|460px|]]
+
 
+
Selecting this option will open the boot loader prompt where you can type the following commands:
+
 
+
: <code>unload</code>
+
: <code>disable-module vesa</code>
+
: <code>set module_path=/boot/kernel;/boot/modules;CONSOLE</code>
+
: <code>boot</code>
+
+
Those commands will disable vesa before attempting to boot the live system.
+
 
+
A not uncommon cause for problems is the LBA (Logical Block Addressing) setting in the BIOS. If your PC is not booting up before or after installation, check your BIOS and turn LBA off (do not leave it on automatic).
+
 
+
If the SATA settings in your BIOS are set to "compatibility" mode, try changing this setting to "AHCI". If the system hangs with a BTX error, try turning off AHCI in the BIOS.
+
 
+
=== USB Keyboard Does not Work in Graphical Interface ===
+
 
+
If the USB keyboard is non-functional, check if there is an option in your BIOS for ''legacy support'' in relation to the keyboard or to USB, or both. Enabling this feature in your BIOS may solve this issue.
+
 
+
=== mountroot prompt ===
+
 
+
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 ===
 
  
If none of the above has fixed your problem, search the [http://forums.ghostbsd.org GhostBSD forums] to see if a solution exists, try a web search, or check the section [http://ghostbsd.org/support Support].
 
  
 
</translate>
 
</translate>
 
[[Category:Manuals]]
 
[[Category:Manuals]]

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)