ReinstallUbuntu

ReinstallUbuntu

重新安裝X31筆電

原因是 QEMU, why?

我的硬碟是sda,但是一個不小心

qemu /dev/sda 之後

還真的進去了我自己的系統,開到一半有很多錯誤,最可怕的是他以為我上次沒有正常關機,但是其實是我還在操作中,所以他做了fsck 的動作,馬上停止QEMU的動作但是為時已晚。

主機真的重新開機之後馬上又偵測出 block 毀損,fsck 還不能解決,還需要不斷 fix,到最後是 rebuild tree 才ok!

慘痛的經驗\~\~\~

認命的重新安裝系統

X31ReinstallUbuntu

安裝

先用 Clonezilla 備份好 sda1

用 DRBL -netinstall 安裝 Ubuntu feisty

先裝 Edubuntu-desktop 發現有些 application 不夠

又裝 Ubuntu-desktop 補齊

硬體:

沒有音效:

http://www.brixandersen.dk/papers/X31/X31.html#sect-kernel-sound

modprobe snd-intel8x0m

原來不是硬體問題

而是group的設定

要在 video, audio 加入 user account, eg:thomas

thomas@thomas-laptop:\~\$ cat /etc/group|grep thomas

adm:x:4:thomas

dialout:x:20:cupsys,thomas

cdrom:x:24:haldaemon,thomas

floppy:x:25:haldaemon,thomas

audio:x:29:haldaemon,thomas

dip:x:30:thomas

video:x:44:haldaemon,thomas

plugdev:x:46:haldaemon,thomas

scanner:x:104:cupsys,hplip,thomas

netdev:x:111:thomas

lpadmin:x:112:thomas

powerdev:x:114:haldaemon,thomas

admin:x:116:thomas

thomas:x:1000:

thomas@thomas-laptop:\~\$

建議安裝 sox 直接測試最準

apt-get install sox

rec -d /dev/dsp test.wav

play -d /dev/dsp test.wav

安裝字型

ttf-arphic-bsmi00lp

ttf-arphic-bkai00mp

apt-get install ttf-arphic-bsmi00mp ttf-arphic-bkai00lp

預設已經有

Firefox

OO.o

Evolution (但我要改用 Thunderbird)

...

安裝應用程式

Filezilla:

盡然找到 apt裡面有

Filezilla

apt-get install filezilla

pidgin:

thomas@thomas-laptop:\~\$ apt-cache search pidgin

thomas@thomas-laptop:\~\$

只好自己編譯 Pidgin編譯

vlc:

apt-get install vlc

可播放DVD或是各種影音檔案,也可用來作為影音串流

advanced

apt-build install vlc

gstreamer:

apt-get install libgstreamer-0.10*

讓 totem 支援更多的影音格式 decode

K3B:

thomas@thomas-laptop:\~\$ apt-cache search k3b

k3b - A sophisticated KDE CD burning application

k3b-i18n - Internationalized (i18n) files for k3b

kipi-plugins - image manipulation/handling plugins for KIPI aware programs

libk3b-dev - The KDE cd burning application library - development files

libk3b2 - The KDE cd burning application library - runtime files

dvd95 - DVD9 to DVD5 converter

libk3b2-mp3 - The KDE cd burning application library - MP3 decoder

quodlibet-plugins - various contributed plugins for Quod Libet

thomas@thomas-laptop:\~\$ sudo apt-get install k3b k3b-i18n libk3b2 dvd95 libk3b2-mp3

RealPlayer:

下載 Realplayer for linux

sudo ./Realplayer10GOLD.bin

Mplayer:

參考

http://54061.blogspot.com/2007/03/ubuntu-704-codec-rmvb.html

apt 加入

## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)

deb http://medibuntu.sos-sts.com/repo/ feisty free

deb http://medibuntu.sos-sts.com/repo/ feisty non-free

deb-src http://medibuntu.sos-sts.com/repo/ feisty free

deb-src http://medibuntu.sos-sts.com/repo/ feisty non-free

wget -q http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg -O- | sudo apt-key add -

apt-get update

apt-get install mplayer ffmpeg lame

Skype:

apt 加入

## Official Skype Repository

deb http://download.skype.com/linux/repos/debian/ stable non-free

apt-get update

apt-get install skype

JAVA:

apt-get install sun-java6-jre sun-java6-jdk

Stardict:

apt-get install stardict

字典

download 字典檔

sudo tar -jxvf stardict* -C /usr/share/stardict/dic

語音

sudo tar -xvf WyabdcRealPeopleTTS.tar.bz2 -C /usr/share

pcmanx:

apt-get install pcmanx-gtk2 mozilla-plugin-pcmanx

Grsync:

apt-get install grsync

Thunderbird:

中文版沒有進apt

自行到moztw下載解壓縮就可以用

NVU:

中文版沒有進apt

自行到moztw下載解壓縮就可以用

DRBL:

http://free.nchc.org.tw/drbl-core main stable testing unstable

apt-get update

apt-get install drbl

/opt/drbl/sbin/drblsrv -i

/opt/drbl/sbin/drblpush -i

其他小細節:

  1. [解決] 使用 Beryl 後最大化視窗後標題列空白

http://yurinfore.blogspot.com/2007/04/beryl.html

Section "Device"

Identifier "ATI Technologies Inc Radeon Mobility M6 LY"

Driver "ati"

BusID "PCI:1:0:0"

Option "XAANoOffscreenPixmaps" "true"

Option "AGPSize" "32"

EndSection

  1. scim 與 thunderbird, realplay 衝突

試試看開一個 Terminal

export GTK_IM_MODULE=xim

後以指令啟動 thunderbird or realplay

如果正常表示原本的 input method 與 某些 application 衝突

解決:

apt-get install scim-bridge

sudo vi /etc/X11/xinit/xinput.d/scim

GTK_IM_MODULE="scim-bridge"

QT_IM_MODULE="xim"

放棄

改用 gcin

apt-get install gcin

im-switch -a gcin

http://wiki.ubuntu.org.cn/%E5%BF%AB%E9%80%9F%E8%AE%BE%E7%BD%AE%E6%8C%87%E5%8D%97/FeistyFawn#.E4.BF.AE.E6.94.B9.E6.BA.90.E5.B9.B6.E6.9B.B4.E6.96.B0.E4.BD.A0.E7.9A.84Kubuntu.2FUbuntu.2FXubuntu

backup

flashplayer

qemu

RealPlayer

rssowl

swiftfox

thunderbird

/etc/network/interface

auto lo

iface lo inet loopback

#general

auto eth0

iface eth0 inet dhcp

auto ath0

iface ath0 inet dhcp

# DRBL eth0:0

#auto eth0 eth0:0

#iface eth0 inet static

#address 192.168.0.6

#netmask 255.255.255.0

#gateway 192.168.0.254

#

#iface eth0:0 inet static

#address 192.168.99.254

#netmask 255.255.255.0

#broadcast 192.168.99.0

#gatewaydev eth0

#QEMU bridge mode and DRBL

#auto eth0

#iface eth0 inet static

#address 192.168.0.6

#netmask 255.255.255.0

#gateway 192.168.0.254

#

#auto br0

#iface br0 inet static

#address 192.168.8.254

#network 192.168.8.0

#netmask 255.255.255.0

#broadcast 192.168.8.255

#gateway 192.168.8.254

#bridge_ports eth0

#bridge_fd 9

#bridge_hello 2

#bridge_maxage 12

#bridge_stp off

convert from Thomas blog post id 149 old convert log: ./180058/tag%3E2007%2008%20linux)

@2007 @08 @linux

Comments