Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Linux in General => Linux Kernel => Topic started by: sathish on October 12, 2004, 07:59:56 PM
-
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.
-
did you check your grub.conf ..... is it referring to the new kernel path ?
-
did you check your grub.conf ..... is it referring to the new kernel path ?
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
-
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
-
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?????
-
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?????
Hi ,
I am vivek, i saw ur query regarding kernel compilation.
when u r issuing the cmd
#make xconfig
this is a graphical config tool in gui mode which internally
making use of Qt.
check whether Qt is installed r not, by issuing this cmd
#echo $QTDIR
it should point to the path where it is installed eg: /usr/local/qt-3.1/.
if not u have to install Qt.
select the kernel development packages which includes Qt also.
The env variable QTDIR will also be set to the path.
bye
vivek