Linux: /sbin/init not found - won't boot

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

Linux: /sbin/init not found - won't boot

Post by peter_b »

For some reason (*) my /lib was suddenly empty.
Very nasty.

Long story short, here's how I fixed it:

* boot a live distro (of similar OS version/flavor)
* In my case: Xubuntu 20.04.6 (live) over 20.04.5 (=compatible, but slight library/version deviation)
* Mount the broken OS system disk.
* rsync -avP /lib/ /where/ever/the/broken/OS/is/mounted/lib/
* Unmount and reboot live distro.
Post Reply