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 will be in arch/i386/boot/bzImage
tar xvjf ../../../linux-2.6.21.4.tar.bz2
gunzip unionfs-2.1.8_for_2.6.21.7.diff.gz
cd linux-2.6.21.4
patch -p1 <../unionfs-2.1.8_for_2.6.21.7.diff
cp /boot/config-2.6.21.4-eeepc .config
make
The kernel image will be in arch/i386/boot/bzImage
This section is tested under ubuntu 7.10. Note that this assumes a reasonable linux knowledge. Also the path's and directories may differ a little bit depending on your choices and paths.
Some more info on setting up the environment can be found at http://www.debian-administration.org/articles/426
this will take some time (5 minutes on a 3Ghz Intel Dual core (D930)
The kernel image will be in arch/i386/boot/bzImage
Boot the eeePC so you can write to the first partition
copy bzImage to the first partition (e.g. /boot)
add an entry in menu.lst to reboot your new kernel (and while you are at it, change timeout to 3 and comment hiddenmenu.
NOTE: You can't do the above unless you are in single-user-mode! See http://appliedlife.blogspot.com/2007/11/kernel-recompile-on-asus-eee.html and http://wiki.eeeuser.com/howto:installrescuemode for more about that.
If you have compiled the kernel on another machine than eee so you have to install kernel and new modules too.
- make a package which contains everything necessary:
cd $dir_where_kernel_has_been_compiled make INSTALL_MOD_PATH=$PWD modules_install mkdir boot cp -f arch/i386/boot/bzImage boot/vmlinuz-$version-eeepc cp -f System.map boot/System.map-eeepc tar cvjf lkupdate.tar.bz2 lib/modules boot
- copy the package on the eee PC first partition:
sudo -s cd $dir_where_has_has_been_copied mkdir -p /mnt/sda1 mount -o ro /dev/sda1 /mnt/sda1 mount -o remount,rw /mnt/sda1 cd /mnt/sda1 tar xvjf $dir_where_archive_has_been_copied/lkupdate.tar.bz2 sync; cd; umount /mnt/sda1
- copy the package on the eee PC unionfs root partition:
cd / tar xvjf $dir_where_archive_has_been_copied/lkupdate.tar.bz2
If you want to change the configuration you can edit the .config file and rerun make.
You can also use menuconfig to change the options. For that you need to install libncurses5-dev (apt-get install libncurses5-dev, then run make menuconfig
After that you can add the modules/functionality you need.
Be sure not to eliminate necessarily components (so avoid changing a y to m).
If you are only interested in getting new modules, you can change .config and do make modules (or probably run make menuconfig; then make modules)
The following is a list of things that you might want to change using menuconfig:
Which configuration options are required to use your EEE PC properly.
701, kernel 2.6.26-rc6:
| Config Option | Function |
| Power management options→CPU Frequency scaling→Intel Pentium 4 clock modulation | CPU Throttling |
| Device Drivers→ATA SFF support→Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support | SATA |
| Device Drivers→MMC/SD card support→Secure Digital Host Controller Interface support | SD Cardreader |
| Networking→Atheros L2 Fast Ethernet support | LAN |
| Device Drivers→Sound→Advanced Linux Sound Architecture→PCI devices→Intel HD Audio | Sound |
| ? | Fan |
| ? | Hotkeys |
| linux-uvc.berlios.de | Webcam |
| external madwifi modules | Wireless |
| i2c + i801 | required for eee.ko, overlocking + fan control |
| config_drm_i915 | required for xorg DRI |
You might want to add additional patches, e.g. from debian or xandros.
Recompile the EeePC Xandros Linux Kernel: http://ruckman.net/tech/2008/01/24/recompile-the-eeepc-xandros-kernel/