修改Ubuntu console控制台显示器分辨率
2011-03-10 18:39
288 查看
1、修改文件/etc/default/grub
sudo vim /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#mjk 2010-10-26 mask
#--------------------------------------------
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
#--------------------------------------------
#GRUB_CMDLINE_LINUX=""
#mjk 2010-10-26 add
#--------------------------------------------
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap"
GRUB_GFXMODE=1280x1024
#--------------------------------------------
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1280x1024
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
2、修改文件/etc/initramfs-tools/modules
sudo vim /etc/initramfs-tools/modules
# List of modules that you want to include in your initramfs.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
uvesafb mode_option=1280x1024-24 mtrr=3 scroll=ywrap
3、更新(update)
sudo update-grub
sudo update-initramfs -u
4、重启机器(reboot)
sudo vim /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#mjk 2010-10-26 mask
#--------------------------------------------
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
#--------------------------------------------
#GRUB_CMDLINE_LINUX=""
#mjk 2010-10-26 add
#--------------------------------------------
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap"
GRUB_GFXMODE=1280x1024
#--------------------------------------------
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1280x1024
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
2、修改文件/etc/initramfs-tools/modules
sudo vim /etc/initramfs-tools/modules
# List of modules that you want to include in your initramfs.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
uvesafb mode_option=1280x1024-24 mtrr=3 scroll=ywrap
3、更新(update)
sudo update-grub
sudo update-initramfs -u
4、重启机器(reboot)
相关文章推荐
- ubuntu xrandr修改显示器分辨率(临时效果)
- ubuntu 修改shell分辨率(适用于桌面和Server版本),非menulist方法
- VMware Workstation14 Pro 修改 Ubuntu 16.04 的分辨率(一劳永逸的方法)
- VirtualBox中修改Ubuntu-server分辨率
- ubuntu16.04外接显示器分辨率问题
- VMware中Ubuntu 修改分辨率
- linux系统weblogic服务器Console控制台密码忘记如何修改
- ubuntu 没有显示器 vnc登陆 分辨率设置
- 一步步搭建ubuntu server console(控制台,字符模式)开发环境
- ubuntu 11.04 修改开机分辨率
- myeclipse修改控制台Console在运行/测试模式下的输出字符数量
- linux vga tty 分辨率设置,tmux 设置,putty 仿ubuntu console, xterm设置
- ubuntu 安装nvidia驱动后修改分辨率方法
- ubuntu 修改分辨率
- 修改ubuntu屏幕分辨率
- ubuntu10.04双显示器扩展方式,笔记本外接显示器分辨率低增加没有的分辨率
- [Ubuntu] 14.04 外接显示器分辨率调整
- ubuntu 12.04修改分辨率
- ubuntu xrandr修改分辨率
- [亲测失败] Ubuntu 双显示器扩展方式 接显示器分辨率低的解决 [拼接整合]