Whenever initramfs is updated I get a message similar to this:
I: The initramfs will attempt to resume from /dev/zram1
I: (UUID=1d4b8573-7eee-43c9-a02a-10a65fc17b8a)
I: Set the RESUME variable to override this.
Run Code Online (Sandbox Code Playgroud)
但是,因为我所有的交换分区都是zram设备,所以我想禁用恢复。我怎样才能做到这一点?
And*_*ini 21
您可以通过添加RESUME=none到 initramfs 配置来禁用从交换设备恢复。
将其放入名为 的文件中/etc/initramfs-tools/conf.d/noresume.conf:
# Disable resume (this system has no swap)
RESUME=none
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6089 次 |
| 最近记录: |