Thursday, September 24, 2009

Kernel panic - not syncing: Attempted to kill init! - Page 2 - LinuxQuestions.org

Kernel panic - not syncing: Attempted to kill init! - Page 2 - LinuxQuestions.org: "My kernel build steps.

rpm -ivh kernel-*.src.rpm
cd /usr/src/redhat
rpmbuild -bp SPECS/kernel-2.6.spec
cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64
cp (previous version directory)/.config .
make menuconfig
cp -a .config config_org
make mrproper
cp -a config_org .config
make oldconfig
make
make modules
make modules_install
make install # <--(It seems installing by prep image)
#? This install method is not bootable-->: installkernel 2.6.18-92.1.22.el5 arch/x86_64/boot/bzImage System.map
vi /boot/grub/grub.conf # edit grub menu item
and default menu number(0-...).

Please test this method guys."

No comments:

Post a Comment