Ubuntu Virtual Machine installation on Windows - linux

I'm installing Ubuntu Linux on my Windows 10 host using VirtualBox. I arrived at this page after some steps. Should I go ahead and select the first option? Will it delete files on my Virtual Machine (Ubuntu), or the Host Machine (Windows 10)? Thanks in advance.

Don't worry. It won't delete your files from host OS. This erasing and subsequent installation happens on the virtual OS space that you would have allocated while creating the virtual hard disk.

Yes. The first clears only the VHD.
!! IF YOU INSTALL IT OUT OF YOU VM, DON'T CHOOSE THIS !!

Related

Paste to virtual terminal

In a Ubuntu host system I have installed qemu and created a virtual machine with CentOS. The CentOS installation does not have an X server, just a virtual terminal. I would like to be able to copy strings from the host system to the virtual terminal of the virtual machine.
What I found so far is the suggestion to install spice-vdagent. If I understand correctly however, spice-vdagent requires an X server, which I don't have installed.
So, how can I paste strings to the virtual terminal (if possible at all)?
You have to enable clipboard in your virtual machine manager software (VirtualBox or VmWare).
In Vbox you have to install Guest Additions iso. In VmWare you have to enable it in the virtual machine's options.
Run your Vm and run next command:
# yum install spice-vdagent
# chkconfig --add spice-vdagentd
# service spice-vdagentd start

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.

How to set up Virtualbox 1366x768 resolution for a Linux guest?

I have been trying maybe weeks now to figure out how to configure VirtualBox to have 1366x768 resolution on a linux guest, which is on a windows 8.1 host.
My configuration:
Windows 8.1 as host
Linuxmint 17.1 as guest (tried ubuntu and debian too but no luck)
Virtualbox 4.3.26 and its extension pack
Laptop is powerful with 16GB ram and 4GB Nvdia
My problem is that it doesn't matter what I used, nothing worked.
Please do not post the answers on most known websites, I tried them already.
Once your VM is started, you need to run the VBox Linux Guest Additions.
First try to run it from the VirtualBox window's menu:
Devices >> Insert guest Additions CD image...
and follow the instructions.
If that fails, open a terminal and go to the directory where you CD reader is mounted (/run/media/ on Fedora or /media/ on Ubuntu for example).
Then type command sudo ./VBoxLinuxAdditions.run
Complete instructions can be found on the VirtualBox user manual
Once Guest Additions are installed, reboot your virtual machine. You should be able to resize your screen to your heart's content.
I installed the new VirtualBox 5.0.0_BETA2 and it solved my all problems. Great product is getting ready! Cant wait the latest release. more than a PERFECT software. Now you can remove top bar and/or bottom bar easily. Show what you need.
If you are having problem like me with 1366x768 I recommend you to install latest versin of VB even if it is Beta!

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.

Resources