文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Gentoo 安装小节

Gentoo 安装小节

时间:2006-12-17  来源:netyang

重装Gentoo中,闲着没事,写一下遇到的一些问题和解决方法.   1.docbook-xml-dtd-4.4 这个家伙是emerge gnome时候出现的.现象就是 emerge gnome-applets时候的错误.   解决方法: emerge -va =app-text/docbook-xml-dtd-4.3 具体可以查询buglist <位置丢了>   2.我的本子硬件为 lspci 结果:    

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
06:09.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:09.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:09.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:09.4 Class 0805: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller

驱动我的显卡,现在还没有配置好.先暂时放上我的xorg.conf如下

 

Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc/"
    FontPath "/usr/share/fonts/TTF/"
    FontPath "/usr/share/fonts/OTF"
    FontPath "/usr/share/fonts/Type1/"
    FontPath "/usr/share/fonts/CID/"
    FontPath "/usr/share/fonts/100dpi/"
    FontPath "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
    Load "extmod"
    Load "dbe"
    Load "record"
    Load "xtrap"
    Load "dri"
    Load "glx"
    Load "freetype"
    Load "type1"
    Load    "freetype"
EndSection

Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option    "CoreKeyboard"
    Option    "XkbRules"    "xorg"
#    Option    "XkbModel"    "pc105"
#    Option    "XkbLayout"    "be"
EndSection

Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option        "CorePointer"
    Option     "Protocol" "auto"
    Option     "Device" "/dev/input/mouse0"
    Option     "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        Option "NoAccel" "false"     # [<bool>]
        #Option "SWcursor"     # [<bool>]
        #Option "ColorKey"     # <i>
        #Option "CacheLines"     # <i>
        #Option "Dac6Bit"     # [<bool>]
        Option "DRI" "true"     # [<bool>]
        #Option "NoDDC"     # [<bool>]
        #Option "ShowCache"     # [<bool>]
        #Option "XvMCSurfaces"     # <i>
        #Option "PageFlip"     # [<bool>]
    Identifier "Card0"
    Driver "i810"
    VendorName "Intel Corporation"
    BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller"
    BusID "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth    24
    SubSection "Display"
        Viewport 0 0
        Depth 24
        Modes    "1024x768"
    EndSubSection
EndSection

 

render 还没有开.

重新编译了内核了,选中如下的一些属性,开启915显卡驱动(图片顺序自己把握).

同时,为了能够出现启动时候的小企鹅,开启framebuffer,然后在内核中选择logo的安装.

具体的位置编译内核时候可以自己查看.

3.Grub

我的grub.conf

 

# # Sample boot menu configuration file

# # Boot automatically after 30 secs.

timeout 30

# By default, boot the first entry.

default 0

splashimage=(hd0,5)/boot/grub/splash.xpm.gz

# For booting GNU/Hurd

title Gentoo_Linux(2.6.19)

root (hd0,5)

kernel /boot/kernel-2.6.19 root=/dev/hdc8 vga=788 video=vesafb:mtrr:3,ywrap,pmipal

title Gentoo_Linux(2.6.19_NEW_TEST_FEATURE)

root (hd0,5)

kernel /boot/kernel root=/dev/hdc8 vga=788 video=vesafb:mtrr:3,ywrap,pmipal

# For booting Windows NT or Windows95 title Windows XP rootnoverify (hd0,0) makeactive chainloader +1

# For loading DOS if Windows NT is installed

# chainload /bootsect.dos

顺便写上我的make.conf以后可以备用

 

接下来是fcitx,国产输入法,向作者和维护人员致敬

我emerge好了以后,发现最大的问题在于起动时候老说找不到中国字体

Cannot find Chinese fonts

老杨很生气,上网一搜,发现自己太大意了

netyang netyang # emerge -pv fcitx


These are the packages that would be merged, in order:

Calculating dependencies...
[ebuild R ] app-i18n/fcitx-3.1.1 USE="-truetype*" 0 kB

Total size of downloads: 0 kB


别以为是用

USE="-truetype" emerge fcitx
刚刚相反~

USE="truetype" emerge fcitx

顺便把/etc/profile改改
老杨的如下
写不下拉,换一个续篇吧~


相关阅读 更多 +
排行榜 更多 +
像素太空杀

像素太空杀

飞行射击 下载
忍者手势

忍者手势

飞行射击 下载
勇士X地下城大冒险

勇士X地下城大冒险

角色扮演 下载