Build Kernel:
1. 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
2. unpack this file by running the unrar command (in a terminal window, Ctrl+Alt+T):
$ unrar x Linux_Kernel_071127.rar
$ unrar x Linux_Kernel_071127.rar
$ dpkg --install linux-source
-2.6
.21
.4-eeepc.deb
$
cd /usr/src
$ tar xvjf linux-source
-2.6
.21
.4-eeepc.tar.bz2
$
cd linux-source
-2.6
.21
.4-eeepc
$ cp /boot/config
-2.6
.21
.4-eeepc .config
$ make
The kernel image built will be in arch/i386/boot/bzImage. Copy it and System.map to /boot .
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”.
Install Kernel:
1. enter rescue mode(single-user-mode).
Press the power key to start it up, and rest your finger on the F9 key.When you see the startup screen with the Eee PC logo, and along the bottom of the screen you see “Press F2 to Enter BIOS”, start pressing the F9 repeatedly. This takes you to the Grub boot screen. With some eee PCs you may need to start repeatedly pressing the F9 key immediately after you press the power key and continue to press the F9 until the Grub boot menu is displayed. (Note: An alternative, perhaps better, way is to press and hold F9 until you see the menu.)
The Grub boot menu has three choices:
Normal boot (should be highlighted)
Perform disk scan
Restore factory settings
Press the 'e' key to edit the Normal Boot entry. Add the following to that line: XANDROSBOOTDEBUG=y and then press Enter. You'll be taken back to the screen showing the 3 lines for this boot option. Now press 'b' to boot. You'll be taken to a BusyBox shell, with root permissions. You can now make changes to the file system.
2. add an entry in menu.lst
$ mount /dev/sda1 /mnt-system
$ mount /dev/sda2 /mnt-user
$ mount /dev/sda2 /mnt-user
$ cd /mnt-system
$ cd boot/grub
$ vi menu.lst
root(0x80,0)
kernel (0x80,1)/boot/vmlinuz-2.6.26-eeepc quiet rw vga=785 irqpoll root=/dev/sda1
initrd (0x80,0)/boot/initramfs-eeepc.img
3.reboot your new kernel.