Linux Kernel 2.6.x... compiling step by step
step 1:download the latest linux kernel from the interneteg: www.kernel.org
step 2:extract the archive file in to /usr/srceg:cp linux-2.6.17.tar_2.gz /usr/srctar xzvf linux-2.6.17.tar_2.gz
step 3:go to the extract directory and you can configure your kernel using following command*in a command mode usemake menuconfig*in graphical interfacemake xconfig or make gconfig
step 4:configre your kernel,according to your machine configuration;
step 5:after that do the following commad make modulesmake modules_install make bzImageyou can do this by one line
step 6:create initial ram disk file using follwing commandmkinitrd -o /boot/initrd.img-2.6.1x.x-386 2.6.x.x-or-mkinitramfs -o /boot/initrd.img-2.6.1x.x-386 2.6.1x-386if you want to see the created initrd.img file, type following command-zcat /boot/initrd.img-2.6.17.4-386 cpio --list
step 7:now you must in the kernel source folderdo the following command(linux version must be changed according to the your version)cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.17.4cp System.map /boot/System.map-2.6.17.4-386cp .config /boot/config-2.6.17.4-386
step 8:now you have finished compiling kernel & some of the configuration
step 9:edit your menu.lst file vi /boot/grub/menu.lsthere you must give a path to new kernel & name and the imagefile
step 10:reboot your systemdo your work with new kernel version.
May the 4th: New Merchandise at Star Wars Shop
-
[image: Star Wars Day 2021]
In celebration of Star Wars Day, check out May the 4th: New Merchandise at
Star Wars Shop. There are new clothes, LEGO sets, to...
3 years ago
No comments:
Post a Comment