引用:
GRUB_TERMINAL=console
GRUB_GFXPAYLOAD_LINUX=800x600x24
这才是我真正想要的
1.
GRUB_TERMINAL=consoleLinux 的 console 分為兩類
https://en.wikipedia.org/wiki/Linux_consoleLinux console
There are two main implementations: framebuffer and text mode.
1-1. Linux framebuffer
https://en.wikipedia.org/wiki/Linux_framebuffer1-2. Text mode
https://en.wikipedia.org/wiki/Text_mode2.
http://mcs.une.edu.au/doc/grub2-tools/grub.html‘GRUB_TERMINAL_INPUT’
‘console’ (native platform console),
The default is to use the platform’s native terminal input.
‘GRUB_TERMINAL_OUTPUT’
‘console’ (native platform console),
The default is to use the platform’s native terminal output.
‘GRUB_TERMINAL’
If this option is set, it overrides both ‘GRUB_TERMINAL_INPUT’ and ‘GRUB_TERMINAL_OUTPUT’ to the same value.
2-1. 意思是 ‘GRUB_TERMINAL’ ‘GRUB_TERMINAL_OUTPUT’ ‘GRUB_TERMINAL_INPUT’ 預設值就是 'console'
不需額外指定2-2. sudo cat /etc/default/grub
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
意思是 如果設定 GRUB_TERMINAL=console 將會關閉 圖形終端機
2.
GRUB_GFXPAYLOAD_LINUX=800x600x242-1. 當已設定 GRUB_GFXPAYLOAD_LINUX=800x600x24 需要 圖形顯卡驅動 支援
2-1-1.
http://mcs.une.edu.au/doc/grub2-tools/grub.html‘GRUB_VIDEO_BACKEND’
If graphical video support is required, either because the ‘gfxterm’ graphical terminal is in use or because ‘GRUB_GFXPAYLOAD_LINUX’ is set, then grub2-mkconfig will normally load all available GRUB video drivers and use the one most appropriate for your hardware. If you need to override this for some reason, then you can set this option.
After grub2-install has been run, the available video drivers are listed in /boot/grub2/video.lst.
2-2. GRUB_GFXPAYLOAD_LINUX 可以設定為 text keep 800x600x24 等等方式
2-2-1.
http://mcs.une.edu.au/doc/grub2-tools/grub.html‘GRUB_GFXPAYLOAD_LINUX’
Set to ‘text’ to force the Linux kernel to boot in normal text mode, ‘keep’ to preserve the graphics mode set using ‘GRUB_GFXMODE’, ‘widthxheight’[‘xdepth’] to set a particular graphics mode, or a sequence of these separated by commas or semicolons to try several modes in sequence. See gfxpayload.
2-2-2. Depending on your kernel, your distribution, your graphics card, and the phase of the moon, note that using this option may cause GNU/Linux to suffer from various display problems, particularly during the early part of the boot sequence. If you have problems, set this option to ‘text’ and GRUB will tell Linux to boot in normal text mode.
2-2-3. 如果有問題 選擇
text 是被推薦的方法
3. 設定 GRUB_GFXPAYLOAD_LINUX=
text 如果還有問題 參閱
http://askubuntu.com/questions/61233/wh ... linux-text引用:
如何换回硬件字体
4. 參閱
http://askubuntu.com/a/61252/198920cd /usr/share/grub/ . Copy the font files to another directory (cp, needs sudo, and *.pft copies the three font files at once) with sudo cp *.pf2 /boot/grub then update grub with sudo update-grub.
4-1. 如果你有偏好的字型檔 使用 root 權限 複製/貼到 /boot/grub 然後 執行 sudo update-grub
引用:
这里我不需要中文,ASCII 足矣。
5. 可以試試
GRUB_GFXPAYLOAD_LINUX=800x600x24
改為
# GRUB_GFXPAYLOAD_LINUX=800x600x24
5-1. sudo update-grub
5-2. sudo reboot
5-3. 如果 monitor 分辨率 比較大 字體將比較小
可以使用
sudo dpkg-reconfigure console-setup
調整字體大小
6. 提醒 凡是修改 /etc/default/grub
一定要 執行
sudo update-grub
sudo reboot
才生效
7. 以上一些是 參閱 Ubuntu 文件 但是 Debian 應該大部分可以適用
如果有錯誤 歡迎再貼文