Update Kernel on EeePC

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
        $ 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
        $ 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.
    
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值