如何在Debian 中啟用 fbcon

來源:互聯網
上載者:User

如何在Debian 中啟用 fbcon

如果你使用MinGUI提示的是NEWGAL: Does not find matched engine: qvfb ,請先參照後半部分文章修改 為fbcon ,當修改為fbcon 後, 再根據下面的內容修改cmdline

vi /boot/grub/grub.cfg
開啟後, 找到
啟動項菜單中的啟動參數, 加入下面紅色的部分 
有些地方是  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    '載入初始化記憶體盤...'
       initrd  /boot/initrd.img-3.2.0-4-686-pae


事實上, 在debian 中, 我們應該修改  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

如果你不想用這個, 那麼設定 mingui.cfg

到目錄 /usr/local/etc#  中  編輯 MiniGUI.cfg

 原來是 qvfb 現在修改紅色的部分, 藍色部分是解析度 和顏色位元, 我這裡是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

本文永久更新連結地址:

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.