There are many people talking about this error and I have tried all the solutions that I saw but none of them worked for me. I am searching for a solution for hours and asking here is my last attempt to fix it, before formating the partition and reinstalling ubuntu.
I was using my ubuntu and saw a pop-up asking if I wanted to update to 16.04.1 LTS. I agreed and after a long period of time, my computer logged off by itself and when I logged in again, the installation was interrupted and I got some screens saying the update couldn't be completed. But the attempt to update ubuntu already had deleted several packages I had (for example my terminal was not true color anymore), then I restarted and got the error bellow:
My init file isn't in /sbin anymore. I searched for a lot of proposed solutions to this (with many people commenting it had worked for them) but none of those worked for me. I tried:
- I got a bootable pendriver with ubuntu 14.04 .iso and booted from it, used
fsck -f /dev/sda6and
e2fsck -f -y -v /dev/sda6, following this and this.
- I copied my /sbin directory to my /home so I can restore it later, deleted my ubuntu's /sbin and copied my bootable pendriver's /sbin to my ubuntu root folder. I tried this with 14.04, 14.04.4 and 16.04.1 bootable pendrivers, following this.
- I tried going into GRUB screen, pressing e and changing the 'ro' to 'rw' and boot it (with F10 or ctrl+x) with my original sbin in it, following this.