Sei sulla pagina 1di 11

Reg.

No : 50410104020

KERNEL CONFIGURATION, COMPILATION AND INSTALLATION STEPS TO BE FOLLOWED: 1. Open the Terminal. 2. Check the current version using uname r command.

3. Now change to Downloads folder using cd Downloads/ and to cd linux-2.6.35.6/.

4. Enter the command vi Makefile to create a new file.

Reg. No : 50410104020 5. In that file change the details in EXTRAVERSION to indicate new version.

6. Enter the command make menuconfig.

Reg. No : 50410104020 7. Choose File systems and enter space bar.

8. Now select DOS/FAT/NT Filesystems.

Reg. No : 50410104020 9. Select NTFS file system support.

Reg. No : 50410104020 10. Now it asks you whether to save your new kernel configuration. In that choose YES.

11. Now enter make bzImage command.

Reg. No : 50410104020 12. Now bzimage is ready. Change to su.

13. Enter the command cp arch/x86/boot/bzImage/boot/vmlinux-2.6.35.6-mykernel.

14. After that exit from su. Enter the command make modules.

Reg. No : 50410104020 15. Now modules have been created. Again change to su.

16. Use ls l/lib/modules to list all modules.

17. Then use the command make modules_install to install those modules.

Reg. No : 50410104020 18. Again list the installed modules.

19. Use mkinitrd /boot/initramfs-2.6.35.6-mykernel.img 2.6.35.6-mykernel command.

Reg. No : 50410104020 20. Change to folder boot folder using cd /boot and use ls l to list all.

21. Then use chmod 755 vmlinux-2.6.35.6-mykernel to change the channel.

Reg. No : 50410104020 22. Now use cd /boot/grub and in that folder create a file named grub.conf.

23. Make changes in that file and save it.

Reg. No : 50410104020 24. Now check the updated current version again using uname r command.

Potrebbero piacerti anche