Saturday, April 7, 2007

My First Experience with Compiling Fedore Core 6

Phew... Finally I made it! I have successfully compiled my first Linux Kernel in my life woww.. :D

Today I spent most of the time in testing the Fedora Core 6 Kernel Compile.
Before that I search for through the internet just for a better or a good guide. I found the one most useful to me (my opinion) http://www.howtoforge.com/kernel_compilation_fedora

When start following the guide and I have a perception to use my own user account instead of "root" account to compile the kernel by setting the user privillage as what the guide tutor me....

But after 5 hours testing following the tutorial.....
I finally give up and login as superuser account "root" to restart the tutorial steps. And I able to execute tutorial's commands without any errors message.

When come to compile and create rpm package step "make rpm", guess what ?!
I was exciting to wait it finish compile...... but......
I fall asleep zzzZZZZ...... waiting it to successfully compile.....

It totally taken 2.5 hours to finish compile it. Wow.... I read some blogs said they take 1.5 hours..... but mine.... > 1.5 hours... >2 hours... XD

I guess I can't compare with them. Why?!? Well......

My Fedora Core 6 actually is running as a virtual machine.... using VMplayer :P
Furthermore... I'm using a laptop...... a super slow performance laptop... ahahaa. But anyhow, it finish compiled :D

After woke up, I had my dinner and continue my final exploration to make it bootable in grub.....

I was happy when the first reboot is successful but.....
It lost the x-windows login X(...... Just left the terminal login....
I don't dare to believe it!!! What happen??!!!?....
I reboot again, this time i used different command, "reboot" instead "shutdown -r now".

The second reboot was very successful and my x-window is there...
Hoooray!!....
I hurry view the kernel version at terminal "uname -r".... Ohyess... I the kernel version I compiled... Yahoooooo!!

Well, my next step is to know how to compile "module" instead of "full" kernel.
:D wishes me success.


@cybertech

No comments: