简体   繁体   English

删除 GRUB cursor(内核之前)

[英]Remove GRUB cursor (before kernel)

I am trying to remove cursor that appears even before Boot menu and kernel (I am using GRUB2).我正在尝试删除甚至出现在引导菜单之前的 cursor 和 kernel(我正在使用 GRUB2)。 I can remove "GRUB loading" and "Welcome" messages but the cursor still remains.我可以删除"GRUB loading""Welcome"消息,但 cursor 仍然存在。 I tried modifying registers (AH, CH) with INT 10H routine in grub-core/boot/i386/pc/boot.S but that didn't work out.我尝试在grub-core/boot/i386/pc/boot.S中使用INT 10H例程修改寄存器(AH, CH) ,但没有成功。 Does anyone know if I am on the right tracks?有谁知道我是否在正确的轨道上? Can someone give me additional help?有人可以给我额外的帮助吗?

I got the answer from this post https://unix.stackexchange.com/questions/548277/how-to-hide-blinking-text-cursor-in-grub-boot .我从这篇文章https://unix.stackexchange.com/questions/548277/how-to-hide-blinking-text-cursor-in-grub-boot得到了答案。 All you have to do is add the parameter vt.global_cursor_default=0 in this line in /etc/default/grub:您所要做的就是在 /etc/default/grub 的这一行中添加参数vt.global_cursor_default=0

GRUB_CMDLINE_LINUX= GRUB_CMDLINE_LINUX=

... Then update grub ...然后更新grub

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM