Difference between revisions of "Pre-installation Tasks"

From GhostBSD Wiki
Jump to: navigation, search
m (1 revision imported)
m (Creating a bootable USB Flash Drive)
 
(32 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
=== Back Up Your Data ===
 
=== Back Up Your Data ===
  
Back up all important data on the target computer 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.
+
Be sure to back up all important data on the computer before installing GhostBSD. The GhostBSD installer will not provide a prompt before making changes to the hard disk drive. Once the process has started, changes to the hard disk drive cannot be undone.
  
 
=== Check for FreeBSD Errata ===
 
=== Check for FreeBSD Errata ===
  
GhostBSD is based on FreeBSD. Although the FreeBSD Project strives to ensure that each release of FreeBSD 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 [http://www.freebsd.org/releases/10.0R/errata.html ''10.0-RELEASE Errata'' page on the FreeBSD web site] and [http://www.freebsd.org/releases/10.1R/errata.html ''10.1-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 ===
  
The installation system for GhostBSD can be downloaded for free. GhostBSD is available in <code>.iso</code> (CD DVD) or <code>.img</code> (USB stick and flash drive) file extension. Copies of GhostBSD installation media are available at the [http://www.ghostbsd.org/download GhostBSD download page].
+
The GhostBSD installation media is available as a <code>.iso</code> file. Copies of GhostBSD installation media are available for free at the [http://www.ghostbsd.org/download GhostBSD download page].
  
=== Creating a bootable Memory Stick. ===
+
=== Creating a bootable USB Flash Drive ===
  
 
==== Introduction ====
 
==== Introduction ====
  
After downloading the appropriate USB .img file, you must copy it to a pendrive using one of the methods described below. Since the image itself can be slightly above 2 GB in size, we suggest you use at least a 4 GB pendrive.
+
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:
 +
 
 +
==== On BSD ====
 +
 
 +
: <code>dd if=/path/to/GhostBSD19.04.iso of=/dev/da0 bs=4m conv=sync</code>
  
 
==== On Linux ====
 
==== On Linux ====
  
Depending on the architecture, you might want to issue one of the following commands:
+
: <code>sudo dd if=GhostBSD19.04.iso of=/dev/sdf bs=4M conv=sync</code>
: <code>sudo dd if=GhostBSD10.1-RELEASE-i386.img of=/dev/sdf bs=1M conv=sync</code>
+
or
+
: <code>sudo dd if=GhostBSD10.1-RELEASE-amd64.img of=/dev/sdf bs=1M conv=sync</code>
+
  
==== On BSD ====
+
==== On Mac ====
  
Depending on the architecture, you might want to issue one of the following commands:
+
: <code>dd if=/path/to/GhostBSD19.04.iso of=/dev/disk2 bs=10240 conv=sync</code>
: <code>dd if=/path/to/GhostBSD10.1-RELEASE-i386.img of=/dev/da0 bs=1m conv=sync</code>
+
or
+
: <code>dd if=/path/to/GhostBSD10.1-RELEASE-amd64.img of=/dev/da0 bs=1m conv=sync</code>
+
  
 
==== On Windows ====
 
==== On Windows ====
  
This solution comes from [https://help.ubuntu.com/community/Installation/FromImgFiles#Windows Ubuntu help site], but it applies to GhostBSD as well. You can use one of two tools to create a bootable pendrive on Windows.
+
# Download the desired .iso file
 
+
===== Graphical tool =====
+
 
+
# Download the desired .img file
+
 
# Download Disk Imager from http://sourceforge.net/projects/win32diskimager/
 
# Download Disk Imager from http://sourceforge.net/projects/win32diskimager/
# Insert your flash media
+
# Insert your USB flash drive
 
# Note the drive letter assigned to your flash media
 
# Note the drive letter assigned to your flash media
 
# Start Disk Imager
 
# Start Disk Imager
 
# Select the downloaded file and target device, and click "Write"
 
# Select the downloaded file and target device, and click "Write"
# Remove your flash media when the operation is complete
+
# Remove your USB flash drive when the operation is complete
 
+
===== Command prompt tool =====
+
 
+
# Download the desired .img file
+
# Download flashnul from http://shounen.ru/soft/flashnul
+
# Attach your USB drive
+
# Run flashnul -p
+
# Note the physical device number for the USB drive
+
# Run flashnul <number obtained in prior step> -L \path\to\downloaded.img
+
# Answer "yes" if the selected destination device is correct
+
# Remove your USB drive when the command completes
+
  
==== Conclusion ====
+
=== Conclusion ===
  
After completing the above steps, the pendrive should hold a bootable GhostBSD system. Just reboot your machine and make sure you boot from the USB - it should then start a live session.
+
The steps described above will create a bootable GhostBSD system on a USB flash drive. To start a live session, connect the USB thumb drive into the computer and reboot the computer. Further information can be found [https://wiki.ghostbsd.org/index.php/Starting_GhostBSD_Live_Media here].
  
 
[[Category:Handbook]]
 
[[Category:Handbook]]
 
[[Category:Installing GhostBSD]]
 
[[Category:Installing GhostBSD]]

Latest revision as of 07:17, 13 April 2019

Previous: Hardware Requirements Return to Table of Contents Next: VirtualBox Configuration
Pre-installation Tasks


Back Up Your Data[edit]

Be sure to back up all important data on the computer before installing GhostBSD. The GhostBSD installer will not provide a prompt before making changes to the hard disk drive. Once the process has started, changes to the hard disk drive cannot be undone.

Check for FreeBSD Errata[edit]

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 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[edit]

The GhostBSD installation media is available as a .iso file. Copies of GhostBSD installation media are available for free at the GhostBSD download page.

Creating a bootable USB Flash Drive[edit]

Introduction[edit]

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:

On BSD[edit]

dd if=/path/to/GhostBSD19.04.iso of=/dev/da0 bs=4m conv=sync

On Linux[edit]

sudo dd if=GhostBSD19.04.iso of=/dev/sdf bs=4M conv=sync

On Mac[edit]

dd if=/path/to/GhostBSD19.04.iso of=/dev/disk2 bs=10240 conv=sync

On Windows[edit]

  1. Download the desired .iso file
  2. Download Disk Imager from http://sourceforge.net/projects/win32diskimager/
  3. Insert your USB flash drive
  4. Note the drive letter assigned to your flash media
  5. Start Disk Imager
  6. Select the downloaded file and target device, and click "Write"
  7. Remove your USB flash drive when the operation is complete

Conclusion[edit]

The steps described above will create a bootable GhostBSD system on a USB flash drive. To start a live session, connect the USB thumb drive into the computer and reboot the computer. Further information can be found here.