Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux in General => Linux Kernel => Topic started by: pnsbabu_14 on May 04, 2005, 10:09:36 AM

Title: kernel error
Post by: pnsbabu_14 on May 04, 2005, 10:09:36 AM
hi all

iiam using redhat 9 with kernel 2.4.20-8 , now i want to iinstall kernel 2.6.9. i download lkernel 2.6.9 from kernel.org the file name is linux-2.6.9.tar.gz. Unzipped the file in a directory and runned the following commands

make manuconfig
make dep
make bzimage
male modules
male modules_install
make install

and copied bzImage to /boot directory and also edited menu.lst

now while booting with my new kernel iam getting following error

Kernelpanic - not syncing :no init found Try passing init =option to kernel


pls help me out


satheesh
Title: kernel error
Post by: dragoncity99 on May 04, 2005, 01:13:00 PM
Why do u change the menu.lst file?

That file should not be touched actually at all.

1. U should edit the grub.conf file under /etc directory
2. Ur "linux" symbolic link should be pointing to ur current kernel source ( let's say /usr/src/linux-2.6.9 f)

If u r using lilo, change the lilo.conf file under /etc. Then, u need to run "lilo" on the console to apply the change on lilo.conf
Title: not load in boot
Post by: deven_01 on July 16, 2005, 07:07:57 AM
Dear
Listen one thing whatever changes made by u related to kernel not make changes in bootloader
So Do one thing
If you have redhat linux
put your cd 1 in cdrom boot linux in rescue mode
After this type, "chroot /mnt/sysimage"
and make changes in the boot loader file i.e. related to lilo or grub
if not possible
say
lilo on character mode
It install Lilo as a boot loader
Title: kernel error
Post by: gauravbajaj on July 18, 2005, 07:47:39 AM
The pb u r facing is not so difficult......

Try 2 things ....
First in ur kernel
#enable ext3 filesystem support
U can do this by command
#make gconfig
or
#make xconfig
& after that run all commands subsequently i.e
make dep
make...
etc..

if still the error comes then
Contact me...
I will tell u next .time..

Cheers:
Gaurav
Title: kernel error
Post by: dragoncity99 on July 20, 2005, 05:24:10 AM
In kernel 2.6.xxx

u don't need to use:
make dep

The proper steps to compile kernel 2
1. make menuconfig/make oldconfig/make xconfig

2. make

3. make modules modules_install

4. Copy over ur kernel image to /boot and update ur bootmanager configuration. And reboot.

Lastly, after reading again ur problem, i see that ur kernel compilation is ok (just ur kernel options are wrong/ boot manager config is wrong)

Please double check. To not waste time and use a good and safe recommended options for .config for the kernel, get a config from slackware's .config for kernel configuration reference. I strongly recommend it.