Archive for the 'linux' Category


Ubuntu tricks – how to create a list software and use it to restore your pc

一个关于如何快速重装UBUNTU上的应用程序的指南.
I’ve recently had the occasion to make a complete list of software installed on one of my Ubuntu boxes, and then reinstall it from scratch. Here’s a quick and easy way to generate a list of installed .deb packages, and then use that list to quickly reinstall them.

Continue Reading...

October 15th, 2006 in linux | 3 comments


apt-get … Segmentation Faulty Tree

I have tried to use both Synaptic and apt-get, Running apt-get install (anything) from the command line (as root) yeilds this result:

root@dean-laptop:/# apt-get install netselect
Reading package lists… Done
Segmentation faulty tree… 0%

Continue Reading...

August 27th, 2006 in linux | 19 comments


Compile the new 2.6.17 Linux kernel for IBM ThinkPad T43

I just finished compiling the newest 2.6.17 Linux kernel and I am getting much better performance. In what follows, I will show you how to compile and configure the latest kernel for IBM Thinkpad T43.

Before you begin, you will need to get a kernel
Download the 2.6.17 kernel and it’s performance patch: The 2.6.17 kernel
Latest Kernel Patch

1. Install needed utilities to configure the kernel
sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev
2. Now we are going to move the kernel and unpack it.
sudo cp linux-2.6.16.tar.bz2 /usr/src
3. Now we are going to move to /usr/src
cd /usr/src
4. Now unpack it:
sudo tar -xvjf linux-2.6.17.tar.bz2
5. Rename the folder:
sudo mv linux-2.6.17/ linux-2.6.17ck1
6. Now we are going to remove the link to the linux directory:
sudo rm -rf linux
7. Make a new link to the new kernel:
sudo ln -s /usr/src/linux-2.6.17ck1 linux
8. Move to the Linux directory:
cd /usr/src/linux
9. Make yourself root:
sudo -s -H
10. Apply the performance patch:
bzcat /home/$USER/patch-2.6.17-ck1.bz2| patch -p1
11. Now we are going to import your current kernel configuration:
uname -r
12. Now import it: Make sure to replace the kernel version in this following command from the one from uname -r.
sudo cp /boot/config-2.6.14-ck1 .config
or you can download my .config file,full optmized for IBM T43

13.Configure the kernel:
make xconfig
14. Let’s build the kernel: Make sure that you are in /usr/src/linux with full root access. Make sure that you are. This will build a debian file that you can install.

Continue Reading...

August 24th, 2006 in linux | 6 comments


Open Office无法正常启动的问题

我的open office启动时就挂住,或者异常退出。google了个把小时没有解决。最后用”暴力方式”解决了:

sudo apt-get remove openoffice.org*
sudo reboot
sudo apt-get install openoffice.org2

然后运行openoffice,一切正常。可能真的是RP问题:S

August 16th, 2006 in linux | 1 comment