5.2 Installation of Raspberry Pi™ 3 Image


The disk image for the Raspberry Pi is available as a technology preview for developer use only. Oracle does not provide support for Oracle Linux on Raspberry Pi systems. Oracle recommends that developers assist each other on the Oracle Linux for Arm community forum at https://community.oracle.com/community/technology_network_community/server_%26_storage_systems/linux/oracle-linux-for-arm

Oracle provides an installation image of Oracle Linux 7 Update 5 (aarch64) specifically designed to run on Raspberry Pi 3 Model B or Raspberry Pi 3 Model B+ hardware. The provided installation image is a default installation of Oracle Linux 7 Update 5 (aarch64) into a raw disk image that can be cloned block-by-block to an SD Card for immediate boot. The default file system used in the image is Btrfs. Raspberry Pi is a trademark of the Raspberry Pi Foundation. More information on installing a Linux image onto the Raspberry Pi is available at:


In summary, the recommended installation process is as follows:

  1. Obtain the Raspberry Pi 3 disk image from the Oracle Technology Network (https://www.oracle.com/linux/products.html). You should unzip the disk image once you have downloaded it.

  2. On an existing Oracle Linux system, insert the SD Card into an SD Card reader connected to the system. The image is 5 GB in size, so your SD Card must have the capacity to store this image at minimum. An 8 GB SD Card is the recommended minimum.

  3. Identify the device name for the SD Card. You can use this using the output from dmesg when you connect the device, using the lsblk or by using fdisk -l to list device names and device information.

  4. Use the dd command to perform a block copy of the image file to the SD Card device. For example:

    # dd if=/path/to/img of=/dev/mmcblk0 bs=4M

    Replace /path/to/img with the relative path to the image file, and replace /dev/mmcblk0 with the device name for the SD Card. This operation is destructive and will overwrite any data on the device that you have specified. Ensure that you have specified the correct device name. The operation may take some time to complete.

  5. When the operation is complete, eject the SD Card from the reader, insert it into the SD Card reader on the Raspberry Pi and boot into Oracle Linux 7.

  6. Log into the image as the root user with the password oracle. Change the password immediately after you login.

If your SD Card is larger than the image (5 GB) you can grow the partition size to maximize disk usage. You can do this by running the following commands after installation is complete and once you have logged into the system on the Raspberry Pi:

# yum install -y cloud-utils-growpart
# growpart /dev/mmcblk0 4 
# btrfs filesystem resize max /