Compiling kernel 2.6.9 on RedHat 8.0 
 installed RedHat 8.0 with 5 CD's of which at the time of installation are required unless only the first 2. 
 pozaznaczałem During installation, I want to have installed the developer tools (among others. Kernel development). 
 
 After downloading and unpacking the kernel in turn handed the command: 
 
 make mrproper 
 make menuconfig (here you have to remember that the Service was ext3fs built into the kernel, not as a module, because the boot partition is in ext3) 
 
 make dep make clean make bzImage 
 
 
 make modules make modules_install (as root, and do not "make module_install "!!!) 
 
 / sbin / mkinitrd / boot/initrd-2.6.9 2.6.9 
 
 arch/i386/boot/bzImage cp / cp System.map boot/vmlinuz-2.6.9 
 / boot/System.map-2.6.9 
 ln-s / boot / System.map / boot/System.map-2.6.9 
 
 In the file / boot / grub / grub.conf add the entry: 
 
 title Red Hat Linux (2.6.9) 
 root (hd0, 0) 
 kernel / vmlinuz-2.6.9 ro root = LABEL = / 
 initrd / initrd-2.6.9.img 
 
 Errors: 
>> depmod can not open / for writing lib/modules/2.4.18-14/modules.dep < length:
>> Warning: May you have to install module-init-tools 
 solution is like a warning - to install the module- init-tools. This will guide you through this guide: http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/How_to_Compile_2_6_kernel_for_RedHat_9_8 in steps of 2:4. 
 
 Grub: can not find the file, error 15th Are you sure you copied the bzImage and System.map? The path should begin with / rather than / boot / - see NOTICE in grub.conf. 
 Error "pivotroot: pivot_root (/ sysroot, / sysroot / initrd) failed" means that ext3fs support is not built into the kernel. You must add it with "y" in step with make menuconfig. 
 
 now is to restart and use the new kernel. I jumped out of the system while standing only a matter of concern to me information about some problems with the eth0, but the project will not likely need it to me so far is not worried.  
 
0 comments:
Post a Comment