其他发行版可以一样处理(前提是需要内核编译进uvesafb)
首先安装v86d:
apt-get install v86d
然后下载两样东西:
wget
wget
解压后打入补丁:
tar xvf 915resolution-0.5.3.tar.gz
cd 915resolution-0.5.3
patch -Np1 -i ../915resolution-0.5.3-965GM.patch
编译
LDFLAGS="-s -static" make
cp dump_bios /usr/sbin/
cp 915resolution /usr/sbin/
然后到/etc/init.d/下写两个启动脚本:
vim /etc/init.d/915resolution
写入(这个是抄的arch的脚本):
#!/bin/bash
case "$1" in
start)
stat_busy "Patching the VBIOS"
/usr/sbin/915resolution $MODE $RESOLUTION >/dev/null
if [ $? -gt 0 ]; then
stat_fail
else
stat_done
fi
;;
stop)
/bin/true
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
;;
esac
运行下面一行:
chmod +x /etc/init.d/915resolution
还有一个文件:
vim /etc/init.d/uvesafb
写入:
915resolution 5c 1280 800 32
modprobe uvesafb mode=1280x800-32@60
运行下面一行:
chmod +x /etc/init.d/uvesafb
sysv-rc-conf(没有装就apt-get install sysv-rc-conf装一下)
选上915solution uvesafb的 2 3 4 5项
(当然你要自己做链接也可以)
最后
vim /boot/grub/menu.lst
删除debian启动时的vga选项
重启试试?一些OK