Linux.com

Missing init in zorin OS 4

Link to this post 04 May 11

I have a system with zorin OS 4 32bit installed on one of my 64bit system. Upon booting, I got an error message saying "init not found, try passing init= bootarg".

Not sure how that happen, but it appears the init file has been corrupted or removed. When you get an error like this, what are the methods of replacing an init file?

Link to this post 04 May 11

saqman2060 wrote:

I have a system with zorin OS 4 32bit installed on one of my 64bit system. Upon booting, I got an error message saying "init not found, try passing init= bootarg".

Not sure how that happen, but it appears the init file has been corrupted or removed. When you get an error like this, what are the methods of replacing an init file?

Boot into a livecd, chroot to the proper partition and install a kernel (either own compilation or from the distro's repos)

Regards

Link to this post 05 May 11

saqman2060 wrote:

I have a system with zorin OS 4 32bit installed on one of my 64bit system. Upon booting, I got an error message saying "init not found, try passing init= bootarg".

Not sure how that happen, but it appears the init file has been corrupted or removed. When you get an error like this, what are the methods of replacing an init file?

It is not so much that the init file has been corrupted, rather, the file, /sbin/init, literally cannot be found. Usually this is because the root file system cannot be mounted, for some wiggy reason. Often a bogus initrd (initial ramdisk) is the culprit. Or, if you've got a custom kernel you are trying to boot, and that kernel does not have the proper disk or filesystem drivers enabled, you could see this error. There are plenty of other ways this can happen, too. I would proceed w/Marc's suggestion, though. That's a good start.

Link to this post 05 May 11

Thanks for the advice. I will give that a try.

Link to this post 05 May 11

You can always boot into the system through the chroot environment and attempt to build a new initrd file with mkinitrd, but re-installing the kernel is the safest way to reinstate the file.

Link to this post 06 May 11

Well I'll try your method first matt then, if that fails, I'll reinstall the kernel...ug

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board