Linux in General > Linux Kernel

Kernel update not working - kernel panic

(1/2) > >>

sathish:
Hello linux team !!!!

I am using REDHAT 9.0, i have downloaded kernel from www.kernel.org (kernel version is 2.6.0) linux-2.6.0.tar.gz. I have done the following steps to update the kernel :-

1) copied linux-2.6.0.tar.gz to  /usr/src

2) next extracted tar -xzf linux-2.4.22.tar.gz to /usr/src directory

3) created a symbolic link  
cd /usr/src
ln -s linux-2.4.22 /usr/src/linux

4) changed the directory
cd /usr/src/linux

5) now issued the following commands

make xconfig
make  dep
make clean
make modules
make modules_install
make bzImage
taken a backup of old kernal (grub.conf)
make install

installation complets and rebooted the system to the new kernel 2.6.0
but the new kernel is giving the following error likes...
...
......
...........
...................

mounting root filesystems
moun:error 19 mounting ext3
pivotroot:pviot_root(/sysroot,/sysroot/initrd) failed:2
umount /initrd/proc failed:2
Freein unused kernel memory:232k freed
Kernel Panic:No init found. Try passing init=option to kernel

What is this Error ?? What changes to be done to boot to the New Kernel2.60.

Plz give me steps to do...

Thanks

Sathish.

GNUrag:
did you check your grub.conf ..... is it referring to the new kernel path ?

sathish:

--- Quote from: "GNUrag" ---did you check your grub.conf ..... is it referring to the new kernel path ?
--- End quote ---

Hi !!
yep.. in grub.conf it is loaded automatically to the new kernel.

in grub.conf itz having new kernel version as well as having old kernel version.

If I select the new kernel... itz not booting..


Thanks !!

Sathish

gauravbajaj:
hi buddy,
Follow these steps :
1 .go to /usr/src/linux-2.4 (version of ur system)
2. make mrproper
3. make oldconfig
4  make xconfig
             { enable the options ,that u want to turn on)
5 .make dep
6.make clean
7. go to /usr/src/linux2.4/makefile
8 .change EXTRAVERSION="any new kernel name u want to give"
9.  make bzImage
10. make modules
11. make modules_install
12. make install
13. reboot
after these steps ur kernel works
bye
gauravbajaj

/root:
hey dude,

when i tried to install the kernel source and the typed the following command:

[root@localhost linux]# make xconfig
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [xconfig] Error 2

how to resolve this?????

Navigation

[0] Message Index

[#] Next page

Go to full version