convertxtodvd_logo

ConvertXtoDVD

VSO ConvertXtoDVD is considered to be one of the best Video converters. It combines high speeds, high quality and many options for your personalized DVD menus.

ConvertXtoDVD guide
Free Download ConvertXtoDVD

Linux Books

Of course the Internet along with the help of Google is a great source of information. You can answer almost any question you have about Linux and find many tutorials, guides and help. However many people prefer reading this information on a printed book accesssible even when they are not online or don't have a computer in front of them. I've received many e-mails asking me to propose them a few good books regarding Linux commands, administration and for specific distributions such as Ubuntu, Fedora etc. So, I've search for a few good books. Here they are. Happy reading!

Linux Books

Ubuntu guides

Ubuntu is a free Operating System based on Debian GNU/Linux. It has been rated as the most popular Linux distribution amongst Linux users according to Distrowatch. As it happens every six months a new version of Ubuntu has been released. Ubuntu 10.04 Lucid Lynx is here! Below you can find some helpful tutorials for old and new users!

Ubuntu 10.04 Lucid Lynx Post Installation Guide
Ubuntu 9.10 Karmic Koala Post Installation Guide
Ubuntu 9.04 Jaunty Jackalope Post Installation Guide
How to install Ubuntu Linux on Windows using VirtualBox

Fedora 12 Installation Guide

Fedora 12, codenamed Constantine, is released! Just for the info, Fedora is an RPM based Linux Distribution, an Operating system in other words, developed by the community supported Fedora Project and sponsored by Red Hat. Fedora contains only free and Open Source software. Some of Fedora's 12 new features are Gnome 2.28, KDE 4.3, better web cam support!, and many others.

Fedora 12 Installation and Post-Installation Guide
Fedora 11 Installation and Post-Installation Guide
Fedora 11 Installation and Post-Installation Guide in Chinese

When talking with a linux user you might have heard him referring to ‘kernel compiling’ as a cool thing he would like to do but a bit frustrating also. The Linux kernel is the heart of Linux OS. So kernel compiling is a serious thing to mess with.

Before compiling your own kernel you should know really well what your computer’s hardware is. This way you can exclude from the kernel all the modules and drivers you don’t need and thus making your kernel smaller and your system faster!

Here I’ll show you how to compile a kernel of the 2.6.x series. The whole procedure consists of the following steps

http://www.kernel.org/pub/linux/kernel/v2.6/
# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x-new.tar.gz
# cp linux-x-new.tar.gz /usr/src
# cd /usr/src
# tar zxf linux-x-new.tar.gz
# cp linux-x-old/.config linux-x-new/.config
# cd linux-x-new
# make oldconfig
# make xconfig or # make menuconfig
# make
# make modules_install
# make install
# reboot


Pretty simple, isn’t it?!

Now let’s give some more specific details on what the above commands do. You should be root when running these commands.

http://www.kernel.org/pub/linux/kernel/v2.6/

First go to the above link and find the latest kernel version. Lets assume that it is linux-x-new.tar.gz

# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x-new.tar.gz

 
Download it using wget

# cp linux-x-new.tar.gz /usr/src

 
And copy it under /usr/src

# cd /usr/src

Go to this directory

# tar zxf linux-x-new.tar.gz

 
And extract the kernel from the compressed file. This command will create a new folder called linux-x-new

# cp linux-x-old/.config linux-x-new/.config

 
This command copies all the configuration from your old kernel to the new one. This way you have a good starting point and you don’t have to configure everything from the beginning!

# cd linux-x-new

 
Now go to the directory that contains your new kernel

# make oldconfig

And get your old configuration 

# make xconfig or # make menuconfig

If you have qt libraries installed on your system run # make xconfig. This is the graphical configuration system through which you will make all the necessary changes in your kernel. If you have only ncurses installed you may run # make menuconfig 

# make

When you have configured everything run make to start compiling your kernel 

# make modules_install

 
Then run make modules_install to install your new modules created above.

# make install

 
And finally create all the necessary files under /boot and also configure grub to include your new kernel

# reboot

 
Reboot and from grub choose the new kernel! If anything goes wrong it means you have made a mistake in the kernel configuration. Boot in with your old kernel and run again make xconfig to do the appropriate changes.

Well, it is simple, eh? ;)



Add this page to your favorite Social Bookmarking websites

Trackback(0)

TrackBack URI for this entry

Comments (11)

Subscribe to this comment's feed
...
Hello,
Thanks for your very usefull guides!
I am new in linux and use your gudes very often!
Currently I use Fedora 9 (Kernel V.2.6.26.5-45.fc9.x86_64)
and wanted to recompile it using this guid... but I stuck here>
# cp linux-x-old/.config linux-x-new/.config

my result:
[root@UNCLEZ src]# cp linux-2.6.26.5-45.fc9.x86_64/.config linux-2.6.26/.config
cp: cannot stat `linux-2.6.26.5-45.fc9.x86_64/.config': No such file or directory

Any ideas?
old.uncle , September 30, 2008
...
Strange. It says there is no .config file inside your current linux kernel directory. Please post the output of this command:

ls -a /usr/src/linux-2.6.26.5-45.fc9.x86_64/
axel , October 01, 2008
the output...
Hello,

Thanks for your response.

Here is the output:

[zz@UNCLEZ ~]$ ls -a /usr/src/linux-2.6.26.5-45.fc9.x86_64/
ls: cannot access /usr/src/linux-2.6.26.5-45.fc9.x86_64/: No such file or directory

old.uncle , October 04, 2008
...
I just checked a Fedora 9 installation and noticed that they have moved kernels from /usr/src to /usr/src/kernels. So cd /usr/src/kernel and then copy the .config file.

For any other questions please use our Forum. It's easier answering questions there. smilies/wink.gif
axel , October 04, 2008
Thank you!
Thank you Axel!
old.uncle , October 04, 2008
That's great
I really appreciate this. smilies/wink.gif
adam , December 18, 2008
...
I am glad you found it useful!

It has been a long time since I last compiled my kernel! Now I am just using the ones provided through my distribution's repositories.
axel , December 19, 2008
this is the a damm piece of info
yup ...axel for a user like me who is rebuilding the kernel for the first time on my pc

i just fellowed urs steps .....& was able to compile the kernel in less time compaired to the rpm style of building the kernel

thnaks a lot buddy
santosh , July 07, 2009
...
Thanks santosh! You are welcome!
axel , July 07, 2009
Patches?
Hey -
Apologies for the late post, but just stumbled across. How does one incorporate distro-specific kernel patches while recompiling a given kernel (i.e. those contained in the Fedora kernel source rpm)? I just need to tweak a couple kernel settings and want to avoid unnecessarily altering other aspects of the distro.
Thanks!
Will , May 05, 2010
...
I'm sorry Will but I don't understand what you are asking. :/
axel , May 16, 2010

Write comment

smaller | bigger
security image
Write the displayed characters

busy

Login Form

Follow me on...

  • Digg: axelgr
  • Facebook Page: 379363054400
  • FeedBurner: my-guidesnet
  • Twitter: myguidesnet
  • External Link: http://feedburner.google.com/fb/a/mailverify?uri=my-guidesnet

Member Login