2009年9月26日土曜日

grub2 起動時の解像度設定

Grub2で解像度を変更する際の設定
#vim /etc/default/grub
にて下記を追加
GRUB_CMDLINE_LINUX="vga=791"
--

#update-grub


設定ファイルを見ると
# cat /etc/default/grub
--
# This file is sourced by update-grub, and its variables are propagated
# to its children in /etc/grub.d/
GRUB_DEFAULT=0
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet locale=ja_JP"
GRUB_CMDLINE_LINUX="vga=791"

# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console

0 件のコメント: