折腾了一天,终于把BackTrack 5 R1全面汉化、装中文输入法、升级到Ubuntu 10.10了,其中有很多细节的东西需要注意,教程开始,KDE版本类似。
为了防止升级后进不了BackTrack5,请先解决"piix4_smbus host smbus controller not enabled" 错误
虚拟机没有SMBus,但BackTrack 5在启动时试图加载这个模块会产生"piix4_smbus host smbus controller not enabled" 错误。
root@bt:~# nano /etc/modprobe.d/blacklist.conf
增加一行:
blacklist i2c_piix4
汉化篇
1、BT5R1-GNOME-VM-32.7z默认是英文(en_US)环境,大家需要改变一下本地设置
修正语言设置
root@bt:~# nano /etc/default/locale
2、更换BackTrack 5和Ubuntu更新源
root@bt:~# cp /etc/apt/sources.list /etc/apt/sources.list.bak
root@bt:~# nano /etc/apt/sources.list
debhttp://mirrors.ustc.edu.cn/backtrack/sourcerevolution main microverse non-free testing
debhttp://mirrors.ustc.edu.cn/backtrack/allrevolution main microverse non-free testing
debhttp://mirrors.ustc.edu.cn/backtrack/32revolution main microverse non-free testing
debhttp://all.repository.backtrack-linux.orgrevolution main microverse non-free testing
debhttp://32.repository.backtrack-linux.orgrevolution main microverse non-free testing
debhttp://source.repository.backtrack-linux.orgrevolution main microverse non-free testing
#UESTC 电子科技大学 Ubuntu 10.10 源
debhttp://ubuntu.uestc.edu.cn/ubuntu/maverick main restricted universe multiverse
debhttp://ubuntu.uestc.edu.cn/ubuntu/maverick-backports main restricted universe multiverse
debhttp://ubuntu.uestc.edu.cn/ubuntu/maverick-proposed main restricted universe multiverse
debhttp://ubuntu.uestc.edu.cn/ubuntu/maverick-security main restricted universe multiverse
debhttp://ubuntu.uestc.edu.cn/ubuntu/maverick-updates main restricted universe multiverse
deb-srchttp://ubuntu.uestc.edu.cn/ubuntu/maverick main restricted universe multiverse
deb-srchttp://ubuntu.uestc.edu.cn/ubuntu/maverick-backports main restricted universe multiverse
deb-srchttp://ubuntu.uestc.edu.cn/ubuntu/maverick-proposed main restricted universe multiverse
deb-srchttp://ubuntu.uestc.edu.cn/ubuntu/maverick-security main restricted universe multiverse
deb-srchttp://ubuntu.uestc.edu.cn/ubuntu/maverick-updates main restricted universe multiverse
#163网易 Ubuntu 10.10 源
debhttp://mirrors.163.com/ubuntu/maverick main restricted universe multiverse
debhttp://mirrors.163.com/ubuntu/maverick-security main restricted universe multiverse
debhttp://mirrors.163.com/ubuntu/maverick-updates main restricted universe multiverse
debhttp://mirrors.163.com/ubuntu/maverick-proposed main restricted universe multiverse
debhttp://mirrors.163.com/ubuntu/maverick-backports main restricted universe multiverse
deb-srchttp://mirrors.163.com/ubuntu/maverick main restricted universe multiverse
deb-srchttp://mirrors.163.com/ubuntu/maverick-security main restricted universe multiverse
deb-srchttp://mirrors.163.com/ubuntu/maverick-updates main restricted universe multiverse
deb-srchttp://mirrors.163.com/ubuntu/maverick-proposed main restricted universe multiverse
deb-srchttp://mirrors.163.com/ubuntu/maverick-backports main restricted universe multiverse
3、更新源列表
root@bt:~# apt-get update
4、升级BackTrack 5到Ubuntu 10.10
root@bt:~# apt-get upgrade
5、升级完后开始装Ubuntu一些常用软件和汉化、输入法组件
root@bt:~#apt-get install synaptic language-pack-gnome-zh language-support-zh language-pack-gnome-zh-base gnome-system-tools language-pack-zh language-pack-zh-base language-selector gnome-utils tsclient vinagre update-manager software-center
10多分钟基本上就装好了,但是要注意看下有没有错误,要是有错误组件的话,请用autoremove卸载,之前安装的时候一直有rubygems组件升级有错,所以:
root@bt:~#apt-get autoremove rubygems1.8 rubygems
就行了。
最后重启!基本上就能看见汉化的效果了,最后,你可以在软件中心里面添加自己喜欢的软件,Enjoy It。
声明: 此文观点不代表本站立场;转载须要保留原文链接;版权疑问请联系我们。