Reboot of Windows Machine Crashed my CentOS VM on VirtualBox - linux

After attempting to import data from one Oracle database to another on my D drive my computer started to hang and I had to manually reboot my machine. In doing so my virtualbox CentOS vm was hard rebooted as well. Now when I attempt to start my CentOS VM I get this error:
I went to this forum to see if they had a solution, but the solution for checking the 'Use host I/O cache' didn't work for me:
virtualbox forum
I also tried removing the vm instance and recreating a new instance with the same storage, but that didn't work either and I got the same error.
Any suggestions?

The problem ended up being that because the D: drive was dirty, I had to move over the CentOS virtual drive to the C: drive.

Related

Couldn't remount RDWR because of unprocessed orphan inode list in VirtualBox VM

I have been using ubuntu 14.x from windows using virtual box.but suddenly ubuntu instance stopped working and when i start the virtual machine using vagrant up command it is saying
Couldn't remount RDWR because of unprocessed orphan inode list.
Does anyone knows how to boot virtual machine and solve mounting issue.?

Could not open virtual machine: The virtual machine appears to be in use

I am trying to open ubuntu in vmware workstation 12. But there is a error
Could not open virtual machine:
C:\Users\MANDEEP-THAKUR\Documents\Virtual Machines\Ubuntu 15.10\Ubuntu 15.10.vmx
The virtual machine appears to be in use.
here is the screenshot
when i delete the .lck extension folder from the vmware workstation folder and again starts the vmware workstation then there are again some errors those errors are showing below.
VMware Workstation cannot connect to the virtual machine.
Make sure you have rights to run the program, access all directories the program uses,
and access all directories for temporary files.
Failed to connect pipe to virtual machine: All pipe instances are busy.
here is the screenshot of this error..
please suggest me what to do.
Thanks
press Ctrl alt del, it opens the start manager... locate VM in service and end all process.. then open your VMware it up will work :)
you not only need to delete the lock file but also the .vmem file, close the VMware workstation wouldn't release the lock on the vmem file, you need to restart your PC first
you simply need to close all the processes of vmware workstation from the taskbar.
when you ended all the processes of vmware workstation from taskmanager then you can easily run the ubuntu again in vmware workstation.
You need to close VMware Workstation, on VM's folder find and delete any .lck or .lock files, open again the VMware Workstation and start the VM.
This might solve your problem
open task manager
go to background processes
stop the vmware-hostd.ext process.
restart vmware and you are good to go.

How to prevent Linux virtual machine to close/logout on VMWare?

I'm trying to run a CentOS distribution on VMWare. Because the Linux is running calculations, i need this machine to never stop.
I've tried to run it in VMWare player, after 20 minutes of "innactivity", the session logout. I've tried to run it in VMWare Workstation, it does the same.
How do i manage the Linux or VMWare to prevent this logout ?
Thank you.
I had the same problem a while ago, if I can remember correctly, you need to do the following:
Shutdown the Virtual Machine.
Locate the Virtual Machine .vmx File.
Open The .vmx file in any text Editor.
Add This line: suspend.disabled = "TRUE"
Start the Virtual Machine again.
Hope this helps.

Installing Ubuntu on Oracle VM Virtual Box: Failed to open the optical disk file

I need to install Ubuntu 64-bit on Windows 7 64-bit using Oracle VM Virtual Box.
I downloaded Ubuntu Desktop iso file, opened the settings of VM and selected the disk image of Ubuntu.
After this the following error message appears. How to solve this issue?
UPDATE: I tried both 34-bit and 64-bit Ubunto. Both fail.
Either your ISO is broken or you selected the wrong OS when creating the virtual machine. Try to redownload the file from the Ubuntu home page and mount it again.
You can follow the steps from here. Eventhough its for Ubuntu 14.04, the steps will not change.

auto reboot SLES11 SP1 as a VM

I have a SLES11 SP1 (64bit) Linux installed as a VM with VMWare Player. I was trying to configure this Linux host for auto reboot after panic. For that, I added "kernel.panic=10" to /etc/sysctl.conf. After reboot, when the host panic'ed, it did not reboot automatically. Does anybody has an idea ?
I tried installing SLES11 SP1 (64bit) on ESXi server as well, but same result. I could not get it to autoreboot after panic.
I tried same settings with another distro (ubuntu 64bit), but these settings worked in that case.
If there is some other setting I need to do, please do let me know.
Thanks
For ESXi installation, you can trigger automatic reboot of guest virtual machine as follows:
Goto Configuration section -> Virtual machine startup/shutdown, and there you can add the virtual machine for automatic startup by clicking on 'Properties' button, so that it reboots automatically. You can also define 'Startup delay' and 'Shutdown delay' for both 'Automatic startup' and 'Manual startup'.

Resources