binarydepth

Raid B350 Ubuntu 18.04.2

Discussion created by binarydepth on May 24, 2019

The RAID drivers are nor published for Ubuntu 18.04.2. I wonder how does this change the Ubuntu install. I want to have the RAID from the installation with a separate HOME and also follow the latest AMD driver for Radeon RX 560. The setup would be NVME Root / and RAID 0 Home /home. I want to be able to reinstall Ubuntu if needed and not lose my HOME.

 

What would be the compile instructions for new kernels during install? Is this correct?

uname -a
Linux PC 4.18.0-20-generic #21~18.04.1-Ubuntu SMP Wed May 8 08:43:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

 

make KVERS=4.18.0-20-generic      install

I've compiled the instructions:

 

Download site : https://www.amd.com/en/support/chipsets/amd-socket-am4/b350

    1. Copy AMD-RAID drivers: Linux

  1. NOTE: Only a USB flash drive can be used to copy and load the AMD-RAID Linux drivers.

  2. Power-on the system.

  3. Locate and use a system that is running a Windows operating system and has a USB I/O port for the USB flash drive.

  4. Go to a browser and access the web site of your system supplier or motherboard vendor.

  5. Insert a USB flash drive into the USB I/O port of the system.

  6. Download the AMD-RAID drivers for the correct distribution version of Linux. Copy the drivers onto the USB flash drive:

  7.  

  8. For Red Hat Linux: Copy the .iso image file (which matches the distribution version of Linux) to the USB flash drive.

  9. Example:

  10. Copy dd-rcraid-RHEL7-3.10.0-514.el7-x86_64.iso for Red Hat Enterprise Linux (RHEL) 7.3 x64.

  11.  

  12. For Ubuntu Linux: Copy the files contained inside the applicable dd-rcraid-Ubuntu116-4.4.0-31- folder into a dd directory located on a USB flash drive. The following files should be located in the dd directory located on the USB flash drive root, for an Ubuntu Linux Desktop installation.

  13. Example:

  14. dd

  15. load_amdraid

  16. post_install

  17. post_install2

  18. pre_install

  19. rcraid.ko

  20. rcraid_generic.ko

  21. readme

  22.  

    Proceed to Linux: Install AMD-RAID drivers during a Linux OS installation.

      1. Install the AMD-RAID BIOS drivers during a Ubuntu Desktop Linux Installation

NOTE: Prior to starting this procedure, obtain the AMD-RAID drivers from your system supplier or motherboard vendor. Copy the AMD-RAID drivers to the dd directory on a USB flash drive. See Copy AMD-RAID drivers: Linux.

NOTE: The Ubuntu driver CD-ROM .iso image contains all Linux variations for a particular release.

NOTE: Not all of the windows indicated in this procedure will appear during the installation.

  1. Power-on the system.

  2. Remove the Ethernet cable from the system.

  3. Insert the Ubuntu Desktop Linux operating system CD-ROM or DVD into the system’s CD or DVD drive.

  4. Create a bootable array, see Section 3.

  5. As soon as Ubuntu Desktop Linux kernel starts loading

  • Press F6.

    • This will bring you into the Advanced Options.

  1. Select the desired Language

    • Press Enter.

  2. From the list, select Try Ubuntu without Installing

  3. Press F6 – Other Options

  4. Press ESC

    • At the end of the Boot Options string add the following:

    • break=mount modprobe.blacklist=ahci nomodeset

Note: The string should look like: splash --- break=mount modprobe.blacklist=ahci nomodeset

    • Press Enter

  1. When the BusyBox shell appears do the following:

    • Install the USB flash drive

    • Type: mount –t vfat /dev/sda1 /tmp

Note: /dev/sda1 may need to be changed to /dev/sdb1 or /dev/sdc1…depending on the number of devices.

    • Type: cp –ap /tmp/dd /

    • Type: /dd/pre_install

    • Type: umount /tmp

    • Type: exit

    • Remove the USB flash drive

  1. Wait patiently for the Ubuntu Desktop to appear

  2. Double Click the Install Ubuntu 16.04.1 LTS Desktop ICON

  3. From the Welcome window

  • Select the desired Language

  • Click Continue.

  1. From the Preparing to Install Ubuntu window

  • Accept the defaults

  • Click Continue.

  1. From the Installation Type window

  • Select Erase Disk and install Ubuntu

  • Click Install Now

  1. From the Write Changes to Disks? window

    • Click Continue

  2. Select the desired Time Zone

  • Click Continue

  1. Select the desired Keyboard layout

  • Click Continue

  1. Enter valid entries for the following:

    • Your name

    • Computer name

    • User name

    • Password

    • Confirm Password

    • Click Continue

  2. When the “Installation Complete” window appears, do the following:

    • Install the USB flash drive

    • Press CTRL+ALT+T

    • Enter: sudo mount –t vfat /dev/sda1 /mnt

    • Enter: sudo cp –ap /mnt/dd /

    • Enter: sudo /dd/post_install

  3. Wait for the Setup is Complete

  • Press CTRL+D

    • Click Restart Now, to finish the installation.

  1. The installation will prompt the user to remove the installation media, remove the CD/DVD and USB flash drive from the system.

  • When installation media has been removed

  • Press Enter

  • Reconnect the Ethernet Cable

  1. Proceed to the Management Suite installation procedure. See Linux: Install the AMD RAIDXpert2 Management Suite.

 

 

      1. Ubuntu Linux – AMD RAIDXpert2 Web GUI Installation

  1. Obtain the AMD RAIDXpert2 Management Suite executable file (Setup.sh) from your system supplier or motherboard vendor. Download the Setup.sh file to the system’s desktop.

  2. Perform the following:

    • Ubuntu 15.xx 32 bit – enter the following:

sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6

    • Ubuntu 15.xx 64 bit – enter the following:

sudo ln -s /lib/x86_64-linux-gnu/libc.so.6

    • Ubuntu 15.xx 64 bit – install the following:

sudo apt-get install lib32z1

sudo apt-get install lib32ncurses5

sudo apt-get install libxext6:i386

sudo apt-get install libxtst6:i386

sudo apt-get install libxi6:i386

sudo apt-get install libstdc++6:i386

sudo apt-get install libgtk2.0-0:i386

sudo apt-get install libxxf86vm1:i386

sudo apt-get install libsm6:i386

sudo apt-get install gtk2-engines-murrine:i386

sudo apt-get install libcanberra-gtk-module:i386

  1. Install the AMD RAIDXpert2 (setup.sh)

    • Open a terminal / console window and cd to /root/Desktop. (or similar)

    • Enter: sudo ./setup.sh –i silent

  2. Copy xampp-linux-1.8.1.tar.gz to the system’s Desktop. 

    • Open a terminal / console window and cd to /root/Desktop. (or similar)

    • Enter:   sudo tar xvfz xampp-linux-1.8.1.tar.gz –C /opt

  3. Enter:

    • cd /opt/raidxpert2/htdocs

  • sudo cp –rv raidxpert2 /opt/lampp/htdocs

  1. Starting lampp

    • Enter: sudo /opt/lampp/lampp startapache

Apache doesn’t start automatically, so after every reboot,

  • Enter:/opt/lampp/lampp startapache

 

NOTE: for the Web GUI to function correctly, rc_cgi and lampp must be running.

  1. Starting rcpopup

  • Enter:/opt/raidxpert2/bin/rcpopup &

rcpopup doesn’t automatically, so after every reboot,

    • Enter:/opt/raidxpert2/bin/rcpopup &

  1. Click on the RAIDXpert2 Desktop Icon

Default credentials are:

    • Username – admin

    • Password – admin

Change the credentials:

    • Create new username

    • Create new password

  1. Relog into the system with the new credentials.

Outcomes