Create a virtual machine using the ubuntu (host of W7) partition

I am running Windows 7 and 8 of VMware Workstation.

The disc is actually a raid-0. There are 3 partitions: (Dual-boot)

-Ubuntu (64-bit)

-System reserved Windows

-Windows (64-bit)

I am trying to create a virtual machine under W7 using the Ubuntu partition.

I tried 2 things for step 'select a physical drive:

-Use individual partitions. The problem is at the end, when you click Finish. I get the error: "one of the provided parameters is not valid."

-Disc use whole. The virtual machine is created, but when I turned on, I get the error:

"Could not open the disk ' C:\. [..] \Ubuntu 64 - bit.vmdk' or one of the snapshot disks it depends on.

Reason: the physical disk is already in use. »

Thank you in advance for answering,

Kind regards.

In my tests I couldn't use a host physical diskwith a Windows 7 without setting the disc 'offline '.
But then you can set the diskette from Windows Startup 'offline '.

Using Linux or 2003, you don't have this problem.

Tags: VMware

Similar Questions

  • How to install an operating system on a virtual machine using the ISO file?

    Hello

    I use vmware workstation version 6. I have different kinds of opersting systems likeFedora, Ubuntu, Windows xp CD to install on my virtual machines using the CD-ROM drive.  . I want to know is possible to install a virtual machine via an ISO file?

    Thank you

    mypass

    Yes

    Click on "Menu" > "new" > "virtual machine".

    Click on "Customize."

    Select "next".

    Select "install-disk (iso)".

    Click 'Browse '.

    the rest is explained

    _________________________

    VMX-settings- WS FAQ -[MOAcd | http://sanbarrow.com/moa241.html]- VMDK-manual

  • Create a virtual machine with the physical RAM total?

    I want to virtualize ESXi 4 on my MacBook Pro. However, I have 2 GB of RAM and ESXi 4 requires a minimum of 2 GB.

    I posted in the community of ESXi (is it possible to virtualize ESXi 4 with less than 2 GB of RAM?) and there is a solution for using ESXi with less RAM, but the problem is that I first need to run the installation with 2 GB.

    Basically, I tried to create a virtual machine with 2 GB, but the maximum I can use is 1840MB. Is it something that I do with Fusion to increase this limit? I understand that I am under a host operating system and requiring too little RAM, but just to get through the ESXi installation isn't it possible to push the VM of RAM to 2 GB and the host what OS increase the pagefile to deal with the lack of RAM?

    Any help would be appreciated!

    Thank you

    You may be able to edit the .vmx file and change the memsize option either 2048 or more. The merger is able to start a virtual machine with more memory that the host, just UI prevents common users to exceed the limits of security in general.

    I'm not quite sure what would happen if the VM actually tries to use all of the memory. If all goes well, it will be just talk and run slowly. Of course, the worst case are that it crashes.

  • Create new virtual machine of the model that have two hard drives in the different data store

    We do VM deploy automation with PowerCLI.

    There is already a model created with at least two hard drives to one side and each hard drive belong to difference datastore,

    In the model's operating system is Windows server 2008 R2 already installed VMware Tools and other software in the second (other than C: driver) driver

    We can successfully deploy a new virtual machine with this manually with vSphere client model.

    But when we try to make the deployment with PowerCLI, can not find examples of similar scripts in the document of reference,

    and we also google this question, still no similar question was found.

    Is this possible with PowerCLI? If it's possible could you give me some advice or an example of script, thank you!

    Best regards.

    I already found the solution.

    With the vSphere SDK .NET API, we can create the new virtual machine to the model

    Mainly used API listed below, sorry because I can not give the source code here.

    • VMware.Vim.VirtualMachineCloneSpec
    • VMware.Vim.VirtualMachineRelocateSpec
    • VMware.Vim.ManagedObjectReference
    • VMware.Vim.VirtualMachineRelocateSpecDiskLocator
    • VMware.Vim.ManagedObjectReference
    • CloneVM_Task

    For reference, you can take a look at this post and this post

    LucD , thanks for your help!

  • Can I just create a virtual machine with the installation of operating system and Application in an external drive?

    People,

    Hello. I use VMPlayer to install virtual machines a few OS in my laptop.

    Because my laptop's hard drive space is not enough to create a VM more to install Oracle Linux and its Application, can I just create a virtual machine in my laptop and then install Oracle Linux and its Application in an external USB disk?

    You can create and save the Virtual Machine in any place that you have read & write access to and enough space to support what is being installed.

  • Create several virtual machines from the same base image

    Hi all

    Is there any vi api sdk by which I can create several virtual machines form same base vmdk file?

    All create the VM from the base VMDK file will have their own delta vmdk file that will refer to the same base VMDK file. Only changes that are performed on each virtual machine are saved on their respective delta vmdk files.

    Thanks in advance...

    Hello

    What you are referring is called Clones related, in the current VI API, there is no method that supports this feature. You can take a look at CloneVM_Task() http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.VirtualMachine.html#clone if you want to implement a full clone and this will require you to have access to vCenter.

    In the next version of vSphere, vSphere SDK THAT will provide a way to implement the related Clones and it will be a parameter you can specify CloneVM_Task() , more precisely in the VirtualMachineRelocateSpec where you will specify diskMoveType to createNewChildDiskBacking

    You can find more information once vSphere of GA and the new QAnywhere VI documents are released, but if you are looking to implement related Clones today, you can take a look at the product of VMware View 3, which provides support for linked Clones or you can take a look at two scripts that I wrote which creates linked Clones similar to that of the view :

    Clones related to ESX

    CLones related to ESXi

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    http://Twitter.com/lamw

    If you find this information useful, please give points to "correct" or "useful".

  • create a virtual machine using createVM_Task

    Hello

    I extracted the configuration information of the VM (VirtualMachineConfigInfo []) and the use of I want to create a virtual machine (essentially wants to fill [VirtualMachineConfigSpec]).

    For the property '[of] deviceChange.device"in VirtualMachineConfigSpec, can I directly copy the information from the device of ' harware.device [of] ' VirtualMachineConfigInfo property. Will this work?

    I have two more questions:

    1 cant explain peripheral information by default (like PS2Controller/SIO controller, etc.) in VirtualMachineConfigSpec when calling CreateVM_Task()?

    2. is it compulsory for negative values(-ve) values for controller/key relationships?

    Thank you

    -Rambeau

    > For the property '[of] deviceChange.device"in VirtualMachineConfigSpec, can I directly copy the information from the device of ' harware.device [of] ' VirtualMachineConfigInfo property. Will this work?

    Lol it can be copied directly to "deviceChange.device" in VirtualMachineConfigSpec. Also, there could be other problems as well, like the support information will be common to both machines. So, at a time, you will be able to use only 1 VM. It will be not as trivial this may seem.

    > 1. Cant explain peripheral information by default (like PS2Controller/SIO controller, etc.) in VirtualMachineConfigSpec when calling CreateVM_Task()?

    Yes, you can specify default devices information (like PS2Controller/SIO controller, etc.) in VirtualMachineConfigSpec. The 'deviceChange.device' is a data object "VirtualDevice. This data object is extended by the class 'VirtualController '. It's even wider by the following classes:

    'VirtualIDEController', 'VirtualPCIController', 'VirtualPS2Controller', 'VirtualSCSIController', 'VirtualSIOController', 'VirtualUSBController '.

    You can implement the foregoing classes, assign it to the 'deviceChange.device' of VirtualMachineConfigSpec property and pass it to the CreateVM_Task.

    > 2. Is it mandatory to get negative values(-ve) values for controller/key relationships?

    It is not mandatory to give negative values for the controller and the key. By assigning a negative value, the server assigns self-produced nonnegative unique key for the device. This excludes the possibility to assign a duplicate key, which can cause an error.



    Hope that answers your questions.

  • Prevent the player from virtual machine using the VPN to the host machine

    Hello

    One of the reasons that I have installed VM Player with the app "Browser Appliance", was for navigation, I made within this virtual machine would be independent of VPN to my host computer.

    Steps: on the host machine, connect to the Cisco VPN 5000

    On the Virtual Machine try to access a url that wouldn't be avaialable so connected by VPN

    Expected: I am NOT able to access the private URL. If the virtual machine is hacked, the hacker will have access to a URL of the company.

    Note: I use device browser 1.0 with Ubuntu linux. the adapter network mode is NAT.

    Thank you for all the advice

    I assumed that any network (wifi or ethernet) usb-based adapter should allows you to have an isolated inside the guest network.

    Joakim

  • Someone at - it a simple example of creating virtual machine-> the affinities of virtual machine using the PERL API?

    The question just about everything said. Is there a perl extracts to create an affinity between the virtual machines.

    Thanks, Vikas, for example and guidance. Since I am abel to make it work, I thought I'd share the code example:

    My $vm_name_list;    # A list of names of virtual machine.

    My @vm_morefs;      # Filled in the managed object refes to the virtual machines, this detail not included.

    My $cluster_name;    # Name of the cluster to create the rule in

    # Find the Cluster Compute resource object.

    My $cluster_views = Vim::find_entity_views (view_type-online 'ClusterComputeResource',
    filter-online {name-online $cluster_name});
    If (! @$cluster_views) {}
    Die "no cluster don't compute resource named $cluster_name detecte\n";
    }

    My $cluster_view = $cluster_views-> [0];

    My $rule_name = 'affinity for $vm_name_list. "

    # Create the nest of objects required for ReconfigureCluster_Task:
    #
    # ClusterConfigSpec
    rulesSpec #-> [ClusterRuleSpec]
    operation #-> ArrayUpdateInformation
    # enum (add, modify, delete)
    Info #-> ClusterAffinityRuleSpec

    My $aff_rule_spec = new ClusterAffinityRuleSpec (name => $rule_name,)
    enabled-online "TRUE."
    mandatory-online "TRUE."
    VM-online \@vm_morefs);

    My $array_update_operation = new ArrayUpdateOperation ("add");

    My $clus_rule_spec = new ClusterRuleSpec (operation => $array_update_operation, info-online $aff_rule_spec).

    My @clus_rule_specs;
    Push (@clus_rule_specs, $clus_rule_spec);

    My $cluster_config_spec = new ClusterConfigSpec (rulesSpec-online \@clus_rule_specs);
    $cluster_view-> ReconfigureCluster_Task (spec => $cluster_config_spec,)

    change-online 'TRUE'));

  • How to add a new virtual machine to the ESX host using the existing files?

    I need to implement a function clone without the use of cloneVM_task. I copied (a special copy) a set existing VM Directory Active Directory to a new directory and renamed copied all files prefix name of the new direcotry.  What task VM (reconfigVM_task, createVM_task or registerVM_task) command can I use to add that the new copied VM on the ESX host? I need to manually update the .vmx for new UUID file and other parameters?

    Thanks for any help.

    I think that as long as you have updated all the names to reflect the new clone you must be fine and on the first step, you will be prompted with a question.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    http://Twitter.com/lamw

  • Restrict 2 virtual machines on the same host at any time.

    Hi all

    I am implemented in virtual machines as an HA pair and would limit the virtual machines to be on the same ESX host, someone did that? or can someone point me in the right direction?

    Thank you

    Amar

    Hi Amar,

    You will need to create a VM host affinity rule but this DRS must be activated, see page basic guide System Admin. 72 of link http://www.vmware.com/pdf/vsphere4/r41/vsp_41_resource_mgmt.pdf

    If you have found this or other useful information, please consider awarding points to 'Correct' or 'useful '.

    F10

    VCP3, VCP4, HP UX CSA

    http://KB.VMware.com/

  • Number max of virtual machines using vGPU by host

    What is the maximum number of virtual machines per host that can use a vGPU? Unfortunately the "Maximum of Configuration" doc for vSphere does not include this piece of information.

    -> I understand that this also depends on the number of NETWORK adapters you can fit into a server. So I'm just interested to understand if there is no limitation of vSphere.

    Thank you!

    The maximum number of vGPU VMs depends largely on the server platform and the number of physical GPU.  Many servers are supported GPU two PCIe x 16. vSphere 6.0 supports maximum 16 physical GPU (e.g. Four GRID K1) but not many servers support this configuration now... Most vGPU VMs we tested on a single system is 96 through three GRID K1 GPU physics with profile K120Q.

  • Create a virtual machine using an existing backup [EXSi 5.0.0]

    Hello

    I've looked everywhere to find a thread that explains me to reach higher. Our ESXi is currently a backup copy using ghettoVCB and store it on an external NAS. I know that I can simply restore a backup virtual computer by using the same script, because it supports.

    But what I want to achieve is to create a separate entrance to the virtual machine by using an existing backup. I'm pretty there is a way, but I now know how to because I'm fairly new to ESXi and learn things slowly.

    All advise you will be highly appreciated and thank you in advance.

    Hello

    I finally managed to do that. I should tried before posting this discussion, but somehow he's ready now. Back to ESXi users who are finding similar questions or have a confusion on how to achieve this, you can see below the process and this;

    1. Before you copy, make sure that you have appropriate files related to the virtual machine (there should be a .vmx, hard & sometimes flat hard-000)
    2. Copy the folder to the location of data store where is your VM (generally, it will be under/vmfs/volumes/yourdatastore) using ssh and WinSCP (a tool to connect in ftp/sftp/scp).
    3. Once copied into the data store, go to the data store by visiting configuration > store > select the data store & access your virtual machine directory, then simply add the .vmx file to the inventory by clicking on the right (Note: do this when you are connected to the ESXi using vCenter IP which is the recommended way to do).

    I hope this helps!

  • Who is looking at my virtual machine using the VSphere Console at the same time?

    People,

    I would like to know if it is possible to know what VI Client / vSphere console user currently displays the Vmware console at the same time for a particular virtual machine I'm working on?
    Because right now, someone else is my VM console access and may have forgotten to close the VI Client and now I'm stuck.

    This is the error that I got when I try to connect to the console. Internal error MKS due to the 'RemoteDisplay.maxConnections with a value of 1"is in force.

    Thank you

    Hello, AlbertWT-

    Well, it seems that there is another way.  You can get the number of current connections of MKS (mouse keyboard screen) for the given virtual machine and uses this value to your Select statement.  Which must correspond with the users with current MKS connections to this virtual machine.

    So, what to put with what hosted proposed and you changed, it would be like:
    $strVMName = "myVM"## get VM; will use an ExtensionData value from this later$vm = Get-VM -Name $strVMName## get the events that are for console connects, sort, and then select the first X items, based on the number of current MKS connectionsGet-VIEvent $vm | ? {$_.FullFormattedMessage -like "Remote console Connected*"} | Sort CreatedTime -Descending | Select UserName, CreatedTime -First $vm.ExtensionData.Summary.Runtime.NumMksConnections | ft -AutoSize
    
    And, a variation on the last line, the one who checks the type of the VIEvent (vs do a string comparison):
    ## same, but check the event type instead of a string compare on the FullFormattedMessage (just to not rely on string compares)Get-VIEvent $vm | ? {$_ -is [VMware.Vim.VmRemoteConsoleConnectedEvent]} | Sort CreatedTime -Descending | Select UserName, CreatedTime -First $vm.ExtensionData.Summary.Runtime.NumMksConnections | ft -AutoSize
    

    The two should work, but the second version removes the dependency on the string comparison.  For example, if the FullFormattedMessage changes in the future implementations of vSphere, things should still work (However, this would be still vulnerable to break if VMware changed the name of the type of the event).  A bit of a preference thing.

    How does do for you?

    Note: by sorting on Createduserid, this process assumes that the current console connections have been made in the order.  In other words, if someone has been connected to the console of the virtual machine since yesterday and connect / disconnect / reconnect, _you_ will be the last two events Connect.

  • Upgrade VCSA to 6.0 "error has occurred in retrieving the names of virtual machine from the esx host"

    Get this error when trying to upgrade from 5.5 to 6.0 VCSA. Any ideas on this one? It comes right after that I entered the user/pass/fqdn name for my virtual center device.

    Step 1 relax step 2 use the hostname for your ESXi host target not the virtual center server.

Maybe you are looking for

  • I'm having problems trying to use the

    IM Tony, I have an iPhone 6 more and since the update, I tried to use the animated messages but seems that theres also problem with the power button. The arrow leaves no other icons appear.

  • How can I enter my Office Mozilla with a password?

    I use Mozilla my access to the internet portal. Since I have some personal "bookmarks" can I use a password to enter Mozilla from my desktop, but I don't know how to do it. I use Google as my home page. Thank you.

  • Cisco 1841 match filter by string http requests

    I have a web server behind a Cisco 1841 router that receives a lot of requests like follows(DDOS Slowloris), which causes the resource consumption of bandwidth and the server: "POST/WP - login.php HTTP1.1". On the web server, I managed using Iptables

  • change the password on the drives mapped without munmap

    Is there a way to * easially * change the passowrd of drive mapped in W7 * WITHOUT * remap, then remapping? I can't copy and past current mapped drive name and my TI group did a great job of making the server names, so try loooooooong that it is impo

  • Type of failover and the difference

    Hello I would like to know what are the different type of failover in PIX 515E with 6,3 OS. I want all the details of it. I am aware of LAN-based failover and failover with cable to failover. Why the failover cable is use and it is important. can any