CNU
Posts: 4
Joined: Sun Aug 16, 2015 8:39 am

No working init found

Sun Aug 23, 2015 6:41 am

hi ,

I am working with RPI2 .I have installed raspibian using noobs .It has booted properly and working.

I have copied all files from sd card(16GB) to my hard disk(root,boot,SETTINGS,Recovery);
Now I have formatted my sd card and created FAT(64mb) and ext4 partitions .
I have copied files from hard disk to sdcard
root->root
boot ->boot
using cp -r /media/cnu/Newvolume/RASPI/root/* /media/cnu/root
using cp -r /media/cnu/Newvolume/RASPI/boot/* /media/cnu/boot

I didnot copied settings and recovery folders

When i inserted sd card into pi and powered up .It has shown message root fs not found
I have edited cmdline.txt ,changed root = /dev/mmcblkop6 to /dev/mmcblkop2

When i inserted sd card into pi and powered up .It has shown message root fs not found
I have edited cmdline.txt ,changed root = /dev/mmcblkop6 to /dev/mmcblkop2
and changed file permissions in root folder(I changed file permissions when it has shown "unable to run init read only " message in next boot ).
sudo chmod 777 /media/cnu/root/*

When i inserted sd card into pi and powered up .It has shown following message:
No working init found. Try passing init = option to kernel. See linux documentation/init.txt for guidance.

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: No working init found

Sun Aug 23, 2015 8:31 am

hi @CNU
-a- you never posted if you got the noobs silent install running

-b- can you help me to understand why you try to copy partitions from a running noobs,
format SD and copy some of them back?
do you try to convert a noobs raspbian system to a raspbian only?
burn that image https://www.raspberrypi.org/downloads/raspbian/
to a other SD and compare partition structure and startup files.

CNU
Posts: 4
Joined: Sun Aug 16, 2015 8:39 am

Re: No working init found

Sun Aug 23, 2015 9:07 am

silent install : I didn't do silent install as i got DVI monitor which displayed noobs setup. I have installed raspbian in my sd card using noobs .

Now I just want to boot raspberry pi with out noobs help.
so i created ftp and ext4 partitions and copied boot and root files into them .

is this not procedure ?
How to boot raspberry pi with out NOOBS?

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: No working init found

Sun Aug 23, 2015 9:14 am

viewtopic.php?p=803574#p803574
CNU wrote: I tried silent install
CNU wrote:silent install : I didn't do silent install as i got DVI monitor
i just tried to help.
CNU wrote:is this not procedure ?
sorry, i never see a PROCEDURE like that,
but, my guess seems to be right, so pls, can you just do what i write above, burn the raspbian image from the above link
( on windows must use win32diskimager ) and you get what you wanted!
this is mostly used / recommended by the people who work headless and hate noobs for the need
of a setup with monitor. But once it is installed noobs raspbian is not a real problem for headless
operation. ( 5 sec delay?)

i noticed that the new download page layout is not very helpful about the differences
between noobs ( with raspbian) and raspbian ( only ).

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: No working init found

Sun Aug 23, 2015 9:52 am

CNU wrote: When i inserted sd card into pi and powered up .It has shown message root fs not found
I have edited cmdline.txt ,changed root = /dev/mmcblkop6 to /dev/mmcblkop2
Is that a typo? It should be /dev/mmcblk0p2, not /dev/mmcblkop2 (number zero, not letter "oh").

That procedure should basically work, as long as the right partitions have been copied.

Can you put the card in a Linux system and just list the files in the root directory of each partition. You should have all the normal boot files in the first (FAT) partition and things like "bin", "etc", "usr" and so on in the second (ext4) partition.

Return to “Troubleshooting”