終於在 20100501 安裝了新版的 unbuntu 10.04
不過卻在像以往一樣安裝 nvidia-driver時卻出現底下的錯誤訊息
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
installed in this system is not supported by this NVIDIA Linux graphics
driver release.
一開始以為是驅動程式版本的問題...
試了一下以前舊版的驅動程式似乎也是同樣的問題.!!
只好尋找 google大神求助一翻
http://ubuntuforums.org/showthread.php?t=1467074
看起來問題似乎出在 ubuntu 10.04 預設使用了 nouveau (open version nivida driver)
1.先將此模組 block起來
$sudo vim /etc/modprobe.d/blacklist.conf
增加一行
blacklist nouveau
2.移除舊有nouveau 驅動程式,移除完畢後系統會自動重開機
$sudo apt-get --purge remove xserver-xorg-video-nouveau
此外移除完 nouveau重開機你會發現,本來漂亮的Plymouth,解析度變差變醜了
3.切換到terminal模式底下
$sudo service gdm stop
$sudo sh NVIDIA-Linux-x86-195.36.24-pkg1.run(看你抓那各版本的Nvidia驅動程式)
$sudo service gdm start
如何讓 Plymouth 可以利用 nvidia-driver產生漂亮的開機畫面,似乎也是需要的
我不要移掉 nouveau 後就只有醜醜的開機過程
http://www.webupd8.org/2010/03/how-to-get-plymouth-working-with-nvidia.html
1. $sudo vim /etc/default/grub
在第18行左右的位置 增加或拿掉註解'#'
GRUB_GFXMODE=1024x768(視你螢幕解析度而定)
2.$sudo vim /etc/grub.d/00_header
"gfxmode=${GRUB_GFXMODE}"
找到103行左右位置
在這行底下增加
set gfxpayload=keep
3.重新製作grub.cfg
$sudo update-grub
接著就又回復到漂亮高解析度的Plymouth
另外附註
/etc/default/grub
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
將這兩行註解起來,以後grub開機時都會顯示開機選單