Files
linux-wiki/content/deepin折腾笔记/第七章/7.33.md
2021-10-21 14:57:58 +08:00

5 lines
473 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 7.33 解决多系统启动缓慢
多Linux系统如果共用同一个swap交换空间因为在安装新的Linux系统时会自动格式化swap交换空间导致其uuid发生变化与之前安装的Linux系统/etc/fstab自动挂载表中记录的swap uuid不一致所以导致启动长时间寻找swap分区。用systemd-analyze命令查看会发现userspace使用了大量时间。
解决方法:修改/etc/fstab让swap分区与新的uuid同步。