Try putting CentOS 8 on Raspberry Pi 3

I decided to play with CentOS at home, so I will leave the result of giving up because the initial setting of CentOS 8 ~ ~ installation ~ ~ on Raspberry Pi 3 did not work. ..

--Working place: Mac --Raspberry Pi I tried to put on: 3B, 3B + (both failed)

Write CentOS to SD card

It's almost as described on the reference site, but for the time being. SD card is formatted with FAT_32.

Index of / pub / linux / centos-altarch / 8 / isos / armhfp Bring the image of the OS from. The file downloaded at this time is CentOS-Userland-8-armv7hl-generic-Minimal-1911-sda.raw.xz.

Check the SD card path with diskutil list (at this time it was / dev / disk2).

Execute the following in the location where the downloaded file is located. Change the file name and path in each environment.

sudo xzcat CentOS-Userland-8-armv7hl-generic-Minimal-1911-sda.raw.xz | sudo dd of=/dev/disk2 bs=8192

If you do the xzcat --dd on the wiki exactly as it is on your Mac,

After running, wait until it comes back. If you don't want to come back, you can check the progress by hitting Ctrl + t once in a while.

When it comes back, execute sync to complete the writing. Remove the SD card, insert it in the Raspberry Pi, and start it.

Initial setting on Raspberry Pi

Turn on the power and start it. The default login username and password is root / centos.

After logging in, let's expand the area first. It seems that only about 2GB can be used as it is, so as written on the official wiki,

/usr/bin/rootfs-expand

And extend it to the maximum.

Next, if you are using a Japanese keyboard, change the layout.

localectl set-keymap jp106
localectl set-keymap jp-OADG109A
localectl set-locale LANG=ja_JP.utf8

After the change, check the contents with localectl.

After that, disable kernel's update before </ b> disabling SELinux or updating the package.

If you run the package update as it is, the kernel will also be updated, and for some reason ʻeth0will disappear and you will not be able to connect to the network. lspci` is not included by default, and even if it is included, it does not recognize anything, so it gets stuck. If this is x86, I'm not sure what to say.

So I will exclude it. Specifying the option every time will definitely cause omissions, so write it in dnf.conf.

Add a line to /etc/dnf/dnf.conf.

excludepkgs=kernel*

With this, it is safe and secure even if you dnf update. After that, let's play with it as you like.

What I thought

--If you see kernel-core-4.19.104-300.el8.armv7hl.rpm, calmly exclude it --Few people are trying to put CentOS 8 in pi3

The site that was taken care of

Recommended Posts

Try putting CentOS 8 on Raspberry Pi 3
Install CentOS 7 on Raspberry pi 4 Model B
Try OpenLiteSpeed on CentOS8
Try RabbitMQ + PHP on CentOS
Install Docker on Raspberry Pi
Minecraft server on Raspberry Pi 4
Try DPDK20 SDK on CentOS7 ①Install
Install MariaDB on Raspberry Pi OS
Note: setting javaMail on Raspberry Pi
Try DPDK20 SDK on CentOS7 (2) Control DPDK driver
Headless install of Ubuntu 20.10 on Raspberry Pi
I installed Docker on my Raspberry Pi 3
Try putting Docker in ubuntu on WSL
Launched Redmine with Docker on Raspberry Pi 3
Serially connect to Ubuntu on Raspberry Pi
OpenVPN on CentOS 8
Install Ubuntu Core 18 on Raspberry Pi 2 Model B
Radiko recording server on Raspberry Pi 4 (Docker unused)
Try local file search using Fess on CentOS7
Try local file search using Fess on CentOS8
[Raspberry Pi] Try to link Apache2 and Tomcat
Send emails using Docker container on Raspberry Pi 3
Build Ubuntu 20.04 LTS desktop environment on Raspberry Pi 4 (+ Japanese)
Maven on CentOS 7 tutorial
How to run javafx with Raspberry Pi Posted on 2020/07/12
Try DisplayLink on Ubuntu 20.04
Docker installation on CentOS 6
Use perltidy on CentOS 8
Install Neo4j 4.1.3 on centOS
Tomcat v8 on CentOS7
Install Vertica 10.0 on CentOS 6.10
Zabbix 5 installation on CentOS 8
Use mod_auth_cas on CentOS 8
Install PostgreSQL 12 on Centos8
Install nginx on centOS7
Install Python 3 on CentOS 7
Install kuromoji on CentOS7
Display characters on I2C 1602 LCD with Raspberry Pi 3 & Java
Use bat on Centos.
Jetty v8 on CentOS7
OpenJDK installation on CentOS 7
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
Try actions on GitHub [actions]
Install jpndistrict on CentOS 7
Install Redmine 4.1.1 on CentOS 7
Smokeping Install on CentOS7
[Amateur remarks] CentOS 8 was installed on Raspberry Pi 4 8G, and Wordpress was built using Docker-Compose.
Install PostgreSQL 13 on CentOS 7.5
The key to running Docker on Raspberry Pi 4 (Ubuntu server 20.04)
Make exFat available on CentOS 7
Try Docker on Windows 10 Home
Install OpenFOAM v2006 on CentOS
Set up Gitolite on CentOS 7
Install Jenkins on Docker's CentOS
Install Apache on CentOS on VirtualBox
Introducing Let's Encrypt on CentOS 7
Java version change on CentOS
Install Ruby 2.7 on CentOS 7 (SCL)
Perform log rotation on centos
Try Spring Boot on Mac