1.启动时出现 init: Can’t create /proc/sys/kernel/hotplug
VFS: Mounted root (cramfs filesystem) readonly on device 31:4.
Freeing unused kernel memory: 208K
This architecture does not have kernel memory protection.
Run /linuxrc as init process
random: fast init done
/etc/init.d/rc.S: line 11: can't create /proc/sys/kernel/hotplug: nonexistent directory
hwclock: can't open '/dev/misc/rtc': No such file or directory
Please press Enter to activate this console.
Processing /etc/profile...
Set search library path in /etc/profile
Set user path in /etc/profile
-/bin/sh: PAT: not found
root@nano2410#
linux5.3内核配置选项需要修改:
“That hotplug thing is “obsolete” with the new udev, but since you’re in initramfs with busybox mdev, you still need it. So my guess is you need to turn on that legacy hotplug support in your kernel config: CONFIG_UEVENT_HELPER=y”