How to install CentOS on the Vault

Last Updated On December 21, 2018
You are here:

CentOS Overview

CentOS is a popular open source software distribution of Linux. The main website is https://www.centos.org CentOS can be configured in several different modes. There is a Minimal mode, a few Server modes, a GNOME Desktop installation and a few other modes.

CentOS can be downloaded from https://www.centos.org/download

CentOS Download Page

The “Minimal ISO” version installs the minimal system which is simply a command line interface from the console. The “Everything ISO” has all of the different modes that can be installed. The selection of the mode is part of the installation process. This article will describe how to download and install the “minimal” system from the Minimal ISO and the “GNOME Desktop” system from the Everything ISO.

Note: For other ISO download versions click on the “alternate downloads” link on the download page.

Download CentOS

  • Browse to the CentOS download page and select the “Minimal ISO” or “Everything ISO” depending on the system desired
  • Select a mirror and download the CentOS ISO image
  • Verify an image such as CentOS-7-x86_64-Minimal-1804.iso that is about ~1 GB or CentOS-7-x86_64-Everything-1804.iso that is about ~10GB is downloaded.

Burn the installation image to a USB drive

The easiest way to transfer the installation image to a USB drive is by using software called “Rufus” on Windows or “Etcher” on Apple OSX. See this link for detailed instructions on how to create a bootable USB drive using Rufus or Etcher.

Note: If during install below there are errors such as “dracut timeout” this could be because a USB 3.0 drive was inserted into a USB 2.0 interface on the Vault. This issue seems specific to CentOS. To remedy the situation, simply insert the USB 3.0 drive into a USB 3.0 interface on the Vault and restart the installation.

Install CentOS on The Vault, Minimal Version

  • Verify that the Vault is powered down
  • Verify that the VGA or HDMI monitor is connected
  • Verify that the USB keyboard is plugged in
  • Insert the USB install drive into the another USB port on the Vault
  • While powering up the Vault, press “F11” key and hold it down until it boots to the BIOS and you see the boot options screen
  • Select the USB drive to boot from
  • Select Install CentOS
  • Verify that the Vault boots and begins the installation process
  • Follow the installation prompts for language, keyboard, etc.
  • Verify the Installation summary is displayed
  • If desired, select Date & Time and set them appropriately
  • Select System->Installation Destination
  • Select mSATA disk
  • Select DONE
  • If there is not enough space for the installation a window, will pop up. Select Reclaim space
  • Follow the prompts to delete old partitions and reclaim space
  • Select Begin Installation
  • While installation begins, select Root Password
  • Set the root password
  • Verify the installation continues and completes
  • Reboot
  • For Minimal installation, verify the system reboots successfully to the login prompt
  • Login as user “root” with the password set during installation
  • CentOS is now successfully installed on The Vault

Known Issue

There is a documented bug in CentOS 7-1804 that causes a kernel panic (crash) on some systems at reboot. Information and a workaround are available at this link. This bug may affect some versions of The Vault. If the newly installed CentOS is affected by the known issue, it can be “rescued”. “Rescue” means that the new installation can be configured to avoid this bug. See the section at the bottom of this article titled “Rescue CentOS” for instructions to alleviate the issue.

Install CentOS on The Vault, GNOME Desktop Version

  • Verify that the Vault is powered down
  • Verify that the VGA or HDMI monitor is connected
  • Verify that the USB keyboard is plugged in
  • Insert the USB install drive into the another USB port on the Vault
  • While powering up the Vault, press “F11” key and hold it down until it boots to the BIOS and you see the boot options screen
  • Select the USB drive to boot from
  • Select Install CentOS
  • Verify that the Vault boots and begins the installation process
  • Follow the installation prompts for language, keyboard, etc.
  • Verify the Installation summary is displayed
  • If desired, select Date & Time and set them appropriately
  • For GNOME Desktop, Select Software Selection
  • Verify the Software Selection is displayed
  • Select GNOME Desktop
  • Select additional Add-Ons as desired
  • Select DONE
  • Select System->Installation Destination
  • Select mSATA disk
  • Select DONE
  • If there is not enough space for the installation a window, will pop up. Select Reclaim space
  • Follow the prompts to delete old partitions and reclaim space
  • Select Begin Installation
  • While installation begins, select Root Password
  • Set the root password
  • Verify the installation continues and completes
  • Reboot
  • For GNOME Desktop installation, verify the system reboots to the install GUI
  • Follow the prompts to create a User and to accept the License Agreement
  • Select Finish Configuration
  • Verify the system reboots to the GNOME Desktop
  • Follow the prompts for gnome-initial-setup
  • Select Language, Keyboard, Privacy and finish
  • Verify the GNOME Desktop is displayed on the screen
  • CentOS is now successfully installed on The Vault

If the system doesn’t reboot successfully after installation, it may be subject to the known issue described above. If so, follow the Rescue CentOS instructions below and resume the installation at the point that the error occurred.

Rescue CentOS

Follow the instructions below to rescue the system from the known issue with CentOS 7-1804

  • Reboot the system from the Installation USB
  • Select Troubleshooting
  • Select Rescue CentOS
  • Verify the system boots up
  • Verify the rescue options are displayed
  • Select “1” to continue
  • Verify the system is mounted at /mnt/sysimage
  • Hit Enter to get a shell
  • Verify the shell is at the prompt (sh-4.2#)
  • Change directory to /mnt/sysimage/etc/modprobe.d
  • Edit/Create the file snd.conf
  • Add the following line to snd.conf “blacklist snd-hdmi-lpe-audio”
  • Save the file
  • Reboot the system
  • Verify the system boots from the mSATA
  • Verify the system boots successfully
  • Continue the installation from the point of the failure and verify it completes successfully

At this point, CentOS should be up and running on The Vault.  However, if you experience any issues, please feel free to reach out to us at: support@protectli.com.