美文网首页
解决Armbian的boot引导CentOS rootfs遇到的

解决Armbian的boot引导CentOS rootfs遇到的

作者: Armlinux | 来源:发表于2023-02-18 08:37 被阅读0次

1. 通过Armbian的boot引导CentOS的rootfs,由于配置安装不完善导致更新时,

yum install ***

遇到错误Plugin "product-id" can't be imported

解决办法

yum install subscription-manager

其他类似错误见
https://access.redhat.com/solutions/66267

2.通过reboot命令 出现kernel panic 无法重启

通过

yum update

即可解决

3.yum安装时出现This system is not registered with an entitlement server.

nano /etc/yum/pluginconf.d/subscription-manager.conf

[main]
enabled=0 

https://blog.csdn.net/maibaizhou/article/details/121047462

4 安装NetworkManager-tui一次配置重启后无wifi 需要再安装NetworkManager-wifi

yum install NetworkManager-tui NetworkManager-wifi

5 安装蓝牙工具,启动蓝牙出现错误

yum install bluez bluez-tools
bluetoothctl
[bluetooth]# scan on
Failed to start discovery: org.bluez.Error.NotReady

原因及解决办法:
这是由于蓝牙设备没有上电造成的,可通过如下命令解决此问题:

hciconfig hci0 up

或者 在 bluetoothctl下 输入power on,如下

root@CentOS:~# bluetoothctl
[NEW] Controller D4:8A:3B:7E:CE:53 CentOS [default]
[bluetooth]# power on
Changing power on succeeded
[CHG] Controller D4:8A:3B:7E:CE:53 Powered: yes
[bluetooth]# scan on

参考https://blog.csdn.net/pengrui18/article/details/53737142

6 CentOS7缺少mkimage和设备树编译工具dtc

(1)Armbian运行apt-get install device-tree-compiler、apt-get install u-boot-tools安装。
(2)从Armbian的/usr/bin目录下拷贝mkimage到CentOS7的/usr/bin目录,从ubuntu拷贝libssl.so.1.0.0和libcrypto.so.1.0.0 到CentOS7的/lib64目录。
(3)从Armbian的/usr/bin目录下拷贝dtc到CentOS7的/usr/bin目录。
参考https://blog.csdn.net/eidolon_foot/article/details/121511834

相关文章

网友评论

      本文标题:解决Armbian的boot引导CentOS rootfs遇到的

      本文链接:https://www.haomeiwen.com/subject/buavkdtx.html