WUYUANS
Just for Sharing

Debian安装总结

2012年07月18日 分类:学习笔记Debian

折腾了一天终于把Debian装好了,总结一下安装过程中遇到的问题。

1.内核版本问题。

我在官网下载的是Debian-6.0.5-i386-DVD-stable的安装镜像,安装好之后发现内核却是64位的,uname显示amd64。64位的内核其实也没什么坏处,但我在编译显卡驱动的时候提示错误,因为显卡驱动会被编译成64位,但我的系统除了内核是64位外其他都是32位的,所以显卡驱动装不上去。

解决办法:
重装系统,进入DVD引导后选择Advanced options,然后选Expert install或者Graphical expert install,这样在安装的过程中会提示选择内核版本,如果是大内存的话可以选bigmem的内核。

2.显卡驱动的安装问题

为了更好的发挥显卡的性能,我选择安装官网的闭源驱动。首先去官网下载相对应的驱动,比如我的是amd-driver-installer-12-6-x86.x86_64.run。用root安装。

sh ./amd-driver-installer-12-6-x86.x86_64.run

刚进入安装界面的时候提示缺少编译工具,原来刚装好的Debian连gcc、make都没有。

aptitude install build-essential

再次sh,还是不行,进入/usr/share/ati/ 查看日志提示:

> Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers. /lib/modules/2.6.32-5-686-bigmem/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.

解决办法,安装linux-headers:

aptitude install linux-headers-$(uname -r)

最后sh成功,再初始化下,重启即可:

aticonfig --initial -f
reboot

3.安装中文字体和输入法

aptitude install xfonts-wqy ttf-arphic-uming ttf-freefont ibus ibus-pinyin
作者:wuyuan 本文来自Wuyuan's Blog 转载请注明,谢谢! 文章地址: https://www.wuyuans.com/blog/detail/87