LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2145|回复: 7

T61完美安装fedora 9

[复制链接]
发表于 2008-7-26 00:46:53 | 显示全部楼层 |阅读模式
这几天在t61上硬盘安装了fedora 9(非DVD光驱刻录dvd会是件很郁闷的事情),于是驾轻就熟:

首先是硬盘安装的几点主要步骤:

1.grub for dos解压缩后的
  1. menu.lst, grldr, grub.exe
复制代码
放到C:\即可。

2.然后更改boot.ini,最后面加上:
  1. C:\grldr="Start Grub"
复制代码
,保存,重启即可见到心仪的grub。

3.grub命令(前提是镜像和解压的vmlinuz, initrd.img放在fat分区,我的是D,hd0,5):
  1. kernel (hd0,5)/vmlinuz
  2. initrd (hd0,5)/initrd.img
  3. boot
复制代码
安装之后删除这些即可.

然后是T61的fedora 9的相关安装和设置,我们的重点(显卡驱动,compiz,指纹,中键的滚轮功能)

我的安装很顺利,显卡nvidia quadro nvs 140m能识别,intel的4965AGN和Gb以太网,都OK。
进入fedora 9后:

1、安装额外的软件仓库:
rpm.livna.org 的软件包仓库:
  1. rpm -ivh http://livna-dl.reloumirrors.net/fedora/9/i386/livna-release-9-1.noarch.rpm
复制代码
freshrpms.net 的软件包仓库(我没有安装,以防冲突):
  1. rpm –ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/9/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
复制代码

2、安装最快源
  1. yum install yum-fastestmirror
复制代码
更新下载速度会快很多。

3、安装图形版yumex:
  1. yum install yumex
复制代码

4、关于自动升级:
4.1 system->perferences->system->software updates中设置不更新
4.2 在system->perferences->个人->会话 中取消PackageKit Update Applet
4.3 这时候我们手动升级到最新:
  1. yum update 我喜欢看看究竟升级了哪些包
  2. 或者直接 yum -y update
复制代码
4.4 然后安装一下 kernel-devel, kernel-headers等:
  1. yum install kernel*
复制代码

5、关于nvidia显卡驱动:
参考http://www.thinkwiki.org/wiki/Installing_Fedora_8_on_a_T61
  1. yum install kmod-nvidia
复制代码
我的内核是2.6.25.10,安装后重新启动就OK了,启动的时候能看见加载nvidia模块OK的信息,然后进入桌面的时候,有短暂的nvidia的画面,这就说明OK了,compiz可以直接使用了。

6、指纹识别Fingerprint Reader
参考http://www.thinkwiki.org/wiki/Installing_Fedora_8_on_a_T61
  1. yum install thinkfinger
复制代码
Later edit /etc/pam.d/system-auth (see /usr/share/doc/thinkfinger-0.3/README.Fedora)
And modify file. Look just like this (order is very important):
  1. #%PAM-1.0
  2. # This file is auto-generated.
  3. # User changes will be destroyed the next time authconfig is run.
  4. auth    required        pam_env.so
  5. auth    sufficient      pam_thinkfinger.so    =====>这是我们增加的一行
  6. auth    sufficient      pam_unix.so nullok try_first_pass
  7. auth    requisite       pam_succeed_if.so uid >= 500 quiet
  8. auth    required        pam_deny.so
复制代码
Later execute tf-tool for add fingerprint.
  1. # /usr/sbin/tf-tool --add-user user_name
复制代码
ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de>
Initializing... done.
Please swipe your finger (successful swipes 3/3, failed swipes: 0)(这儿输入3次)... done.
Storing data (/etc/pam_thinkfinger/user_name.bir)... done.
Setting ACL on aquired file: /etc/pam_thinkfinger/user_name.bir.
之后登陆的时候在选择了用户后,会有输入密码或者指纹的提示了。

7、gdesklet的天气插件good weather:
  1. yum install gdesklet*
复制代码
会安装gdesklets-quote-of-the-day,gdesklets-calendar,gdesklets-goodweather这些插件,自己选择即可。
天气插件有点问题,下面是改正信息:
http://www.linuxsir.cn/bbs/thread331627.html
修改文件/usr/share/gdesklets/Sensors/GoodWeather/__init__.py第44行(具体不一定是44行,新版本在42行(gdesklets-goodweather-0.3-2.fc8.noarch.rpm)),最后加上&link=xoap即可。
  1. You can get it working again by adding "&link=xoap" to the end of the definition for WEATHER_SOURCE in __init__.py and then restarting the desklet.
复制代码
  1. class GoodWeatherSensor(Sensor):
  2.     WEATHER_SOURCE = "http://xoap.weather.com/weather/local/" \
  3.                      "%(weather_code)s?cc=*&dayf=5&prod=xoap&" \
  4.                      "par=1003832479&key=bb12936706a2d601"
复制代码
  1. class GoodWeatherSensor(Sensor):
  2.     WEATHER_SOURCE = "http://xoap.weather.com/weather/local/" \
  3.                      "%(weather_code)s?cc=*&dayf=5&prod=xoap&" \
  4.                      "par=1003832479&key=bb12936706a2d601&link=xoap"
复制代码

8、3D compiz:
http://www.linuxsir.cn/bbs/thread329096.html
Fedora 9 Installation Guide
http://www.my-guides.net/en/content/view/103/1/#compizfusion

21. Compiz-Fusion

Compiz Fusion is the 'cool cube' most of you have seen in a screenshot or video all over the Internet. Fedora 9 comes with a version of it that doesn't have all the features. You can take a look at it under System -> Preferences -> Look and Feel -> Desktop Effects. But if you want to use all the effects, plugins etc. follow the instructions below.

* Official Packages
The compiz-fusion packages found in Fedora repositories are a few versions back but they'll do their work. To install them type:
  1. su -c 'yum remove compiz'
  2. rm -rf ~/.gconf/apps/compiz
  3. su -c 'yum install yum install compiz-fusion compiz-fusion-gnome compiz-fusion-extras compiz-fusion-extras-gnome compiz-manager gnome-compiz-manager ccsm fusion-icon fusion-icon-gtk emerald emerald-themes'
复制代码

* Unofficial Packages
  1. su -c 'rpm -Uvh http://www.dfm.uninsubria.it/compiz/compiz-fusion-release-1-1.noarch.rpm'
  2. su -c 'yum remove compiz'
  3. rm -rf ~/.gconf/apps/compiz
  4. su -c 'yum install compiz-all fusion-icon-all compiz-fusion-plugins-unsupported compiz-fusion-plugins-extra compiz-bcop ccsm emerald-themes compizconfig-backend-gconf compizconfig-backend-kconfig'
复制代码
我用的是Unofficial Packages,很好,恩,和以前的F8一样了,甚至是更好,更流畅了



9、输入法,AWN托盘,娱乐
在英文环境下使用SCIM中文输入法
参考http://chs.mobile01.com/topicdet ... 41&last=5577320
  1. im-chooser
复制代码
选择
  1. "Use custom input method <scim>"
复制代码
登出再登入就可以选了。
  1. yum install avant-window-navigator audacious* mplayer*
复制代码
audacious的皮肤:~/.local/share/audacious/Skins
把compiz, avant-window-navigator加入到启动(个人->会话),自己选择一个喜欢的窗口装饰即可。

10、Trackpoint和中键配合的滚轮功能配置
参考:
Trackpoint scroll with Fedora 9 http://vbraun.name/cms/node/7
或者用快照http://203.208.33.101/search?q=c ... oRmUzDIrRACbzKeCyxQ
  1. # Xorg configuration created by livna-config-display
  2. # ======added by liuhongdan
  3. Section "ServerFlags"
  4.         Option                "AutoAddDevices" "false"
  5. EndSection
  6. # ======added end.
  7. Section "ServerLayout"
  8.         Identifier     "single head configuration"
  9.         Screen      0  "Screen0" 0 0
  10.         InputDevice    "Keyboard0" "CoreKeyboard"
  11. # =====added by liuhongdan
  12.         InputDevice         "Trackpoint" "CorePointer"
  13.         Option                "AIGLX" "on"
  14. # =====added end.
  15. EndSection
  16. Section "Files"
  17.         ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
  18.         ModulePath   "/usr/lib/xorg/modules"
  19. EndSection
  20. # Section "ServerFlags"
  21. #         Option            "AIGLX" "on"
  22. # EndSection
  23. Section "InputDevice"
  24. # keyboard added by rhpxl
  25.         Identifier  "Keyboard0"
  26.         Driver      "kbd"
  27.         Option            "XkbModel" "pc105"
  28.         Option            "XkbLayout" "us"
  29. EndSection
  30. # =====added by liuhongdan
  31. Section "InputDevice"
  32.         Identifier         "Trackpoint"
  33.         Driver                 "mouse"
  34.         Option                "CorePointer"
  35.         Option                 "Device" "/dev/input/mice"
  36.         Option                 "Protocol" "ExplorerPS/2"
  37.         Option                 "Emulate3Buttons" "off"
  38.         Option                 "EmulateWheel" "on"
  39.         Option                 "EmulateWheelTimeOut" "200"
  40.         Option                 "EmulateWheelButton" "2"
  41.         Option                 "YAxisMapping" "4 5"
  42. #        Option                 "XAxisMapping" "6 7"
  43.         Option                 "ZAxisMapping" "4 5"
  44. EndSection
  45. # =====added end.
  46. Section "Monitor"
  47.         Identifier   "Monitor0"
  48.         ModelName    "LCD Panel 1280x800"
  49.         HorizSync    31.5 - 50.0
  50.         VertRefresh  56.0 - 65.0
  51.         Option            "dpms"
  52. EndSection
  53. Section "Device"
  54.         Identifier  "Videocard0"
  55.         Driver      "nvidia"
  56.         Option            "AddARGBGLXVisuals" "True"
  57. EndSection
  58. Section "Screen"
  59.         Identifier "Screen0"
  60.         Device     "Videocard0"
  61.         Monitor    "Monitor0"
  62.         DefaultDepth     24
  63.         SubSection "Display"
  64.                 Viewport   0 0
  65.                 Depth     24
  66.         EndSubSection
  67. EndSection
  68. Section "Extensions"
  69.         Option            "Composite" "Enable"
  70. EndSection
复制代码

最后,OK,全部完成,享受吧。
发表于 2008-7-26 10:17:12 | 显示全部楼层
偶想在X32上面安装,学习一下。
回复 支持 反对

使用道具 举报

发表于 2008-7-26 13:06:05 | 显示全部楼层
支持搂主,改天买的时候就参考这个了。


呀,没用过这么高级的笔记本,嘿嘿

羡慕中。我的都是 vostro 1200 最底配置的那款,才 5000 块。
回复 支持 反对

使用道具 举报

发表于 2008-7-26 16:43:53 | 显示全部楼层
我的是X61正想装个FC9呢。
有点儿问题,请教下楼主!!!!
我的一键还原分区没删,第二个主分区是CFAT)盘装的XP,扩展分区里有D:盘和E:盘(NTFS)。预留了一个45G的空间想装FC9.
硬盘安装的的,可是到了分区的时候报错,是哪里的问题啊?
回复 支持 反对

使用道具 举报

发表于 2008-10-11 21:47:54 | 显示全部楼层
我的本是X61的,今年7月份买的,之前装的是 ubuntu 8.04 在xorg.conf 里面设置一下就可以使用键盘中间键 ,但是我装了fedora 9 之后xorg.conf是这样的
# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"

# keyboard added by rhpxl
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "LCD Panel 1024x768"
        HorizSync    31.5 - 48.0
        VertRefresh  56.0 - 65.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "intel"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

之前照着帖子上做的,可是重启之后就不无法进入图形界面, 中间键无法使用

请问各位高手 我是什么驱动没有装吗?? 还是我的设置有问题 ,请帮我解决一下,使用小红帽 和中间键 习惯了 ,现在不能用 感觉很郁闷  
大家帮帮忙啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-12 13:35:26 | 显示全部楼层
重启之后进不了图形,应该是显卡的问题
开机信息里面应该可以看到,小红点之类的都已经识别了,所以肯定是可以搞定的,似乎是每个版本的更新太快,所以每次都有点不同。

有没有startx看看什么错误信息?显卡驱动都安装好了?在fedora换了key之后,显卡的安装使用这个命令:
  1. install akmod-nvidia
复制代码
然后重启的时候自动解压安装。
回复 支持 反对

使用道具 举报

发表于 2008-10-30 12:19:48 | 显示全部楼层
学习了。。。一无所知的新手来学习。
回复 支持 反对

使用道具 举报

发表于 2008-10-30 13:49:19 | 显示全部楼层
不错,不错,学习了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表