Answer the question
In order to leave comments, you need to log in
How to update kernel 2.6.32 to 2.6.33?
Hello, I'm trying to update the kernel on FreePBX, I want to update the current kernel 2.6.32 to 2.6.33, I follow this instruction, but at the very last step (after compiling the kernel), the system says that there is no such directory.
yum install rpm-build
yum install redhat-rpm-config
yum install gcc
yum install ncurses-devel
wget www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33....
tar -xjf linux -2.6.33.2.tar.bz2
cd linux-2.6.33.2
make menuconfig
General setup --> enable deprecated sysfs features which may confuse old userspace
append scripts/package/mkspec
echo "%post"
echo "if [ \`uname -i\ ` == \"x86_64\" -o \`uname -i\` == \"i386\" ]; then"
echo " if [ -f /etc/sysconfig/kernel ]; then"
echo " /bin/sed -i -e 's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/' /etc/sysconfig/kernel || exit \$?"
echo "fi"
echo "fi"
echo "/sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install "$KERNELRELEASE" || exit \$?"
echo ""
echo "%preun"
echo "/sbin/new-kernel-pkg --rminitrd --rmmoddep --remove "$KERNELRELEASE" || exit \$?"
echo ""
make -j4 binrpm-pkg
rpm -ihv /usr/src/redhat/RPMS/x86_64/kernel-2.6.33.2-5.x86_64.rpm - I enter this command, it says that it is not possible to open this file, looked in the directory ls /usr/src/redhat/RPMS/x86_64/ - there is nothing there, empty.
Please help me with the update.
Answer the question
In order to leave comments, you need to log in
I highly recommend installing through yum from turnips - you won’t find 2.6.33, but the last mainline is always welcome
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question