Raspberry Pi 3 with CentOS-7

Comments, suggestions, compliments, etc
rippledj
Posts: 1
Joined: 2018/09/15 08:27:49

Re: Raspberry Pi 3 with CentOS-7

Post by rippledj » 2018/09/15 08:40:37

mtnhpcguy wrote:
2017/07/14 18:04:02
Saw belgeadmin's post:
I have just installed CentOS arm based image on my raspi 3 and its exactly perfect.
Im using it as a kickstart server on my network but you can try whatever you want i guess.
Download adress: http://mirror.centos.org/altarch/7/isos ... 611.tar.xz
I'd like to try this out. Could someone provide a few brief instructions on setting up an img file (using the file from the link above) to write onto a microsd card for the RPi 3?

Thanks.
Here are complete instructions for setting up in MacOS or Linux:

1. Download and decompress the image from Centos website

Download the image you want from here:
http://mirror.centos.org/altarch/7/isos/armhfp/

Checksum for all packages
16ff588e04fae393671da6cc1336088201f5c633d66e519345eaf4b60e2818c3 CentOS-Userland-7-armv7hl-generic-GNOME-1804-sda.raw.xz
950340fd8aec24651788897382f76d360c19a7f83c08dc9390637880413690f7 CentOS-Userland-7-armv7hl-generic-KDE-1804-sda.raw.xz
1a9823b3148285a8aa8f07f49c23b4e6299aaa1f225d15334501687fb9c44398 CentOS-Userland-7-armv7hl-generic-Minimal-1804-sda.raw.xz
23c3ec15d72e7b1934fa63ae1a7c8f4071f952c2d2c07da39c625e2559b86ccf CentOS-Userland-7-armv7hl-RaspberryPI-GNOME-1804-sda.raw.xz
f9ed70539ad4579a7ae7bbad777e4a2614ad9df13bfb577ac2de0c72dee9e7c1 CentOS-Userland-7-armv7hl-RaspberryPI-KDE-1804-sda.raw.xz
962264b4387a10cfd058b12b7ed1490fd3f65c9276c10a37c6746ffaabcc83f2 CentOS-Userland-7-armv7hl-RaspberryPI-Minimal-1804-sda.raw.xz

2. Checksum the download
Linux
md5sum CentOS-Userland-7-armv7hl-generic-GNOME-1804-sda.raw.xz

3. Convert the compressed .raw.xz into an .raw ISO

Tar Linux
tar xf CentOS-Userland-7-armv7hl-generic-GNOME-1804-sda.raw.xz

Unxz Linux
unxz CentOS-Userland-7-armv7hl-generic-GNOME-1804-sda.raw.xz

The Unarchiver Mac OS
--------------------
Install from Mac App Store.

4. Insert a microSD card and check the path using Disk Utility on Mac or for linux
You will see your device here in the list as something like `/dev/mmcblk0`

Linux
$ lsusb
Mac OS
$ diskutil list

/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *15.9 GB disk1
1: Windows_FAT_32 UNTITLED 15.9 GB disk1s1

5. Un-mount the disk. Replace `mmcblk0`or `disk1` below with the device id of the device you found above. WARNING: make sure you use the right device.

Linux
$ umount /dev/mmcblk0
Mac OS
$ diskutil unmountDisk /dev/disk1

6. Make a bootable MicroSD card for Pi

Linux
$ dd if=CentOS-Userland-7-armv7hl-generic-GNOME-1804-sda.raw.xz of=/dev/mmcblk0 bs=2M
Mac OS
$ dd if=CentOS-Userland-7-armv7hl-generic-GNOME-1804-sda.raw.xz of=/dev/disk1 bs=2m

7. Remove MicroSD and put into Pi
8. Boot the R-Pi
The default root password is centos

marinm
Posts: 1
Joined: 2021/07/12 13:36:31

Re: Raspberry Pi 3 with CentOS-7

Post by marinm » 2021/07/12 13:54:31

Hi,

I wanted to download centos7 image for raspberry 3, but every single image that exists on centOS wiki gives me error how file dont exist.

The requested branch/release/arch/filename does not seem to be valid, please check your input

Is there anywhere on centos.org download link for centos7 - armv7h1 - raspberryPI - GNOME - 2003-sda.raw.xz or similar

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Raspberry Pi 3 with CentOS-7

Post by TrevorH » 2021/07/12 14:00:17

The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply