Editing C&I Wiki Portal/OCP Ready

Jump to navigation Jump to 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 publish the changes below to finish undoing the edit.

Latest revision Your text
Line 68: Line 68:


Additionally, the OCP Ready Thumb Drive is based on old code and is not really considered reliable.  It's a nice way to demo and explore, but not really something you should be using to pre-test your hardware.
Additionally, the OCP Ready Thumb Drive is based on old code and is not really considered reliable.  It's a nice way to demo and explore, but not really something you should be using to pre-test your hardware.
=== Build your own ===
Building your own is not terribly difficult.  The following will allow you to build your own USB Thumbdrive and assumes you are using Ubuntu to do the building. ''Note: This is not the same process we used to create the original USB images, that process is far more involved, but this will suffice for getting you a bootable device.''
You will need the following:
* A USB thumb drive that is at least 2GB in size
* A Ubuntu Desktop or Server 14.04 LTS ISO image. (Later versions will also work)
** We use the Desktop image to provide a more useful system.  Please note that the actual test tools are console based so using Desktop or Server here is completely at your discretion.
* A computer running Ubuntu (Desktop here, we need the GTK Tools for the following, there is likely a way to do this purely from console, this is just easier and faster to describe).
These next steps will create the bootable USB stick initially.
# Insert the USB thumb drive into your computer running Ubuntu Desktop.
# Open the Dash (Hit the Windows key or click on the top most icon on the Unity Panel).
# Type USB and when you see '''Startup Disk Creator''' click on that to launch the tool.
# Set the following items in USB Creator GTK (Also known as Startup Disk Creator).
## Under '''Source disc image''', click '''Other''' and locate your Ubuntu ISO image and click '''Open'''.  It should now appear in the upper display.
## In '''Disk to use''', select the USB Thumb Drive you wish to build.
## Click '''Erase Disk''' to clear the disk of all data.  You will need to provide your password to do this.
## Select '''Stored in reserved extra space''' and move the slider to at least 1GB, preferably more if your Thumb Drive has the space.
# Click '''Make startup disk'''.
## This will take a few moments.  You will see a password prompt that you must use before the bootloader can be written to the thumb drive.
# When complete, exit the Startup Disk Creator.
Once the above steps are complete, you should now have a bootable Ubuntu USB Thumb drive with persistent storage of between 1 - 4 GB.  Now you need to boot something from that and complete the next steps to have a bootable USB drive with OCP Ready on it.
# Insert the USB thumb drive into a machine that has internet access.
# Boot the machine and select the USB thumb drive from the boot menu if that machine doesn't automatically boot from USB.
## In the boot menu, you may see two entries, one for EFI and one for Legacy BIOS.  Use the Legacy BIOS entry to load the bootloader.
# At the boot menu, select '''Try Ubuntu without installing'''.  This is the default selection.
# After Ubuntu has booted, open a console by opening the Dash and typing "Terminal" into the search box and clicking on the Terminal icon.
# In the Terminal, perform the following steps:
## <code>$ sudo add-apt-repository ppa:opencompute-developers/ocp-certification-tools-ppa</code>
### Hit Enter to add the PPA when prompted.
## <code>$ sudo add-apt-repository ppa:hardware-certification/public</code>
### Again, hit Enter to add the PPA when prompted.
## <code>$ sudo apt update</code>
## <code>$ sudo apt upgrade>/code>
## <code>$ sudo apt install opencompute-ready</code>
### Note this may fail because the Live USB environment lacks the Universe repository by default.  If this does fail for you, the following will resolve dependency problems:
#### <code>$ sudo add-apt-repository universe</code>
#### <code>$ sudo apt update</code>
#### <code>$ sudo apt install opencompute-ready</code>
At this point, you should now have a working USB thumb drive with opencompute-ready installed.  To test this, do the following:
# Click the Gear icon in the upper right corner.
# Click '''Shut Down...'''
# Shut the system down.
# After it is powered off fully, power it back on.
## Again, you may need to enter the Boot Menu and force the system to boot from the USB stick if that is not in your default boot order.
# Select '''Try Ubuntu without installing''' from the boot menu, as before.
Please note that all contributions to OpenCompute may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, 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 (see OpenCompute:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)