fails to boot with "Attempted to kill init" in VMWare, absolute /sbin/init symlink does not work
Bug #1421117 reported by
Michael Bienia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
My Ubuntu 15.04 VM (running under VMware) doesn't boot anymore after permanently switching to systemd.
I've switched to systemd with "apt install systemd-sysv --purge" (it only purged the upstart package) and with the default "Ubuntu" entry the boot fails after about 2.5 sec with a kernel panic ("Attempted to kill init"). But it works when edit the grub entry (in the grub shell) and add "init=/
Attached is the serial output (with "debug" but no "init=" parameter).
Related branches
Changed in initramfs-tools (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Pretty much the entire log is from the initramfs, the root fs' /sbin/init indeed doesnt' seem to get called.
Can you please check ls -l /sbin/init in your VM? It should be a symlink to /lib/systemd/ systemd.
Also, could you boot with "break=bottom", and check ls -l /root/sbin/init ? Does that exist, or was it removed/modified in some funky way?