#509 Issue closed
: run-init: /sbin/init: No such file or directory Kernel panic - not syncing: Attempted to kill init!¶
Labels: support / question
, fixed / solved / done
nelteren opened issue at 2014-11-15 20:28:¶
After restoring and rebooting, I get the error:
run-init: /sbin/init: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
And cannot proceed.
On the original host /sbin/init is also missing and other debian hosts
it is also missing. Booting is no problem then.
What went wrong?
I use I use Relax-and-Recover 1.16 / Git
Linux s03.net-products.nl 2.6.32-5-amd64 #1 SMP Sat May 5 01:12:59 UTC
2012 x86_64 GNU/Linux
Local.conf
OUTPUT=ISO
BACKUP=NETFS
BACKUP_URL=nfs://xxx.xxx.xxx.xxx/rear/s03.net-products.nl/odd
(I have a destination for odd and even days)
os.conf
OS_VENDOR='Debian'
OS_VERSION='4.3.5-4'
gdha commented at 2014-11-17 08:06:¶
could it be that it was required to rebuild the initial ramdisk? And, maybe that did not happen - check the recover log file (after booting rear recover ISO image)
gdha commented at 2015-02-06 20:11:¶
@nelteren have a look at http://ubuntuforums.org/showthread.php?t=2163328 - might be your problem
jsmeix commented at 2016-09-21 13:11:¶
No feedback since more than one year => closing it.
If needed it can be reopened.
jeankoffi543 commented at 2017-04-19 06:00:¶
First thing to do is:
1- boot your linux distribution on USB or CD
2- live boot your system on the USB or CD key
3- in command line type: mount /dev/sda1(or your dist partition) /mnt
4- chroot /mnt
5- nano /etc/resolv.conf (in this file, put this line: nameserver
8.8.8.8)
6- apt-get install init
after reboot your system. It will work fine. Enjoy
gdha commented at 2017-04-19 07:51:¶
@jeankoffi543 So init was not present? Why was it not restored?
jeankoffi543 commented at 2017-04-21 13:24:¶
@gdha i don't know why. But i know that init depends of insserv, update
can remove insserv.
There is many problem to this error. Reinstall init would solve this.
jsmeix commented at 2017-07-18 15:55:¶
Since ReaR v 2.1 the new default.conf setting
REBUILD_INITRAMFS="yes"
rebuilds the initramfs/initrd in any case during "rear recover"
in the recreated system to be on the safe side.
I guess that avoids issues as this one.
karnasoneji commented at 2017-10-04 14:12:¶
apt-get install init
Solved the problem.
[Export of Github issue for rear/rear.]