系統(tǒng)啟動(dòng)報(bào)錯(cuò): Error getting authority: Error initializing authority: could not connect: no such file or...

2021-05-25
系統(tǒng)啟動(dòng)報(bào)錯(cuò):
Error getting authority: Error initializing authority: could not connect: no such file or directory(g-io-error-quark,1)
原因:磁盤(pán)掛載錯(cuò)誤引起系統(tǒng)啟動(dòng)出錯(cuò)
解決:

journalctl -xb | grep mount      #根據(jù)提示輸入命令查看啟動(dòng)錯(cuò)誤日志,定位到是home目錄掛載出錯(cuò)
lsblk     #查看磁盤(pán)掛載情況,發(fā)現(xiàn)home目錄已經(jīng)取消掛在了(因?yàn)橹白龈夸洈U(kuò)容的時(shí)候把home卸載了)
vim /etc/fstab      #查看掛載文件,發(fā)現(xiàn)里面還有關(guān)于home的掛載配置,因此注釋掉home目錄的掛載配置即可
#
# /etc/fstab
# Created by anaconda on Wed Mar 24 10:50:52 2021
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root /                       xfs     defaults        0 0
UUID=43106cc7-7557-41ee-b45a-6e2a345bea19 /boot                   xfs     defaults        0 0
# /dev/mapper/centos-home /home                   xfs     defaults        0 0    **注釋掉這一行**
/dev/mapper/centos-swap swap                    swap    defaults        0 0

reboot      # 重啟系統(tǒng)即可恢復(fù)正常使用,注意檢查其他服務(wù)是否恢復(fù)正常運(yùn)行
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容