在去年的這個時候 我寫了一篇Ubuntu 7.10 Linux on ThinkPad X61 安裝筆記和
Fedora Core 7 Linux ThinkPad X61 安裝筆記
途中經過了8.04LTS版本之後 今天把系統升級到最新的8.10了
升級完遇到的問題就寫在這邊了,如果是要全新安裝的朋友就請先參考7.10這邊安裝筆記
然後再來搭配以下的內容
A.從8.04LTS透過網路升級到8.10
圖形工具的升級方式
執行System/Administration/Update Manager
文字模式下的升級
1.如果還沒安裝升級工具的話
sudo apt-get install update-manager-core
2.編輯Edit /etc/update-manager/release-upgrades如下
Prompt=normal
3.開始升級
sudo do-release-upgrade
以我的狀況來說,需要下載1GB左右的資料
之後安裝大概花了一兩個小時
之間會問一些是否要取代現有的設定檔案,依照個人狀況來決定是否要更新
參考資料 http://www.ubuntu.com/getubuntu/upgrading
B.更新因為安裝時沒選擇更新grub menu 所以必須要手動將新的kernel加到/boot/grub/menu.lst中
title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd0,2)
kernel /vmlinuz-2.6.27-7-generic root=UUID=XXXXXX
initrd /initrd.img-2.6.27-7-generic
quiet
C.然後重新開機進到新的kernel中
一開機之後ubuntu就卡在X-window的登入畫面,鍵盤跟滑鼠都沒有反應,原來是xorg出問題了
這時候按下ctrl+alt+F2切換到文字模式,用root進到/etc/X11裏面
會看到一個xorg.conf.dist-upgrade-200811090710之類的檔案,這是新的xorg設定檔
將原本xorg.conf的更名為其他名稱,在把那個新的xorg.conf.dist-upgrade-200811090710改成xorg.conf
之後把xorg重新啟動滑鼠跟鍵盤就正常了
D.進去X-window之後因為是新的kernel的關係 所以madiwif又掛掉了
所以又要在重新安裝一次madwifi
1.下載新版的madwifi
http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/
2.解壓縮madwifi-hal-0.10.5.6-r3875-20081105.tar.gz
3.在madwifi目錄下確定目前所用的kernel是妳想要安裝驅動的kernel,不然請參考 INSTALL檔案下編譯不同核心驅動的方式
執行make
4.執行'sudo make install'
5.執行 'sudo modprobe ath_pci'
6.最後你可以用NetworkManager來設定無線網路或是手動來設定
#wireless setting file 'home.wireless'
sudo ifconfig eth0 down
sudo ifconfig ath0 down
sudo dhclient -r ath0
sudo iwconfig ath0 essid 你的ESSID
sudo iwconfig ath0 key 你的網路密碼
sudo iwconfig ath0 mode Managed
sudo ifconfig ath0 up
sudo dhclient ath0
E.修正向上鍵變成print screen的問題
sudo apt-get remove --purge dosbox && sudo apt-get install dosbox
F.修復指紋辨識thinkfinger
如果還沒有安裝的話,請參考7.10的安裝筆記
在 /etc/pam.d/common-auth 中加入
# /etc/pam.d/common-auth - authentication settings common to all services
auth sufficient pam_thinkfinger.so
#加入以上這行^^^^^^^^^^^^^^^^
auth required pam_unix.so try_first_pass nullok_secure
以上大概是我升級之後所遇到的問題,要是有其他問題的話,之後在一一補上
補充一些我遇到的問題與我看到的solution
1.中鍵模擬滾輪的功能在8.10上要改的地方不一樣了,在
/etc/hal/fdi/policy/mouse-wheel.fdi檔案中新增以下內容即可
<match key="info.product" string="TPPS/2 IBM TrackPoint">
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>
並經實驗確認,外接滑鼠的滾輪也不會受此設定影響而失效....
2.一開始升級完我還以為的我指紋辨識掛點了,
後來才發現8.10上的指紋掃描完要加按[enter]才完成輸入
3.要拿去接D-sub接頭(投影機)可以用指令
xrandr -output VGA --auto 啟動VGA output
xrandr -output VGA --off 關閉VGA output
xrandr --output LVDS --auto --output VGA --auto 兩者都開
如果我有找到甚麼問題或是 solution我再來補充
內文搜尋

X