|
|
总是感觉系统启动时字体过大,于是想把分辨率提高些,在/boot/grub/menu.lst发现有这个参数行:
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=
于是把它启用,并设置为
defoptions=vga=791(后面的resume没有写上,因为不知道/dev/hdaX指/boot分区还是/分区)
但是启动时还是没有改变。
于是只好将vga=791写在kernel行的后面,如下:
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.24-1-686
root (hd0,0)
kernel //vmlinuz-2.6.24-1-686 root=/dev/hda3 ro vga=791
initrd //initrd.img-2.6.24-1-686
title Debian GNU/Linux, kernel 2.6.24-1-686 (single-user mode)
root (hd0,0)
kernel //vmlinuz-2.6.24-1-686 root=/dev/hda3 ro single vga=791
initrd //initrd.img-2.6.24-1-686
### END DEBIAN AUTOMAGIC KERNELS LIST
这样启动时就可以了,但是如果多个内核,就有点麻烦,而且每次更新内核后这些参数将丢失,又得重新手动编辑。
不知道在哪个文件里可以设置个全局变量,不需要这样修改? |
|