弄了两天,都升好了,没出什么大问题,还不错,赞一个.
升级到7.10
1.先在/etc/apt/source.list里填加源(教育网)
deb http://ftp.sjtu.edu.cn/ubuntu/ gutsy main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu/ gutsy-security main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ftp.sjtu.edu.cn/ubuntu/ gutsy main restricted universe multiverse
deb-src http://ftp.sjtu.edu.cn/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://ftp.sjtu.edu.cn/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://ftp.sjtu.edu.cn/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://ftp.sjtu.edu.cn/ubuntu/ gutsy-backports main restricted universe multiverse
2. sudo aptitude update
3. sudo aptitude dist-upgrade
中间出了一些错误, 会有提示,按着做就可以了, 一次没成功,就多运行几次sudo aptitude dist-upgrade,直到完成为至.
升级到KDE4
KDE4要在7.10以上才能装,过程如下:
First you need to edit the /etc/apt/sources.list file
sudo gedit /etc/apt/sources.list
add the following line
deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main
Save and exit the file
Update the source list using the following command
sudo aptitude update
Install KDE 4.0 in Ubuntu
First you need to remove any exiting kde4 using the following command
sudo aptitude remove kdelibs5 kde4base-data kde4libs-data
Now install kde4.0
sudo aptitude install kde4-core
This will complete the kde4.0 installation
you can run a full session by selecting “KDE 4″ from your login manager.
To avoid having to start a second X server for a full session install
xserver-xephyr and run Xephyr :1 & export DISPLAY=:1; xterm and run startkde in
the Xerphyr xterm.
安装显卡驱动
升级到7.10之后, 分辨率只有800x600, 估计是显卡驱动问题, 幸好Nvidia对Linux支持很好,可以到他的网站上直接下载驱动.
Ubuntu 7.10下安装Nvidia显卡驱动
引自 http://hi.baidu.com/gauyeah/blog/item/2627ce39382296f03b87ce7e.html
1、下载驱动
http://www.nvidia.com/page/home.html
根据显卡型号选择驱动下载, 我的显卡是NVIDIA GeForce4 MX 440, 下载的就是NVIDIA-Linux-x86-96.43.01-pkg1.run这个文件,
2.删除原驱动包
sudo apt-get --purge remove nvidia-glx nvidia-glx-new
然后删除 /lib/linux-restricted-modules/2.6.22-14-generic/文件夹下面带有nvidia字样的内容,这里是内核自带的驱动
再检查一下这两个文件是否存在,
/etc/init.d/nvidia-glx
/etc/init.d/nvidia-kernel
如果存在,删除掉。
3、安装要用到的软体
sudo apt-get install build-essential pkg-config xserver-xorg-dev linux-headers-`uname -r`
安装编译包。
4备份
sudo cp /etc/default/linux-restricted-modules-common \ etc/default/linux-restricted-modules-common.backup
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
5.禁止系统使用默认的驱动
sudo gedit /etc/default/linux-restricted-modules-common
在最后的双引号中添加nv nvidia_new,即把文件中的“”,改成“nv nvidia_new”
如果前面第二步删除完整了其实也可以不用执行这一步。
6.停止GDM(Gnome Desktop Manager)进程
sudo /etc/init.d/gdm stop
如果是用的KDM(KDE Desktop Manager),则是
sudo /etc/init.d/kdm stop
按Ctrl+Alt+F1,登录后进入第7步。
7.进入下好的驱动所在目录(用ls命令确认文件在不在)
sudo sh NVIDIA-Linux-x86-100.14.19-pkg1.run
安装过程中,
如果提示有旧驱动,询问是否删除旧驱动,选Yes;
如果提示缺少某某模块(modules),询问是否上网下载,选no;
如果提示编译模块,询问是否进行编译,选ok;
如果提示将要修改Xorg.conf,询问是否允许,选Yes;
接下来就是等待安装完成。
8.安装完成就回到终端,重启GDM /KDM
sudo /etc/init.d/gdm restart
或
sudo /etc/init.d/kdm restart
好了,当看到NV的logo后,安装成功。
如果实在不想看NVIDIA的LOGO,可以修改 /etc/X11/xorg.conf
在Section "Device"中添加Option "NoLogo" "True"
如:
Section "Device"
Identifier "通用显示卡"
Driver "nvidia"
Option "NoLogo" "True"
EndSection
OK 一切正常了.
richardkj 于 2008-01-21 01:59:31发表:
多谢分享!!!