Installing Ubuntu on IBM Power System POWER9 servers with a USB device

Quick Start Guide for installing Linux on IBM Power System POWER9 servers

Version 1.0.0

This guide helps you install Ubuntu on a Linux on Power Systems POWER9 server.

Note:

© Copyright IBM® Corp. 2015, 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

IBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the web at Copyright and trademark information (www.ibm.com/legal/copytrade.shtml).

About this task

Overview

Use this information to install Ubuntu on a non-virtualized or bare metal IBM Power System LC server. This procedure follows these general steps:

  • Download the Ubuntu ISO file
  • Create a bootable USB device
  • Connect to the BMC firmware to set up network connection
  • Install Ubuntu from USB device

Download your ISO files from the Ubuntu release website. Look for the PowerPC64 Little-Endian server install image. Supported Ubuntu releases include:

For a list of supported distributions, see Supported Linux distributions and virtualization options for POWER8 and POWER9 Linux on Power systems.

Procedure

  1. Creating a bootable USB device

    Use one of the following USB devices:

    • USB attached DVD player with a single USB cable to stay under 1.0 Amps
    • 8 GB 2.0 USB flash drive

    To create the bootable USB device, follow the instructions in the Ubuntu Community Help Wiki at https://help.ubuntu.com/community/Installation/FromUSBStick

  2. Completing the prerequisites and booting your firmware

    Before you power on the system, ensure that you have the following items:

    • Ethernet cable
    • VGA monitor. The VGA resolution must be set to 1024x768-60Hz.
    • USB Keyboard
    • Power cords and outlet for your system.
    • Bootable USB device

    Complete these steps:

    • If your system belongs in a rack, install your system into that rack. For instructions, see IBM Power Systems information at https://www.ibm.com/support/knowledgecenter/.
    • Connect an Ethernet cable to the embedded Ethernet port next to the serial port on the back of your system. Connect the other end to your network.
    • Connect your VGA monitor to the VGA port on back of system.
    • Connect your USB keyboard to an available USB port
    • Connect the power cords to the system and plug them into the outlets.

    At this point, your firmware is booting. Wait for the green LED on the power button to start flashing, indicating that it is ready to use. If your system does not have a green LED indicator light, then wait 1 to 2 minutes.

  3. Configuring the IP address

    To set up or enable your network connection to the OpenBMC firmware, use the Petitboot bootloader interface. Follow these steps:

    1. Power on your server using the power button on the front of your system. Your system will power on to the Petitboot bootloader menu. This process takes about 1 - 2 minutes to complete. Do not walk away from your system! When Petitboot loads, your monitor will become active and you will need to push any key in order to interrupt the boot process.
    2. At the Petitboot bootloader main menu, select Exit to Shell.
    3. Run ipmitool lan print 1. If this command returns an IP address, verify that is correct and continue. To set a static IP address, follow these steps:
      1. Set the mode to static by running this command: ipmitool lan set 1 ipsrc static
      2. Set your IP address by running this command: ipmitool lan set 1 ipaddr ip_address where ip_address is the static IP address that you are assigning to this system.
      3. Set your netmask by running this command: ipmitool lan set 1 netmask netmask_address where netmask_address is the netmask for the system.
      4. Set your gateway server by running this command: ipmitool lan set 1 defgw ipaddr gateway_server where gateway_server is the gateway for this system.
      5. Confirm the IP address by running the command ipmitool lan print 1 again.
        Note: This network interface is not active until after you perform the following steps.
    4. To reset your firmware, run the following command: ipmitool mc reset cold.

      This command must complete before continuing the process; however, it does not return any information. To verify that this command has completed, ping your system BMC address (the same IP address used in your IPMItool command). When the ping returns successfully, continue to the next step.

      Note: If your ping does not return successfully within a reasonable amount of time (2 - 3 minutes), try these additional steps:
      1. Power your system off with this command: ipmitool power off.
      2. Unplug the power cords from the back of the system. Wait 30 seconds and then apply power to boot BMC.
  4. Powering on your server with OpenBMC commands
    Note: After your system powers on, the Petitboot interface loads. If you do not interrupt the boot process by pressing any key within 10 seconds, Petitboot automatically boots the first option.

    To power on your server from a PC or notebook that is running Linux, follow these steps:

    • Default user name: root
    • Default password: 0penBmc (where, 0penBMC is using a zero and not a capital O)
    1. Open a terminal program on your PC or notebook.
    2. Log in to the BMC by running the following commands.
      ssh root@<BMC server_ip_address>
      root@<BMC server password>
      where BMC server_ip_address is the IP address of the BMC and BMC server password is the password to authenticate.
    3. To power on your server, run the following command:
      $ root@witherspoon:~# obmcutil poweron
    4. Connect to OS console and use the default password 0penBmc.
      ssh -p 2200 root@<BMC server_ip_address>
      root@
      where BMC server_ip_address is the IP address of the BMC and BMC server password is the password to authenticate.
  5. Configuring Petitboot
    After the system powers on, the Petitboot bootloader scans local boot devices and network interfaces to find boot options that are available to the system.
    1. Insert your bootable USB device into the front USB port. Petitboot displays the following option:
      Note: Select Rescan devices if the USB device does not appear. If your device is not detected, you may have to try a different type.
    2. On the Petitboot main screen, select the Debian GNU/Linux installer boot option and then press Enter.
  6. Completing your installation
    After you select to boot the Ubuntu installer, the installer wizard walks you through the steps.
    1. Follow the installation wizard for Ubuntu to set up disk options, your user name and password, time zones, and so on. The last step is to restart your system.
      Note: The Ubuntu installation process uses DHCP by default during installation. If you are not using DHCP, you need to configure the network manually. Follow these steps:
      1. On the Configuring the network with DHCP screen, click Cancel.
      2. Click Continue.
      3. Select Configure your network manually
      4. Enter your IP address and select Continue.
      5. Enter your Netmask and select Continue.
      6. Enter or confirm the gateway for your IP address and select Continue.
      7. (Optional) Enter the Name server address and select Continue.
      8. Enter a hostname for your system and select Continue.
      9. Select a mirror of the Ubuntu archive.
      10. Confirm the Ubuntu archive mirror.
      11. (Optional) Enter HTTP proxy information and select Continue.
      Note: While your system is restarting, remove the USB device.
    2. After the system restarts, Petitboot displays the option to boot the Ubuntu with Linux® release number. Select this option and press Enter.
    Notes:
    • In Ubuntu, the opal-prd (Processor Runtime Diagnostics) package that is required for runtime detection and handling of Power processor errors on systems that are running OpenPower firmware is not installed by default. Run the following command to install this package:
      apt-get install opal-prd 

What to do next

More information

For more information, see the following resources: