Page 1 of 1

VM Automatically Powered Off

Posted: 5. Mar 2013, 13:26
by Ryan.Gh
Hello all,

first am a newbie to VirtualBox and not that technical. I am facing a problem with a previously working VM. Whenever I try to start the VM, it starts normally, then comes the windows loading bar, after that it suddenly disappears (shut down) like it is being power off on its own.
I have attached the logs, it seems the guest is sending this command after not finding bus or something.
The VM does contain important stuff that I need, I would appreciate any prompt solution.
I have VirtualBox 4.2.8 r83876, the virtual machine has two drives (one os.vdi the other data.vdi), I can provide more information if necessary as long i can find it :)
VBox.zip
Logs
(29.5 KiB) Downloaded 8 times

Re: VM Automatically Powered Off

Posted: 5. Mar 2013, 13:30
by mpack
What is the guest OS? Include whether it's 16 or 32 bits.

Re: VM Automatically Powered Off

Posted: 5. Mar 2013, 13:33
by Ryan.Gh
Thanks for the quick reply :)
Guest OS is Windows Server 2008 R2 (64-bit)
Host OS is Windows 7 64-bit

Re: VM Automatically Powered Off

Posted: 5. Mar 2013, 13:36
by mpack
You appear to be using the LsiLogic SCSI controller in this VM... why?

Also I see the following, about 18 seconds into the log :-
VBox.log wrote: 00:00:18.830598 Guest requests the VM to be turned off
So, it seems to be the you or the guest itself which turned off the VM, if you provided the correct log. Did you change anything about this VM recently?

Re: VM Automatically Powered Off

Posted: 5. Mar 2013, 13:41
by Ryan.Gh
I dont know why that Lsi Controller is being used honestly, I was given this VM and it was working before.
The only changes I made was copying the VM from one drive to another, and it is automatically powering off. The log is the same as I copied it from the Logs folder.

Re: VM Automatically Powered Off

Posted: 5. Mar 2013, 13:44
by mpack
Ryan.Gh wrote:The only changes I made was copying the VM from one drive to another
And how did you go about that?

And does this VM use snapshots?

Re: VM Automatically Powered Off

Posted: 5. Mar 2013, 13:50
by Ryan.Gh
I just copied the VM folder to another drive.
It is by then that the problem started, I found some posts on internet that said I need to delete folders created under the VirtualBoxVMs folder so I did, but same problem.

Re: VM Automatically Powered Off

Posted: 5. Mar 2013, 15:35
by mpack
I need you to be a lot clearer about what you did. "I found some posts on internet that said I need to delete folders" really tells me nothing, but does ring alarm bells.

The log shows the SCSI controller exhaustively scanning the bus for devices. I don't use SCSI so I don't know if it always does that. Soon after the scan ends the VM terminates. I considered that it might have failed to find the boot drive, except that it then gives the version number of the installed Guest Additions, which means the boot drive must be present. So, I think it's more possible that it failed to find the data disk that should be attached to the SCSI controller. I think that disk image was probably located outside the VM folder, and that you failed to move it with the rest. And given the alarming passage above, I think it's possible that you may even have deleted the folder containing that file.

Re: VM Automatically Powered Off

Posted: 5. Mar 2013, 15:42
by mpack
Hmm. Problem with that notion is that the log seems to show data.vdi as present.

Re: VM Automatically Powered Off

Posted: 6. Mar 2013, 16:09
by Ryan.Gh
What do you exactly want me to do?
as far as i recall i did the following steps:
1-Bulk copy the VM folder (with associated subfolders and files) from one drive to another.
2-Try to start the VM again it starts and automatically power itself off.
3- Delete the folders created under VirtualBoxVMs folder (I am sorry, I didnt take a back up of that).
4- I tried yesterday to create a new VM, and attach the existing Os.vdi to it, but that one also gave the same problem. I reverted this trial by removing the VM entry from Virtualbox.

I am stuck now, I dont know how to go forward.

Re: VM Automatically Powered Off

Posted: 6. Mar 2013, 16:13
by mpack
Well, the plan was for you to verify that the data.vdi file exists, and/or see what happens if you disable that SCSI controller.

However, if you want me to investigate further then please post a .zip file containing the .vbox file for this VM. I will also need a directory list of the VM folder (the same folder the .vbox file comes from).

Do you know what was on the data.vdi file? If someone gave you this VM can you get another copy of that file if you deleted it?