从下面可以看出GPT UEFI模式的还有dev-sda3.swap loaded inactive dead Swap Partition,需要关闭dev-sda3
root@debian:~# systemctl --type swap --all
UNIT LOAD ACTIVE SUB DESCRIPTION
dev-sda3.swap loaded inactive dead Swap Partition
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
To show all installed unit files use 'systemctl list-unit-files'.
使用如下方式可以永久关闭
root@debian:~# systemctl mask dev-sda3.swap
Created symlink /etc/systemd/system/dev-sda3.swap → /dev/null.
作者:admin 创建时间:2023-01-13 17:23
最后编辑:admin 更新时间:2023-08-21 16:19
最后编辑:admin 更新时间:2023-08-21 16:19