Just a theoretical question...
But what would happen if
/sbin/init) would be removed?
The boot loader will load the kernel, the kernel would attempt to run init, not find it and panic.
The way out of it is to reboot, edit the boot parameters, add
So it would find /bin/sh (which is a link to dash) and that will give you a shell and a chance to fix it without using the
Nothing happens, until you try to reboot. As long as the system is running, and you don't try to switch runlevels by running
Actually, deletion of
One way to recover from the deletion of
The macho way to recover is to use only the resources on the machine itself. One factor in your favour is that
The easiest way to accomplish that is: