[Bug 1652462] Re: No init after do-release-upgrade from 14.04 to 16.04 (kernel panic)
Hudson Santos
1652462 at bugs.launchpad.net
Thu Apr 20 08:29:18 UTC 2017
+1 to hill!!
This worked for me (note that I had a 7th step to update initramfs just
in case):
1. boot your droplet with a Recovery ISO - Like TigerShark from DigitalOcean
2. Network must be configured, either manually or via TigerShark script.
3. $ mount -rw -o remount /dev/vda1 /mnt
4. $ chroot /mnt
5. $ unlink /etc/resolv.conf && echo "nameserver 8.8.8.8" > /etc/resolv.conf
6. $ apt-get install init
7. $ update-initramfs -u
After reboot your system. It will work fine. Enjoy! ;)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1652462
Title:
No init after do-release-upgrade from 14.04 to 16.04 (kernel panic)
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
I tried to upgrade from an up-to-date and working Ubuntu 14.04 to
16.04 using do-release-upgrade. The process seemed to complete
successfully except for a couple of errors regarding fcitx packages,
which I choose to ignore and fix later.
I then proceeded to reboot, but the system hanged during the shutdown
so I decided to hard reboot.
However, I was greeted by a kernel panic preceded by straightforward
error messages :
run-init: /sbin/init: No such file or directory
Target filesystem doesn't have requested /sbin/init.
run-init: /sbin/init: No such file or directory
run-init: /etc/init: Permission denied
run-init: /bin/init: No such file or directory
/bin/sh: 0: Can't open splash
Kernel panic — not syncing: Attempted to kill init! exitcode=0x00007f00
etc. (last two lines mentioned for SEO purposes)
Indeed, these files don't exist. It seems /var/log/apt/history.log
doesn't log "do-release-upgrade", so I have no clue about what went
wrong during the upgrade.
FWIW, I can keep the laptop in this state for a couple of days and
check or try whatever is proposed (though I'd rather avoid involving a
live CD or similar).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1652462/+subscriptions
More information about the foundations-bugs
mailing list