auto reboot SLES11 SP1 as a VM - linux

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'.

Related

Docker is uninstalled still v box not working

Failed to open a session for the virtual machine Ubuntu.
Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED).
Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Image
This is likely happening due to a conflict between Hyper-V (which uninstalling docker does not deactivate) and Virtualbox. Check to see if Hyper-V is enabled. To do this (assuming you're running docker on windows)
go to control panel's "turn Windows features on or off" options
search for Hyper-V. If it's checked, Hyper-V is still enabled, and is likely the cause of the issue. uncheck it, and restart your computer.
try to launch virtualbox again.

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.

Hyper-V error. Running Windows Phone Emulator and VM in the same time (Windows 8)

I'm developling a WP8 application on my computer (OS : Windows 8).
I need to install a VM to have linux.
In the same time i need to use my Emulator of Windows Phone.
I downloaded VMWare and create a virtual machine, but i had this error :
VMware Workstation and Hyper-V are not compatible. Remove the Hyper-V role
from the system before running VMware Workstation.
I can't remove the Hyper-V because i need it, to use the Emulator of Windows Phone.
Maybe i didn't search well , but i only found solutions who will make me cut my Hyper-V. So it will not be possible to use my Emulator and my VM in the same time.
So, my question is : Is it possible to use my Emulator Windows Phone and in the same time to have a VM with linux who is running ?
No, you can't. You have two ways:
1) Install your Linux into Hyper-V
2) Turn Off Hyper-V, restart Windows, Use VMware. Then turn on Hyper-V, restart and use Windows Phone Emulator.
You can turn on or off Hyper-V from command line:
bcdedit /set hypervisorlaunchtype off

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.

Is there a way to install windows server 2003 x64 over a VM?

I have been trying to install that but it produces an error saying that the processor is not compatible with x64. I tried VMWare Player and Microsoft Virtual PC. I also read about disabling virualization but it's not working.
By enabling virtualization from the BIOS setup of the main machine it worked!
Problem installing x64 guest OS with vmware Server
You can try with this, it reveals some very useful informations http://support.microsoft.com/windowsserver2003x64

Resources