Linux Kernel Compilation Steps
The Linux kernel is the heart of your Linux system. It handles user/your input/output, hardware, and controlling the power in the computer.
1.Download the latest version of the Linux kernel from http://www.kernel.org.
Extract downloaded kernel.
Change directory to where linux kernel has been extracted.
2. #sudo make menuconfig
3. Get Latest updates
#sudo apt-get update
4. #sudo apt-get install yum
5. #sudo apt-get install ncurses -dev
6. #sudo make menuconfig
7. then enter the file systems menu
make some changes as per your requirement.
8. #sudo make dep
9. #sudo make bzImage
10. #sudo make modules
11. #sudo make modules_install
12. #sudo make install
13. #cd /boot
14. #ls
see there are following 4 files:
a. system.map
b. config
c. vmlinuz
d. initrd
15. #sudo update-initramfs -c -k <your Stable Kernel Number>
16. #sudo update-grub
17. Reboot the System
#sudo reboot
The Linux kernel is the heart of your Linux system. It handles user/your input/output, hardware, and controlling the power in the computer.
1.Download the latest version of the Linux kernel from http://www.kernel.org.
Extract downloaded kernel.
Change directory to where linux kernel has been extracted.
2. #sudo make menuconfig
3. Get Latest updates
#sudo apt-get update
4. #sudo apt-get install yum
5. #sudo apt-get install ncurses -dev
6. #sudo make menuconfig
7. then enter the file systems menu
make some changes as per your requirement.
8. #sudo make dep
9. #sudo make bzImage
10. #sudo make modules
11. #sudo make modules_install
12. #sudo make install
13. #cd /boot
14. #ls
see there are following 4 files:
a. system.map
b. config
c. vmlinuz
d. initrd
15. #sudo update-initramfs -c -k <your Stable Kernel Number>
16. #sudo update-grub
17. Reboot the System
#sudo reboot
No comments:
Post a Comment