Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Kernel Panic While Booting With Kernel 2.6.5, kernel panic while booting with kernel 2
zuma
post Apr 14 2004, 07:30 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 19-March 04
Member No.: 2,619



hi,
I compiled the new kernel linux-2.6.5,but when i want to boot the new
kernel is halting with this messge:
mountig root file system
mount error 19 mounting ex3
pivootroot:pivot_root(/sysroot,/sysroot,/initrd) failed:2
freeing unused kernel memory:124k freed
kernel panic:No init found.Try passing init=option to kernel
the grub menu.lst is as:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/hda10
# initrd /initrd-version.img
#boot=/dev/hda5
default=0
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
title Red Hat 9 (2.4.20-8)
root (hd0,4)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ devfs=mount
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1

title new linuxs
root (hd0,4)
kernel /vmlinuz-2.6 ro root=LABEL=/ devfs=mount
initrd /initrd-2.6.5.img
plz help me.
smile.gif
Go to the top of the page
 
+Quote Post
chrisw
post Apr 15 2004, 11:07 AM
Post #2


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



i moved this topic from tips/tricks section...bumping it to top


--------------------

Chris W.
Go to the top of the page
 
+Quote Post
Jim
post Apr 15 2004, 11:50 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



Did you create a new boot partition when you installed the 2.6 kernel? Anaconda seems to imply that you have a boot partition that you mount into the /boot directory and load from there. My guess is that grub isn't getting pointed to the right place for the boot partition.

Does you 2.4 kernel boot? If it does that might not be the problem. In this case go to your /boot folder and make sure that your new initrd-<kernel-verions> exactly matches your grub entry. That might be the problem. However, I am inclined to believe that its a problem with the mounting of the boot partitioin

Write back and tell me how your drive is set up and if you can or can't get into 2.4.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
zuma
post Apr 22 2004, 09:29 PM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 19-March 04
Member No.: 2,619



hi,
thanks for reply,there is /boot partation and the initrd.img of both the old and new kernels are in the /boot ,the grub entry for the new iamge is
exactly as is in the /boot 'initrd.2.6.5.img' it can boot with the old kernel
the problem is with the new kernel.
Go to the top of the page
 
+Quote Post
Jim
post Apr 22 2004, 09:36 PM
Post #5


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



Ok, are you sure you got the kernel compiled correctly?

Next are you using anything like RAID that might need drivers compiled in order to get the system to boot?

Try changing your initrd /initrd-2.6.5.img line to initrd /boot/initrd-2.6.5.img


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
hughesjr
post Apr 23 2004, 05:39 AM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



How did you create the initrd image for the new kernel?


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th October 2017 - 04:11 AM