Re: RE: no init found

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

 



Try building Ext3 support into the kernel instead of having
it built as a module.

Rich

On Thu, 2006-03-09 at 09:37 +0000, kiran kumar wrote:
>   hi,
>     thanks for the attachment! (kernel version 2.6.15.5)
> i followed the rules,but while booting it gave a error message :
>     (last lines of oops)
>   creating root device
>   mounting root filesystem
>   mount: error 19 mounting ext3
>   pivotroot: pivot-root(/sysroot,/sysroot/initrd) failed:2
>   umount /initrd/proc failed:2
>   freeing unused kernel memory :216k freed
>   kernel panic -not syncing : no init found
>   try passing init=option to kernel
> 
> help me on this
> 
> 
> On Thu, 09 Mar 2006 Srinivas G. wrote :
> >Dear Kiran,
> >
> >
> >
> >Please find the attached file which explains about the building of a
> new
> >kernel.
> >
> >
> >
> >Regards,
> >
> >Srinivas G
> >
> >
> >
> >
> >
> >
> >
> >-----Original Message-----
> > From: kernelnewbies-bounce@xxxxxxxxxxxx
> >[mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of kiran kumar
> >Sent: Thursday, March 09, 2006 9:40 AM
> >To: kernelnewbies@xxxxxxxxxxxx
> >Subject: no init found
> >
> >
> >
> >
> >hi all,
> >  i am using the kernel 2.4.20-8(Redhat). i installed kernel version
> >2.6.15.5.
> >the steps i followed right after untarring and unzipping the kernel
> are:
> >make oldoconfig
> >make
> >cp arch/i386/boot/bzimage /boot/vmlinuz-2.6.15-5
> >  (i created the hard link to system map & config for the present
> >kernel)
> >make modules_install
> >reboot
> >
> >
> >
> >the GRUB loader file was like this:
> >title Red Hat Linux (2.4.20-8)
> >        root (hd0,0)
> >        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
> >        initrd /initrd-2.4.20-8.img
> >
> >
> >title test
> >        root (hd0,0)
> >        kernel /test ro root=LABEL=/
> >        initrd /initrd-2.4.20-8.img
> >
> >
> >title new-test
> >        root (hd0,0)
> >        kernel /new-test ro root=LABEL=/
> >        initrd /initrd-2.4.20-8.img
> >
> >
> >title timer
> >        root (hd0,0)
> >        kernel /timer ro root=LABEL=/
> >        initrd /initrd-2.4.20-8.img
> >
> >the kernel compiled but during booting it initially gave oops message
> as
> >
> >VFS - cannot open root device "LABEL=/" on unknown block(0,0)
> >please append a correct "root="boot option
> >kernel panic :not syncing :VFS: unable to mount root fs on unknown
> >block(0,0)
> >
> >for this i edited  for the timer kernel as :
> >
> >title timer
> >      root (hd0,0)
> >      kernel /timer ro root=/dev/hda1  ####edited here
> >      initrd /initrd-2.6.15.5.img  #####edited here
> >
> >  i booted for the timer kernel (2.6.15.5) , now it gave oops message
> as
> >: (the last oops message was not there)
> >
> >  Warning: unable to open an initial console
> >kernel pasnic - not syncing : no init found . try again passing init=
> >option to kernel .
> >
> >what is the solution!
> >
> >warm regards,
> >kiran kumar s.k
> >N.I.T.K,surathkal
> >
> >
> ><http://adworks.rediff.com/cgi-
> bin/AdWorks/sigclick.cgi/www.rediff.com/s
> >ignature-home.htm/1507191490@Middle5?PARTNER=3>
> >
> 
> 
> warm regards, 
> kiran kumar s.k 
> N.I.T.K,surathkal
> 
> 
-- 
Richard Johnson <richj25@xxxxxxxxxxxxx>


--
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