How to Install CentOS 7 ARM on Raspberry Pi 3

raspberry pi 3centos 7 arminstall centos on raspberry pissh connectionraspbian alternative
Published·Modified·

The Raspberry Pi 3 comes with built-in Bluetooth and a wireless network card, priced at only $35. I managed to get one from a second-hand platform. As a first-time user, I found that since the Raspberry Pi 3 was recently released, there are few tutorials available online. Here are my insights on installing the CentOS 7 ARM system on the Raspberry Pi 3.

1. Preparation Tools

2. Writing the System

Extract the downloaded image using compression software (such as WinRAR or 7-zip) to obtain the file CentOS-Userland-7-armv7hl-Minimal-1603-RaspberryPi3.img.xz, as shown in the screenshot below.

centos7img

Open the Win32DiskImager software. Select the extracted image file and the drive letter of the TF card as shown in the screenshot below, then click "Write" to start the process. Wait for the writing to complete.

win32disk

3. Remote Connection

Connect the Raspberry Pi to the network via an Ethernet cable, insert the TF card, and power it on. The system will automatically initialize and connect to the network. When the Raspberry Pi's indicator light stops flashing and stays red, the process is successful. You can check the IP address assigned to the Raspberry Pi via your router and record it. Then, connect using an SSH tool. (Default account: root, password: centos)

Additionally, after writing the system to the memory card, the partition is restructured, resulting in a large amount of wasted free space. To reallocate the free space, run the following commands:

touch /.rootfs-repartition
systemctl reboot

Finally, you can use yum to install software. However, the official CentOS 7 ARM yum repository currently has limited packages, and many software installations may fail. If you prefer not to troubleshoot, it is recommended to install the official Raspberry Pi system: Raspbian.