Kernel panic - not syncing: Attempted to kill init!

Discussions about using Linux guests in VirtualBox.
Post Reply
EgonF
Posts: 53
Joined: 3. Oct 2010, 12:24
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: MX Linux

Kernel panic - not syncing: Attempted to kill init!

Post by EgonF »

VirtualBox 3.2.8
Host: Win7 64bit
Guest: Ubuntu 10.4.

After deleting an old snapshot I started the virtual machine. After a while the message
run-init: /sbin/init: Exec format error
[ ] Kernel panic - not syncing: Attempted to kill init!
appeared and the virtual machine hangs.

Why did this happens? How can I start the virtual machine?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Kernel panic - not syncing: Attempted to kill init!

Post by Sasquatch »

This problem has different causes. It is possible that because you removed a snapshot, it came to this, but it's also possible that there was an update with some bug that caused this. Please search on Google for this. There are too many variables that can give this result and it's not always VB's fault. Google has enough results for your error.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
EgonF
Posts: 53
Joined: 3. Oct 2010, 12:24
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: MX Linux

Re: Kernel panic - not syncing: Attempted to kill init!

Post by EgonF »

I looked up Google before and there are - you said it - many results. To locate the problem I have to have more informations. I would like to see the boot messages. How can I see them in the VM? With VBoxManage?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Kernel panic - not syncing: Attempted to kill init!

Post by Sasquatch »

Well, if you don't see anything except the kernel panic, then you might want to change the boot parameter. Hold down the left Shift when the VM boots and you should get a grub menu. Press 'e' to edit the entry and remove 'quite splash' from the kernel boot options. Then boot the VM and look at the text it's showing up to the kernel panic.

On Google, if I search for 'kernel panic attempt kill init exec format error', I get some more useful results. Though the first I see is this forum post :P. The second hit told me that init got corrupted. And I doubt that post was about a VM.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
EgonF
Posts: 53
Joined: 3. Oct 2010, 12:24
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: MX Linux

Re: Kernel panic - not syncing: Attempted to kill init!

Post by EgonF »

I don't get the grub menu with left Shift during starting the guest.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Kernel panic - not syncing: Attempted to kill init!

Post by Sasquatch »

I assumed you have Grub2 installed, but if you choose to use Grub instead (the older version), then it's the esc key when you see a timer.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
EgonF
Posts: 53
Joined: 3. Oct 2010, 12:24
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: MX Linux

Re: Kernel panic - not syncing: Attempted to kill init!

Post by EgonF »

ESC doesn't work. Maybe the system has lost grub?

Another question:
Are there tools to extract a file or a folder from a snapshot?
Post Reply