我今天重新启动了 ubuntu 22.04,它找不到根驱动器,并且我一直被删除到 root shell。相关性并不能证明因果关系,但我发现很奇怪的是 nvme0n1p5 同时安装在 / (正确)和 /var/snap/firefox/common/host-hunspell (不正确)。不确定这是挂载/fstab 的东西还是快照的东西还是什么......
\n$ lsblk \n\xe2\x94\x82 \n\xe2\x94\x9c\xe2\x94\x80nvme0n1p4 259:4 0 1G 0 part \n\xe2\x94\x9c\xe2\x94\x80nvme0n1p5 259:5 0 29.3G 0 part /var/snap/firefox/common/host-hunspell\n\xe2\x94\x82 /\n\xe2\x94\x9c\xe2\x94\x80nvme0n1p6 259:6 0 8.2G 0 part [SWAP]\nRun Code Online (Sandbox Code Playgroud)\n我将 fstab 更改为使用 PARTUUID 而不是 UUID,它最终启动了,但我想解决这个问题。
\n$ snap list\nName Version Rev Tracking Publisher Notes\nbare 1.0 5 latest/stable canonical\xe2\x9c\x93 base\ncore20 20220826 1623 latest/stable canonical\xe2\x9c\x93 base\nfirefox 105.0-2 1860 latest/stable/\xe2\x80\xa6 mozilla\xe2\x9c\x93 -\ngnome-3-38-2004 0+git.891e5bc 115 latest/stable/\xe2\x80\xa6 canonical\xe2\x9c\x93 -\ngtk-common-themes 0.1-81-g442e511 1535 latest/stable/\xe2\x80\xa6 canonical\xe2\x9c\x93 -\nhunspell-dictionaries-1-7-2004 1.7-20.04+pkg-6fd6 2 latest/stable brlin -\nsnap-store 41.3-64-g512c0ff 599 latest/stable/\xe2\x80\xa6 canonical\xe2\x9c\x93 -\nsnapd 2.57.1 16778 latest/stable canonical\xe2\x9c\x93 snapd\nsnapd-desktop-integration 0.1 14 latest/stable/\xe2\x80\xa6 canonical\xe2\x9c\x93 -\nRun Code Online (Sandbox Code Playgroud)\n
小智 19
以下命令立即删除额外的绑定:
snap disconnect firefox:host-hunspell
Run Code Online (Sandbox Code Playgroud)
双重绑定既不是有害的,也不是错误,但对我来说看起来不像 Linux。
| 归档时间: |
|
| 查看次数: |
15527 次 |
| 最近记录: |