I wanted to upgrade my system from 14 to 15, so along these instructions, I changed the line to Prompt=normal
and ran the upgrade command. A couple of hours later, I decided to reboot and check out the new ubuntu. However, it froze on shutdown, and I had to do a hardware shutdown. And when I tried to reboot, I got the /sbin/init
missing error. I tried many of the other solutions, but none worked.
And when I booted with a GParted live CD, and mounted my old file system, I saw that all my files were intact.
However, my /sbin/init
and /sbin/shutdown
were actually missing.
What should I do to get my system back and running? I can get a live/installation CD if need be, but don't have one on hand.
/lib/systemd/systemd
and/sbin/systemctl
? – muru Dec 30 '15 at 01:27/lib/systemd/systemd-<stuff>
but nothing that's just/lib/systemd/systemd
– Maltysen Dec 30 '15 at 01:39/sbin/systemctl
, but I have/sbin/sysctl
– Maltysen Dec 30 '15 at 01:40dpkg --configure -a
andapt-get install -f
. That might continue the interrupted upgrade. If not, runapt-get install ubuntu-desktop
. – muru Dec 30 '15 at 01:42/
, in effect you see the filesystem as if you'd booted into it. See http://askubuntu.com/a/28100/158442 for an example where the a chroot is used to install kernels - quite similar to your case. – muru Dec 30 '15 at 01:51dpkg --configure -a
andapt-get install -f
do the job, you might not, but if you have to doapt-get install ubuntu-desktop
, you will need it. – muru Dec 30 '15 at 01:58