
我三天前用 LXQT 安裝了 Debian 10.3.0。這太棒了,我喜歡它,它啟動得很好,啟動時的每個內核行都非常好,當出現 2 條紅線時,它們非常醜陋!
[OK] Started /etc/rc.local.
[26.409377] CIFS: Unknown mount option "umask=000"
[FAILED] Failed to mount /mnt/smb.
See 'systemctl status mnt-smb.mount' for details.
[DEPEND] Dependency failed for Remote File Systems.
我創建了 rc.local 來製作 ConnMan UI 來修復我的區域網路卡以正常工作。因此,感謝 rc.local 它在啟動時啟動命令以使其正常工作。啟動時的錯誤是由此變更引起的嗎?一切正常,請告訴我如何修復此問題以實現 100% 乾淨啟動。另外,當系統啟動到達這條線時,它會減慢啟動5秒。
文件 rc.local 包含
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/sbin/ethtool -s ens5f5 speed 100 duplex full
exit 0
編輯#1這是的輸出systemctl status mnt-smb.mount
systemctl status mnt-smb.mount
● mnt-smb.mount - /mnt/smb
Loaded: loaded (/etc/fstab; generated)
Active: failed (Result: exit-code) since Mon 2020-03-30 15:02:35
Where: /mnt/smb
What: //192.168.1.171/ADMIN-PC
Docs: man:fstab(5)
man:systemd-fstab-generator(8)
lines 1-7/7 (END)
事實上,我曾嘗試透過 LAN 將 Windows 與 Debian 連接起來,但沒有成功。也許我的嘗試產生了這個我不知道如何解決的問題!