PrepAway - Latest Free Exam Questions & Answers

Which of the following is not a valid make command during a kernel recompile?

Which of the following is not a valid make command during a kernel recompile?

PrepAway - Latest Free Exam Questions & Answers

A.
make dep

B.
make clean

C.
make xconfig

D.
make modules

E.
make gzlilo

Explanation:
We are now (finally) ready to start the actual kernel build. At the prompt type:
makebzImage Somecomputerswon’tworkwith’makebzImage’,eitherduetohardware
problemsorveryoldversionsofliloorloadlin.If your kernel image is small,you mayuse’make
zImage’,’make zdisk’,or’make zlilo’ on the sesystems
Steps to recompile the Kernel
1. cd /usr/src2. bzcat linux-2.4.17.tar.bz | tar xvf -3. cd linux
4. make config | make menuconfig | make xconfig5. make dep6.
make clean7. make bzImage8. make modules (if modular kernel)9.
make modules_install (if modular kernel)10. cp System.map /boot/System.map-2.4.17
11. cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.1712. cp .config /boot/config-2.4.17
13. mkinitrd /boot/initrd-<version> <kernel version> # Depending on kernel configuration14.
Update LILO or GRUB15. Reboot into new kernel

One Comment on “Which of the following is not a valid make command during a kernel recompile?


Leave a Reply