<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt">Hi Baruch<br><br>Thank you for your reply.<br><br>I have done a bit of searching around, and I'm not sure how to boot into initrmafs. Can you please point me towards some instructions on how to do this.<br><br>Kind regards<br><br>Andrew<br><div><span><br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Baruch Siach <baruch@tkos.co.il><br> <b><span style="font-weight: bold;">To:</span></b> Ellis Andrew <ajellisuk@yahoo.co.uk> <br><b><span style="font-weight: bold;">Cc:</span></b> "linux-arm-kernel@lists.infradead.org"
 <linux-arm-kernel@lists.infradead.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, 15 September 2012, 20:04<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Kernel panic - not syncing: No init found<br> </font> </div> <br>Hi Ellis,<br><br>On Wed, Sep 12, 2012 at 05:18:22PM +0100, Ellis Andrew wrote:<br>> After a lot of searching with Google I have found this is a common problem, <br>> unfortunately none of the solutions I have found, fix the problem.<br>> <br>> The original error I got was:<br>> <br>> Kernel panic - not syncing: No init found.  Try passing init= option to kernel.<br>> <br>> The command line option was:<br>> root=/dev/mtdblock3 rootfstype=jffs2 rw console=ttyMCS mem=64M@0x0<br>> <br>> I after digging around with google, I found a suggestion which I tried, I made my command line:<br>> root=/dev/mtdblock3 rootfstype=jffs2 rw console=ttyMCS mem=64M@0x0
 init=/sbin/init panic=4<br>> <br>> But I now get the following error:<br>> <br>> Freeing init memory: 88K<br>> Failed to execute /sbin/init.  Attempting defaults...<br>> Kernel panic - not syncing: No init found.  Try passing init= option to kernel.<br>> <br>> I can see that the Root drive is being mounted.<br>> <br>> The contents of the init file is:<br>> <br>> #!/bin/busybox ash<br>> /bin/busybox mount -t sysfs /dev/sys /sys<br>> /bin/busybox mount -t proc  /proc<br>> /bin/busybox mount -t devpts /dev/pts<br>> # Populate /dev according to /sys<br>> /bin/busybox mdev -s<br>> /bin/busybox --install -s<br>> /linuxrc<br>> exec /sbin/init "$@"   </dev/console >/dev/console 2>&1<br>> <br>> Does anyone have any suggestions on how to fix this please? <br><br>The most common reason for this failure is that your root filesystem layout is <br>not what you
 think it is. Try booting into initramfs and mounting your jffs2 <br>filesystem from there to examine it directly on your running system.<br><br>baruch<br><br><br>-- <br>     <a href="http://baruch.siach.name/blog/" target="_blank">http://baruch.siach.name/blog/</a>                  ~. .~   Tk Open Systems<br>=}------------------------------------------------ooO--U--Ooo------------{=<br>   - <a ymailto="mailto:baruch@tkos.co.il" href="mailto:baruch@tkos.co.il">baruch@tkos.co.il</a> - tel: +972.2.679.5364, <a href="http://www.tkos.co.il/" target="_blank">http://www.tkos.co.il</a> -<br><br><br> </div> </div>  </div></body></html>