当前位置: 首页 > 工具软件 > GRUB2 Editor > 使用案例 >

Linux: grub

毛宏达
2023-12-01

参考

https://www.gnu.org/software/grub/manual/grub/html_node/index.html#SEC_Contents

如果新装kernel的rpm

需要运行grub2-mkconfig -o /boot/grub2/grub.cfg
让新的版本放到grub.cfg文件中

修改cmdline

  1. edit (your favorite editor) /etc/default/grub
  2. add “nox2apic” to the GRUB_CMDLINE_LINUX line if the file, e.g.

GRUB_CMDLINE_LINUX=“console=ttyS0,115200n81 console=tty0 crashkernel=128M@0 intremap=off panic=10 edd=off shelf=0 slot=9 idle=mwait fsck.repair=yes nox2apic”

  1. save the changes
  2. run command: grub2-mkconfig -o /boot/grub2/grub.cfg
  3. reboot the VM
  4. “cat /proc/interrupts” to verify IRQs are handled by all cores
 类似资料:

相关阅读

相关文章

相关问答