CentOS - Raspberry PI 4

Issues related to hardware problems
pgreco
Posts: 31
Joined: 2018/04/14 17:23:02

Re: CentOS - Raspberry PI 4

Post by pgreco » 2021/01/16 23:02:34

p3ck wrote:
2021/01/16 16:53:37
Would you be willing to change the cmdline.txt to use the PARTUUID? Then the image won't need any modification to work between sdcard vs usb.
Yeah, I need to find a way to do this dynamically, because I'm guessing that the prefix would change every time the image is created, but that would solve the problem. Thanks, I didn't know about PARTUUID

p3ck
Posts: 2
Joined: 2021/01/13 14:16:07

Re: CentOS - Raspberry PI 4

Post by p3ck » 2021/01/18 22:49:10

This is a little rough. (no error checking.) But I figure you'll modify it for your scripts..

Code: Select all

#!/bin/bash

image=$1

kpartx="$(kpartx -av $image)"

read -d" " img_boot_dev img_swap_dev img_root_dev <<<$(grep -o 'loop.p.' <<<"$kpartx")
img_boot_dev=/dev/mapper/$img_boot_dev
img_root_dev=/dev/mapper/$img_root_dev
mkdir -p mnt/boot

PARTUUID=$(blkid -o export $img_root_dev | awk '/PARTUUID/ { print $1}')

mount -t vfat $img_boot_dev mnt/boot
sed -i "s/root=[^[:space:]]\+/root=$PARTUUID/" mnt/boot/cmdline.txt
sync
umount mnt/boot
kpartx -d $image

pete123
Posts: 1
Joined: 2021/01/25 12:34:05

Re: CentOS - Raspberry PI 4

Post by pete123 » 2021/01/25 12:56:12

pgreco, thank you very much for all your work on Centos for RPi - I've been happily using 7 for a while and had been testing 8 in the latter part of last year. Will you be officially releasing Centos 8 for RPi now, or perhaps just stream? Just wondering if you're able to share any roadmap for it, given the Centos 8 announcement in December? Thanks in advance.

Rct_Tsoul
Posts: 21
Joined: 2011/04/30 14:21:51
Location: the Mighty American Empire

Re: CentOS - Raspberry PI 4

Post by Rct_Tsoul » 2021/01/26 00:33:24

We need to ask this, does Raspberry Pi use Hamming code for error correcting like the x86-64 when equipped ....... if not then using the Pi for Linux is a lost cause because ANY single Bit error will cause a catastrophic failure when compiling....
A single Bit error can be caused by anything, magnetic fields from other electronics, your body, sun spots....

Windows has Hamming code style error correcting built into the OS that allow it to run trash code.... this is what made Windows the dominate user OS

lata
Posts: 1
Joined: 2021/03/18 12:59:24

Re: CentOS - Raspberry PI 4

Post by lata » 2021/03/18 14:14:40

hello,pgreco,i just wanna to install CentOS to my raspi4 sd card from aarch64.iso[official image such as CentOS-8.3.2011-aarch64-dvd1.iso],not unoffical raw.xz
like CentOS-Userland-8-aarch64-RaspberryPI-Minimal-4-sda.raw.xz,no offence.
i did some search and found UEFI Firmware[https://github.com/pftf/RPi4],but it no works when put it in after installed, no fat partition found,it means needing uefi boot from sd card first,like BIOS on PC,therefor it seems no way to install xxx.iso to sd card and available in sd card interface[no fat partition error].
so how to make xxx.raw.xz by myself,or is that possible to making raw.xz image from iso image or installed from iso, or using raspi linux kernel[https://github.com/raspberrypi/linux] and centos iso someway to build it?
please help me out,i spent it all days by day...

kproche
Posts: 4
Joined: 2021/10/04 18:03:39

Re: CentOS - Raspberry PI 4 - Wifi adapter not seen?

Post by kproche » 2021/10/04 18:34:40

Hi Pablo -- your rPi 4 image installed like a dream, but now I've lost my wifi support (the dreaded "wifi adapter not found" message).

Ethernet is still working properly. This may have happened when I added the GNOME desktop to things after I brought it up.

*Should* the wifi be working? Is my best bet just to start over?

I've booted off a Raspberry Pi OS SD card and confirmed that the wifi hardware is working properly.

Thanks again for a great starting point!
Kevin

kproche
Posts: 4
Joined: 2021/10/04 18:03:39

Re: CentOS - Raspberry PI 4 - Wifi adapter not seen?

Post by kproche » 2021/10/05 18:18:09

kproche wrote:
2021/10/04 18:34:40
...
*Should* the wifi be working? Is my best bet just to start over?
...
I can now report, having started over (on a different SD card) that the wifi adapter issue is not related to my installing EPEL and GNOME. This copy is not seeing the wifi chipset either.

mhs73
Posts: 9
Joined: 2019/02/16 16:37:48
Location: Germany

Re: CentOS - Raspberry PI 4

Post by mhs73 » 2021/10/18 14:20:27

Hi Pablo,
I was happy to find a CentOS 8 image for Raspberry Pi 4 (Userland, minimal) in April this year und installed it successfully.
Now I made an update (yum update) - and lost wifi. "nmcli d" does not show the device any more. Apparently it is not recognized at boot time.
I would appreciate any hint how to fix this. How can I return to the previous stable version?
Kind regards
Michael

mhs73
Posts: 9
Joined: 2019/02/16 16:37:48
Location: Germany

Re: CentOS - Raspberry PI 4

Post by mhs73 » 2021/10/18 14:38:53

... just noticed my system time jumped back to June 22 ... ???

mhs73
Posts: 9
Joined: 2019/02/16 16:37:48
Location: Germany

Re: CentOS - Raspberry PI 4

Post by mhs73 » 2021/10/19 11:45:35

... due to lack of internet. When I connected over ethernet, RaPi4 catched the correct time again. - Still wifi is missing.

Post Reply

Return to “CentOS 8 - Hardware Support”