2008年11月26日 星期三

Rebuilding the eee kernel on eeePC

上一篇文章之後仍然沒有成功,安裝過程一直出現"kernel module"錯誤的訊息,直到Rebuilding the eee kernel on eeePC 在make後從新安裝virtualbox就成功了,目前就是在eeepc上的 virtualbox中安裝了xp後打的這份文件,當成功的那一刻真是興奮,畢竟是不才的我花了約一週在網路上查相關資料,也下載了virtualbox官網的說明,查了些字典(英文不好沒辦法),終於成功,哈哈爽爽爽




1. Install the development tools


2. download the 2.6.21.4 kernel for you eeepc from ASUS support website: http://support.asus.com/download/Download.aspx?SLanguage=en-us or from here


3. unpack this file by running the unrar command (in a terminal window, Ctrl+Alt+T):
unrar x Linux_Kernel_071127.rar
4. install linux-source-2.6.21.4-eeepc.deb:
dpkg --install linux-source-2.6.21.4-eeepc.deb
5. unpack linux source code tarball:
cd /usr/src; tar xvjf linux-source-2.6.21.4-eeepc.tar.bz2; cd linux-source-2.6.21.4-eeepc
6.
cp /boot/config-2.6.21.4-eeepc .config
7. Now to actually compile it (use default answers, i.e. just press Enter when asked to choose). this will take about 30 minutes:
make
The kernel image built will be in arch/i386/boot/bzImage. Copy it to /boot and modify the kernel line in /boot/grub/menu.lst to use the new kernel


8. If you configured any new parts of the kernel as “modules”, you will also have to do “make modules_install”. To use the new module, you can either symbolically link the new linux source to /lib/modules/2.6.21.4-eeepc/ or copy the new modules to the /lib/modules/2.6.21.4-eeepc/ and then run “depmod -a”

0 意見: