November 23, 2024, 01:32:51 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: kernel error  (Read 8852 times)

Offline pnsbabu_14

  • Linux Noob !
  • *
  • Posts: 8
kernel error
« 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

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
kernel error
« Reply #1 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

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
not load in boot
« Reply #2 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

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
kernel error
« Reply #3 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

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
kernel error
« Reply #4 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.