折騰了一天,終於把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~~