今天在自己的ASUS5215AN机器上面安装了FreeBsd5.4-release,下面是安装心得,和大家分享一下。
tcaLinux联盟Asus5215AN的主要机器配置如下:
tcaLinux联盟CPU:Intel 迅驰 Dothan 1.5
tcaLinux联盟内存:512M DDR333
tcaLinux联盟硬盘:IDE 接口 DMA100 40GB硬盘,型号:IC25N040ATMR04-0
tcaLinux联盟显卡:Intel 855GME
tcaLinux联盟声卡:SoundMAX Integrated Dgital Audio
tcaLinux联盟光驱:Auss SCB 2424 外置USB接口Combo
tcaLinux联盟tcaLinux联盟安装Freebsd前的硬盘分配如下:
tcaLinux联盟ad0s1-Asus原厂自建的系统恢复分区
tcaLinux联盟ad0s2-C盘,安装了Winxp Sp1,文件系统Fat32
tcaLinux联盟ad0s3-D盘,文件系统Fat32
tcaLinux联盟tcaLinux联盟安装过程如下:
tcaLinux联盟1.设置Bios从光驱引导,一切顺利,进入Sysinstall界面(据说只有Asus原装的SCB光驱才能从光盘引导系统,本人没有拿别的外置光驱作过试验,如果别的朋友用过可以的话相烦告知,不胜感谢

)
tcaLinux联盟2.在Sysinstall中选择Custome安装。
tcaLinux联盟3.Partition设置:删除ad0s1和ad0s3(因为我打算装双系统,所有保留了ad0s2,即C盘);将多处的磁盘空间建成一个UFS文件系统的slice,系统提示这个slice为ados1;然后在主引导扇区设置中选择Bootmgr。
tcaLinux联盟4.Label设置:将ad0s2,即C盘Mount到“/winxp”(有不少朋友无光无软安装的时候会将Freebsd安装文件拷贝到C盘中,这一步不要忘了,否则后面选择media的时候系统提示会找不到安装文件);分配5g的“/”,712m的“swap”,剩余的空间全部mount到“/home”。
tcaLinux联盟5.Time zone -略
tcaLinux联盟6.Distribution-略
tcaLinux联盟7.Media设置:选择CD/DVD,FBSD5.4-release支持从USB光驱安装系统,设备名称为cd0,我以前用了5.3BSD-release安装的时候还不支持这个功能,现在爽了,哈哈
tcaLinux联盟8.Commit.......................
tcaLinux联盟tcaLinux联盟安装过程一切顺利,安装完成后重新启动机器,顺利进入FBSD,提示login
tcaLinux联盟tcaLinux联盟下一步是安装X系统:
tcaLinux联盟以下是我的xorg.conf的配置,供大家参考,其中有几个我觉得比较重要的设置点用 粗斜体 标记出来了:
tcaLinux联盟tcaLinux联盟Section "ServerLayout"
tcaLinux联盟Identifier "X.org Configured"
tcaLinux联盟Screen 0 "Screen0" 0 0
tcaLinux联盟InputDevice "Mouse0" "CorePointer"
tcaLinux联盟InputDevice "Keyboard0" "CoreKeyboard"
tcaLinux联盟EndSection
tcaLinux联盟tcaLinux联盟Section "Files"
tcaLinux联盟RgbPath "/usr/X11R6/lib/X11/rgb"
tcaLinux联盟ModulePath "/usr/X11R6/lib/modules"
tcaLinux联盟FontPath "/usr/X11R6/lib/X11/fonts/misc/"
tcaLinux联盟FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
tcaLinux联盟FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
tcaLinux联盟FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
tcaLinux联盟FontPath "/usr/X11R6/lib/X11/fonts/CID/"
tcaLinux联盟FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
tcaLinux联盟FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
tcaLinux联盟EndSection
tcaLinux联盟tcaLinux联盟Section "Module"
tcaLinux联盟Load "extmod"
tcaLinux联盟Load "glx"
tcaLinux联盟Load "dri"
tcaLinux联盟Load "dbe"
tcaLinux联盟Load "record"
tcaLinux联盟Load "xtrap"
tcaLinux联盟Load "speedo"
tcaLinux联盟Load "type1"
tcaLinux联盟Load "freetype"
tcaLinux联盟EndSection
tcaLinux联盟tcaLinux联盟Section "InputDevice"
tcaLinux联盟Identifier "Keyboard0"
tcaLinux联盟Driver "keyboard"
tcaLinux联盟EndSection
tcaLinux联盟tcaLinux联盟Section "InputDevice"
tcaLinux联盟Identifier "Mouse0"
tcaLinux联盟Driver "mouse"
tcaLinux联盟Option "Protocol" "auto"
tcaLinux联盟#Option "Protocol" "PS/2"
tcaLinux联盟Option "Device" "/dev/sysmouse"
tcaLinux联盟Option "ZAxisMapping" "4 5"
tcaLinux联盟EndSection
tcaLinux联盟tcaLinux联盟Section "Monitor"
tcaLinux联盟Identifier "Monitor0"
tcaLinux联盟VendorName "Monitor Vendor"
tcaLinux联盟ModelName "Monitor Model"
tcaLinux联盟EndSection
tcaLinux联盟tcaLinux联盟Section "Device"
tcaLinux联盟### Available Driver options are:-
tcaLinux联盟### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
tcaLinux联盟### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
tcaLinux联盟### [arg]: arg optional
tcaLinux联盟#Option "NoAccel" # [<bool>]
tcaLinux联盟#Option "SWcursor" # [<bool>]
tcaLinux联盟#Option "ColorKey" # <i>
tcaLinux联盟#Option "CacheLines" # <i>
tcaLinux联盟#Option "Dac6Bit" # [<bool>]
tcaLinux联盟#Option "DRI" # [<bool>]
tcaLinux联盟#Option "NoDDC" # [<bool>]
tcaLinux联盟#Option "ShowCache" # [<bool>]
tcaLinux联盟#Option "XvMCSurfaces" # <i>
tcaLinux联盟#Option "PageFlip" # [<bool>]
tcaLinux联盟Option "DisplayInfo" "FALSE"
tcaLinux联盟Identifier "Card0"
tcaLinux联盟Driver "i810"
tcaLinux联盟#Driver "vesa"
tcaLinux联盟VendorName "Intel Corp."
tcaLinux联盟BoardName "82852/855GM Integrated Graphics Device"
tcaLinux联盟#BusID "PCI:0:2:0"
tcaLinux联盟EndSection
tcaLinux联盟tcaLinux联盟Section "Screen"
tcaLinux联盟Identifier "Screen0"
tcaLinux联盟Device "Card0"
tcaLinux联盟Monitor "Monitor0"
tcaLinux联盟DefaultDepth 16
tcaLinux联盟SubSection "Display"
tcaLinux联盟Viewport 0 0
tcaLinux联盟Depth 1
tcaLinux联盟EndSubSection
tcaLinux联盟SubSection "Display"
tcaLinux联盟Viewport 0 0
tcaLinux联盟Depth 4
tcaLinux联盟EndSubSection
tcaLinux联盟SubSection "Display"
tcaLinux联盟Viewport 0 0
tcaLinux联盟Depth 8
tcaLinux联盟EndSubSection
tcaLinux联盟SubSection "Display"
tcaLinux联盟Viewport 0 0
tcaLinux联盟Depth 15
tcaLinux联盟EndSubSection
tcaLinux联盟SubSection "Display"
tcaLinux联盟Viewport 0 0
tcaLinux联盟Depth 16
tcaLinux联盟Modes "1024*768"
tcaLinux联盟EndSubSection
tcaLinux联盟SubSection "Display"
tcaLinux联盟Viewport 0 0
tcaLinux联盟Depth 24
tcaLinux联盟EndSubSection
tcaLinux联盟EndSection
tcaLinux联盟有关xorg.conf的几个问题:
tcaLinux联盟1.关于液晶显示器的刷新率以及分辨率设置问题:个人觉得液晶显示器因为其工作原理与CRT显示器不同,所以不能按照计算CRT显示器刷新率的方法计算液晶的刷新率,所以Monitor Section那块我删除了Horizental 和Vertical那两项。我的液晶是12寸的,Windows下在
1024*768@60Hz16位色下可以正常工作,所以在Screen中我的DefaultDepth是16,相关的modes为“1024*768"。
tcaLinux联盟2.关于Option "DisplayInfo" "FALSE" 这一行,一般的Xorg.conf里面是没有这一行的,但刚开始安装X的时候“i810”驱动无法使用,一打Xorg命令就黑屏,然后左上角有个光标在那里不停的跳,换成“vesa”驱动就可以正常使用,后来查了X启动log,在最后一行系统提示我在Device Section中加入这一行,一试果然管用,哈哈。
tcaLinux联盟tcaLinux联盟有关安装的其他问题:
tcaLinux联盟1.有不少无光无软的朋友安装中在选择Media这里经常遇到问题,我也曾试过将5.4-release ISO Image中的文件拷贝到C:\freebsd下面,然后在选择media时选择Dos或者OtherFileSystem:ad0s2\freebsd,最后结果都是出错。后来在安装label的时候将C盘所在的分区mount到/winxp,然后在设置media时选择Other Filesystem:/winxp/freebsd,成功。
tcaLinux联盟2.有关USB光驱安装系统的问题,据我测试,5.4-release版本中支持这个特性,5.3不支持。
tcaLinux联盟tcaLinux联盟写这偏帖子的时候参考了以下的一些文章,大家对我的帖子不明白的可以去参考原文:
tcaLinux联盟有关xorg.conf的配置,参考自:
http://gerda.univie.ac.at/freebsd-l...tail&laptop=443tcaLinux联盟FreeBSd handbook:
http://www.freebsd.org.cn/snap/doc/...books/handbook/tcaLinux联盟有关无光无软安装Freebsd的请参考:
http://www.vipcn.com/InfoView/Article_40630.html