似乎找到了无法挂载问题的根源,就是这个ubuntu-server的依赖软件,cloud-initramfs-copymods

根据ubuntu软件包的官网介绍,这个软件的作用是

copy initramfs modules into root filesystem for later use
将initramfs模块复制到根文件系统中以供以后使用

When booting with an external-to-root kernel and initramfs, you need to ensure that /lib/modules contains any necessary modules not already loaded.
.
This package arranges for the modules in the initramfs to be placed into /lib/modules after the switchroot is done.

并没有看懂,在网上也没有查找到相关说明,根据我的理解,大概是一个提高系统健壮性的软件

stackexchange 上有关于此问题的解答,回答者解释了这个软件的工作流程,同时给出了这个问题的解决方法。。。那就是卸载cloud-initramfs-copymods

需要注意的是卸载后要重装一遍linux-modules-*内核模块包,重启后发现/lib/modules目录终于正常了。

 

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注