请问为什么配置了rootflags=x-systemd.device-timeout=0这个内核命令行参数之后,系统在启动时如果没有能在90秒内挂载root分区仍然会报超时错误然后进入dracut rescue
配置是一个fat32 efi分区,一个luks2加密的xfs根分区,用systemd-cryptenroll设置了另需pin码的tpm2解密
现在就是如果90秒内没有输入pin码,系统就会显示挂载root分区超时,即使我设置了rootflags参数,dracut rescue下看到的日志和内核参数如下
内核命令行参数:quiet nmi_watchdog=0 splash=silent preempt=full mitigations=auto luks.name=a0ee4d19-639e-4e6d-a3b8-1b03734f806e=root rootflags=x-systemd.device-timeout=0 systemd.swap-extra=/swapfile resume=/dev/mapper/root resume_offset=24
没有/etc/fstab和/etc/crypttab
12月 10 18:14:33 z01EliteBook845G7 plasmashell[747698]: org.kde.pulseaudio: server_cb() called without info!
12月 10 18:14:33 z01EliteBook845G7 kded6[747534]: kf.bluezqt: PendingCall Error: "br-connection-busy"
12月 10 18:14:33 z01EliteBook845G7 kdeconnectd[425041]: 2024-12-10T18:14:33 default: Error sending UDP packet: QAbstractSocket::NetworkError
12月 10 18:14:34 z01EliteBook845G7 polkit-kde-authentication-agent-1[801666]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
12月 10 18:14:34 z01EliteBook845G7 kdeconnectd[425041]: 2024-12-10T18:14:34 qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
12月 10 18:14:34 z01EliteBook845G7 xdg-desktop-portal-kde[79142]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
12月 10 18:14:34 z01EliteBook845G7 kded6[747687]: xsettingsd: Reloading configuration
12月 10 18:14:34 z01EliteBook845G7 kded6[747687]: xsettingsd: Loaded 14 settings from /home/zero/.config/xsettingsd/xsettingsd.conf
12月 10 18:14:34 z01EliteBook845G7 kded6[747534]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
12月 10 18:14:34 z01EliteBook845G7 org_kde_powerdevil[747530]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
12月 10 18:14:34 z01EliteBook845G7 plasmashell[747698]: kde.plasmashell: requesting unexisting screen available rect -1
12月 10 18:14:34 z01EliteBook845G7 plasmashell[747698]: kde.plasmashell: requesting unexisting screen available rect -1
12月 10 18:14:34 z01EliteBook845G7 plasmashell[747698]: kde.plasmashell: requesting unexisting screen available rect -1
12月 10 18:14:34 z01EliteBook845G7 plasmashell[747698]: kde.plasmashell: requesting unexisting screen available rect -1
12月 10 18:14:34 z01EliteBook845G7 plasmashell[747698]: kde.plasmashell: requesting unexisting screen available rect -1
12月 10 18:14:34 z01EliteBook845G7 plasmashell[747698]: kde.plasmashell: requesting unexisting screen available rect -1
12月 10 18:14:34 z01EliteBook845G7 plasmashell[747698]: kde.plasmashell: requesting unexisting screen available rect -1
12月 10 18:14:34 z01EliteBook845G7 plasmashell[747698]: kde.plasmashell: requesting unexisting screen available rect -1
12月 10 18:14:34 z01EliteBook845G7 kded6[747687]: xsettingsd: Reloading configuration
12月 10 18:14:34 z01EliteBook845G7 kded6[747687]: xsettingsd: Loaded 14 settings from /home/zero/.config/xsettingsd/xsettingsd.conf
12月 10 18:14:34 z01EliteBook845G7 xdg-desktop-portal-kde[79142]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
12月 10 18:14:34 z01EliteBook845G7 polkit-kde-authentication-agent-1[801666]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
12月 10 18:14:34 z01EliteBook845G7 kdeconnectd[425041]: 2024-12-10T18:14:34 qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
12月 10 18:14:34 z01EliteBook845G7 kded6[747534]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
12月 10 18:14:34 z01EliteBook845G7 org_kde_powerdevil[747530]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
12月 10 18:14:34 z01EliteBook845G7 plasmashell[747698]: error getting display properties via dbus: QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/org/kde/ScreenBrightness/display3'")
12月 10 18:14:34 z01EliteBook845G7 plasmashell[747698]: org.kde.pulseaudio: No object for name "alsa_output.pci-0000_03_00.6.analog-stereo.monitor"
应该把虚拟机伪装成parallel desktop或者把设备伪装成steam deck都可以让这个东西自动关闭从而启动游戏,看到过好多带ace的游戏在这两个平台上成功启动的案例
Читать полностью…话说如果鸿蒙说的那个在内核中运行Linux兼容层来运行Linux内核模块是真的,那么是不是理论上就可以做一个kwine来实现兼容那些需要加载内核驱动的Windows程序
Читать полностью…在内核参数中加上root=/dev/mapper/root可以解决,感觉应该是bug,文档里写了说及时省略这个参数rootflags依然有效
加上root=gpt-auto则问题依然存在