My first self-compiled kernel..

I woke up in morning and just found out about this announcement..

then.. first few minute looking for the link to download the new kernel

went to main page

there top-right menu got link to latest kernel

download that image (52 Mb) .. took few hour on my 3G..


cd /usr/src/kernels
tar xjfv  /home/namran/Desktop/linux-2.6.28.tar.bz2

this will extract the content into /usr/src/kernels/linux-2.6.28

cd linux-2.6.28
make menuconfig

the menu will popup.. then select whatever driver that would like to add. save.

start compiling..



this one took me more than 1-hour.. hahaha.. went out for lunch then get back to see it ready..


make bzImage
make modules
make modules_install

then.. prepare to be install into grub.

mkinitrd /boot/initrd-2.6.28-namran 2.6.28

this shall create the initrd-2.6.28-namran in /boot folder.

cp /usr/src/kernels/linux-2.6.28/arch/i386/bzImage /boot/bzImage-2.6.28-namran
cp /usr/src/kernels/linux-2.6.28/ /boot/

edit /etc/grub.conf to reflect the new kernel.

title Namran (2.6.28)
root (hd0,4)
kernel /boot/bzImage-2.6.28-namran ro root=LABEL=/ rhgb quiet vga=791 [email protected] 3
initrd /boot/initrd-2.6.28-namran


this one i put one initlevel 3 first.. as don’t want to messed up with nvidia card..

reboot.. and wait..

if everthing goes fine..  it will boot to level 3.. with login prompt..


here.. just to test the new kernel..

login as root

mv /etc/X11/xorg.conf /root/X11/xorg.conf.25dec2008

then run a fresh..


select the generic LCD 1440×900

choose resolution 1440×900. save


as normal user..


should start X server and all the gnome session thingy.


… seem fine..


except i forgot to include ntfs support .. so can’t mount ntfs partition.. the rest just fine.. including the bluetooth, sound ..

yay !

Related Post

2 Responses

  1. ahstod says:

    I have the same issue with eeebuntu on eeepc too, sudo this, sudo that.

    And feels weird typing my own password instead of root’s.

    what to do, stuck with centos/rhel for work … and since use the work machine so much, might as well make the other home machines the same for familiarity (except for the eeepc, for which the default centos is a bit too slow).

  2. HawkEYE says:

    that remind me on one event at one of my project site.
    requirement was easy..
    “need to set a new ip address to the machine.”

    and the machine happened to be running Ubuntu 7.10 (Gutsy Gibbon) because someone else already installed it earlier..

    First few minute wasted to guess the root password as the one who installed it also not quite familiar..

    then only realized it need normal user password instead of root password.. (one of occupational hazard i think.)


Leave a Reply

Your email address will not be published. Required fields are marked *