Re: Kernel Panic [No init found]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora Core (2.4.21)
>          root (hd0,0)
>          kernel /vmlinuz-2.4.21 ro root=/dev/hda1
>          initrd /initrd-2.4.21.img

Where is your new "initrd-2.4.21.img" image ?
Did you build this while compiling the kernel ? I mean using the same
System.map file.

It seems that you created a new image at /boot/ location ? try without
initrd image. Mostly various distributions have different method for
creating initrd image.

-Vin

On Apr 7, 2005 6:59 AM, Harsha Srinath <harsha@xxxxxxx> wrote:
> Thanks for the note, Tsai. Here is the content of my grub.conf.
> 
> /*********************************************************/
> #initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora Core (2.4.21)
>          root (hd0,0)
>          kernel /vmlinuz-2.4.21 ro root=/dev/hda1
>          initrd /initrd-2.4.21.img
> title Fedora Core (2.6.10-1.770_FC3)
>          root (hd0,0)
>          kernel /vmlinuz-2.6.10-1.770_FC3 ro root=LABEL=/ rhgb quiet
>          initrd /initrd-2.6.10-1.770_FC3.img
> /*************************************************************/
> 
> Thanks so much,
> Harsha
> 
> P.F. Tsai wrote:
> > as my painful experience with FC3, it MUST bootup with an initrd.
> >
> > this panic message looks familiar with me, since you have an initrd made,
> > can you show me your grub config ? (or lilo )
> >
> >
> > Tsai
> >
> >
> > ----- Original Message -----
> > From: "Harsha Srinath" <harsha@xxxxxxx>
> > To: <kernelnewbies@xxxxxxxxxxxx>
> > Sent: Thursday, April 07, 2005 9:03 AM
> > Subject: Kernel Panic [No init found]
> >
> >
> >
> >>Hi All,
> >>
> >>I am running FC3 with a 2.6.10 kernel without any problems.
> >>
> >>I am trying to install a 2.4.21 kernel for an application I am working
> >>on. Initially I had problems compiling the 2.4 and after a lot of
> >>effort, I changed the gcc to the right version (2.96.3) and was able to
> >>compile the 2.4.21 kernel. I also had a problem with 'make
> >>install_modules' that version reqired old depmod and I had to create a
> >>symlink "ln -s /sbin/depmod /sbin/depmod.old". And finally it compiled
> >>and installed.
> >>
> >>But when I try to boot this new 2.4.21, I get a kernel panic message
> >>saying:-
> >>
> >>And now I am getting this message:
> >>
> >>/***************************************************************/
> >>kjournald starting. Commit interval 5 seconds
> >>EXT3-fs: mounted files system with ordered data mode.
> >>pivotroot: pivot_root(/Sysroot,/Sysroot/initrd) failed: 2
> >>umount /initrd/proc failed: 2
> >>freeing unused kernel memory: 276k freed
> >>Kernel panic: No init found. Try passing init= option to kernel.
> >>/***************************************************************/
> >>
> >>Any pointers, folks?
> >>
> >>I also I ran a
> >>
> >>/sbin/mkinitrd -v -f /boot/initrd/2.4.21.img 2.4.21
> >>
> >>without any use.
> >>
> >>Thanks,
> >>K
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux