背景
有些内核不使用grub或者启动使用UEFI等配置后,造成使用经典的/etc/default/grub不生效。有些时候有办法找到真正的/boot目录下的文件,直接修改问题。还有可以使用grubby给Linux系统的启动参数添加参数。比如以iommu等参数为例
grubby用法
比如添加打开iommu以及开启pt和realloc
## 添加
grubby --update-kernel=$(grubby --default-kernel) --args="intel_iommu=on iommu=pt pci=realloc"
## 删除
grubby --update-kernel=$(grubby --default-kernel) --remove-args="intel_iommu=on iommu=pt pci=realloc"

最低0.47元/天 解锁文章
2336

被折叠的 条评论
为什么被折叠?



