如何在debian 中启用 fbcon
2019獨角獸企業(yè)重金招聘Python工程師標準>>>
如果你使用MinGUI提示的是NEWGAL: Does not find matched engine: qvfb ,請先參照后半部分文章修改 為fbcon ,當(dāng)修改為fbcon 后, 再根據(jù)下面的內(nèi)容修改cmdline
vi /boot/grub/grub.cfg
打開后, 找到
啟動項菜單中的啟動參數(shù), 加入下面紅色的部分??
有些地方是??kernel??, 有些是 linux??開頭的行。
menuentry 'Debian GNU/Linux,Linux 3.2.0-4-686-pae' --class debian --class gnu-linux --class gnu --class os {
? ?? ???load_video
? ?? ???insmod gzio
? ?? ???insmod part_msdos
? ?? ???insmod ext2
? ?? ???set root='(hd0,msdos1)'
? ?? ???search --no-floppy --fs-uuid --set=root 00264381-7f4f-4407-82a7-998f8def8aa7
? ?? ???echo? ? '載入 Linux 3.2.0-4-686-pae ...'
? ?? ???linux? ?/boot/vmlinuz-3.2.0-4-686-pae root=UUID=00264381-7f4f-4407-82a7-998f8def8aa7 vga=0x0314 fb:on? ?ro??quiet
? ?? ???echo? ? '載入初始化內(nèi)存盤...'
? ?? ???initrd??/boot/initrd.img-3.2.0-4-686-pae
事實上, 在debian 中, 我們應(yīng)該修改??vi /etc/default/grub 文件中的GRUB_CMDLINE_LINUX_DEFAULT :
GRUB_CMDLINE_LINUX_DEFAULT="vga=0x0314 fb:on quiet"
然后 保存后,
運行 update-grub? ?來重新生成 /boot/grub/grub.cfg??文件
?
?
注意:
NEWGAL: Does not find matched engine: qvfb? 你需要啟動qvfb
如果你不想用這個, 那么設(shè)置 mingui.cfg
到目錄 /usr/local/etc#? 中? 編輯 MiniGUI.cfg
?原來是 qvfb 現(xiàn)在修改紅色的部分, 藍色部分是分辨率 和顏色位數(shù), 我這里是800X600 24位
[system]
# GAL engine and default options
gal_engine=fbcon
defaultmode=800x600-24bpp
# IAL engine
ial_engine=fbcon
mdev=/dev/input/mice
mtype=IMPS2
[fbcon]
defaultmode=800x600-24bpp
?
轉(zhuǎn)載于:https://my.oschina.net/mysticboy/blog/541373
總結(jié)
以上是生活随笔為你收集整理的如何在debian 中启用 fbcon的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ES6实现一些常见算法
- 下一篇: Python3快速入门(五)——Pyth