桌面从Debian到FreeBSD

| | Comments (0) | TrackBacks (0)

春节的时候还是把以前用的Debian/Linux(lenny)桌面系统给换到了FreeBSD7上来了。基本没有什么大问题,而且还把在Debian下KDE无法工作的声卡也搞定了。

简单的记录一下安装的过程

  1. 备份一下
  2. cd ~
    tar zcvf /backup/myhome.tgz .
  3. 安装FreeBSD6.2
  4. 升级src,kernel
  5. csup -s cvsup2.cn.freebsd.org current-supfile
    make buildworld
    make buildkernel
    make installkernel
    mergemaster -p
    make installworld
    mergemaster -Ui
  6. 安装xorg,kde
  7. 愉懒就安装package了。

    pkg_add -r sudo
    pkg_add -r xorg
    pkg_add -r kde
    pkg_add -r firefox
    pkg_add -r pidgin
  8. 设置X
  9. 本本是HP nx6330, 显卡是X1300的东东,从delphij那里找了一下说有xf86-video-radeonhd的东东可以用,没找到binary就从ports安装了一个

    portsnap fetch extract update
    cd /usr/ports/x11-drivers/xf86-video-radeonhd
    make install clean

    驱动安装就好了,真是相当的easy。

    Xorg -configure
    X -config xorg.conf.new
    mv xorg.conf.new /etc/X11/xorg.conf
  10. 设置帐号,恢复数据
  11. pw user add guixing -m -s /bin/tcsh -g wheel
    passwd guixing
    tar zxvf /backup/myhome.tgz -C /home/guixing
  12. 设置音卡和无线
  13. legal.intel_wpi.license_ack=1
    snd_hda_load="YES"
    if_wpi_load="YES"
    wlan_load="YES"
    wlan_amrr_load="YES"
    firmware_load="YES"
    wpifw_load="YES"
    wlan_wep_load="YES"
    wlan_ccmp_load="YES"
    wlan_tkip_load="YES"

    无线还要设置一下/etc/wpa_supplicant.conf

    network={
      ssid="XXX"
      psk="XXXagain"
    }

    /etc/rc.conf里加上一句

    ifconfig_wpi0="WPA DHCP"

    开始无线吧/etc/rc.d/netif start

update: FreeBSD下的无线比linux下的好整多了。

0 TrackBacks

Listed below are links to blogs that reference this entry: 桌面从Debian到FreeBSD.

TrackBack URL for this entry: http://blog.khsing.net/cgi-bin/mt-tb.cgi/3

Leave a comment

About this Entry

This page contains a single entry by Guixing published on February 9, 2008 5:15 PM.

我的blog又要活过来了 was the previous entry in this blog.

遇上oom-killer is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.21-en