小编Sud*_*ire的帖子

/boot/vmlinuz 文件不存在

我正在使用 debian,当我只是检查我的文件系统时没有vmlinuz文件,经过一些谷歌搜索后,许多没有 vmlinuz 的用户无法启动,但我的计算机启动良好。还有一个损坏的符号链接指向它,/boot/vmlinuz这让我非常确定它在我之前安装 debian 时就在那里。这是正常的还是出了什么问题?我曾经删除过引导分区,但我认为我可以修复它(之后我没有做任何与内核相关的事情)。是这个原因吗?我怎样才能把它带回来。而且我initrd.img的 72MB 大小不是很大吗?

boot kernel debian initrd

4
推荐指数
1
解决办法
812
查看次数

什么是交换优先级以及为什么重要

在查看swapon命令手册时,优先级选项被描述为

  -p, --priority priority
              Specify the priority of the swap device.  priority is a value
              between -1 and 32767.  Higher numbers indicate higher
              priority.  See swapon(2) for a full description of swap
              priorities.  Add pri=value to the option field of /etc/fstab
              for use with swapon -a.  When no priority is defined, it
              defaults to -1.
Run Code Online (Sandbox Code Playgroud)

有人可以解释交换的优先级是什么意思。这个设置的较高值和较低值对系统有什么影响,在家用电脑中应该是什么最佳值?编辑:swapon(2) 的手册页显示

They may have any non-negative value chosen by the caller
Run Code Online (Sandbox Code Playgroud)

但在我的系统(debian 10 测试)中,默认优先级值为 -1

swap priority devices fstab

-3
推荐指数
1
解决办法
3975
查看次数

标签 统计

boot ×1

debian ×1

devices ×1

fstab ×1

initrd ×1

kernel ×1

priority ×1

swap ×1