CD Rom and USB on virtual machine

Hi all
how to access CD ROM and USB device on virtual machines ..which are physically connected on oracle vm server.

on a separate host or even the OVS host you could dd the device into a separate image file, scp it to the guest then mount it as a loop back
e.g Host:
umount /cdrom (but don't eject it) - prevents i/o from hitting the cd while copying it
dd if=/dev/cdrom of=some-cdrom.img
scp some-cdrom.img user@guest:/some_dir
on the guest
mkdir /something
mount -o loop,ro /some_dir/some-cdrom.iso /mnt/disk
hope this helps

Similar Messages

  • Is there any report in SCCM 2012 to list out all the physcial machine and all the virtual machine?

    Is there any report in SCCM 2012 to list out all the physcial machine and all the
    virtual machine?
    and list all VMs for each physical server.

    Hi,
    there is no such builtin report but you can easily crete one as all information is in the database.
    http://www.scconfigmgr.com/2014/01/24/create-custom-reports-for-configmgr-2012-with-report-builder/
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Can the boot camp partition be resized once windows is installed and running as virtual machine using vm fusion ware?

    I have macbook air partitioned 505/50 and running OSX and win 7 side by side as virtual machines using vm fusion.  Can the partition size be changed without starting over?

    Very helpful.  I started with vm ware to create a pseudo drive but could not import win 7 over home network.  mac has no immediate way to connect to network without adapter, and has no cdrom.  So i used boot camp to create partition, then made a bootable win7 iso file on a memory stick using win 7 usb/cdrom download tool from microsoft, and rEFIT to get mac to boot from the mem stick into the dos partition.  Then i ran vm fusion to import the win 7 partition as a virtual machine.  OSx and win 7 run side by side.
    Seems from what you say that sizing cannot be accomplished without deleting partition and starting over.  If I start over and just run vm fusion to create he win7 virtual machine, not sure how I would bet the minimum win 7 os into the ac.  Perhaps vm will boot from the mem stick using refit.  Do you know?

  • Using one copy of Windows to install via boot camp and on a virtual machine?

    I have a copy on windows 7 coming in the post and I was wondering if it is possible to install windows 7 via boot camp when I want to do something more memory intensive such as gaming and also install it on a virtual machine such as virtual box just for other regular stuff. Also would this be possible using one copy of windows and one licence key?

    Then you need Parallels or Fusion to link to a native Windows partition.
    Comparison of VMware Fusion Parallels VirtualBox

  • Browsing for a file and selecting a Virtual Machine on hyper-v

    Hi everyone, sorry if the title is a bit problematic.
    New to Powershell here, I'm trying to create a script that will let me Browse for a .vhd file, and then let me select a Virtual Machine to attach it to using SCSI attachment.
    So far I managed to attach and detach the VHD files using add-vmharddiskdrive, but using read-host I have to manually enter the address of the .vhd file every time, as well as using read-host to input the VM name.
    Is there any way to browse for the file, select it, and then run the add-vmharddiskdrive command?
    So far the script I have is this:
    $VHDLocation = Read-Host Enter VHD Location
    $VMName = Read-Host Enter VM Name
    Add-VMHardDiskDrive -VMName $VMName -Path $VHDLocation -ControllerType SCSI
    Basically I want to shorten the time it takes to manually type the vhd location and the VM name. Any way to do that?
    Sorry for long post, thanks everyone in advance, have a nice day :)

    I couldn't get the Select-fromgridview to work sadly, but after snooping around on several different forums I managed to copy-paste some codes and after some work and trial and error I got the script to work perfectly, except for one problem. When the box
    pops up to let met select a VM, it pops in the background, as in, behind the ISE itself. So I have to alt tab to see it. Is there any way to make it pop to the front?
    I'd go through the script myself but like I said I'm very new to this and honestly most of this could be Chinese for all I know.
    Again thanks in advance!
    set-executionpolicy unrestricted
    ############## The script for browsing #############
    Function Get-FileName($initialDirectory)
     [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") |
     Out-Null
     $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
     $OpenFileDialog.initialDirectory = $initialDirectory
     $OpenFileDialog.filter = "All files (*.*)| *.*"
     $OpenFileDialog.ShowDialog() | Out-Null
     $OpenFileDialog.filename
    } #end function Get-FileName
    ############## Sets the VHD location parameter to the selected file from above, and input VM Name  #############
    $VHDLocation = Get-FileName -initialDirectory "c:\fso"
    ############## Select a VM ######
    [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
    [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing") 
    $objForm = New-Object System.Windows.Forms.Form 
    $objForm.Text = "Select a Computer"
    $objForm.Size = New-Object System.Drawing.Size(300,200) 
    $objForm.StartPosition = "CenterScreen"
    # Got rid of the block of code related to KeyPreview and KeyDown events.
    $OKButton = New-Object System.Windows.Forms.Button
    $OKButton.Location = New-Object System.Drawing.Size(75,120)
    $OKButton.Size = New-Object System.Drawing.Size(75,23)
    $OKButton.Text = "OK"
    # Got rid of the Click event for the OK button, and instead just assigned its DialogResult property to OK.
    $OKButton.DialogResult = [System.Windows.Forms.DialogResult]::OK
    $objForm.Controls.Add($OKButton)
    # Setting the form's AcceptButton property causes it to automatically intercept the Enter keystroke and
    # treat it as clicking the OK button (without having to write your own KeyDown events).
    $objForm.AcceptButton = $OKButton
    $CancelButton = New-Object System.Windows.Forms.Button
    $CancelButton.Location = New-Object System.Drawing.Size(150,120)
    $CancelButton.Size = New-Object System.Drawing.Size(75,23)
    $CancelButton.Text = "Cancel"
    # Got rid of the Click event for the Cancel button, and instead just assigned its DialogResult property to Cancel.
    $CancelButton.DialogResult = [System.Windows.Forms.DialogResult]::Cancel
    $objForm.Controls.Add($CancelButton)
    # Setting the form's CancelButton property causes it to automatically intercept the Escape keystroke and
    # treat it as clicking the OK button (without having to write your own KeyDown events).
    $objForm.CancelButton = $CancelButton
    $objLabel = New-Object System.Windows.Forms.Label
    $objLabel.Location = New-Object System.Drawing.Size(10,20) 
    $objLabel.Size = New-Object System.Drawing.Size(280,20) 
    $objLabel.Text = "Please select a computer:"
    $objForm.Controls.Add($objLabel) 
    $objListBox = New-Object System.Windows.Forms.ListBox 
    $objListBox.Location = New-Object System.Drawing.Size(10,40) 
    $objListBox.Size = New-Object System.Drawing.Size(260,20) 
    $objListBox.Height = 80
    Get-VM | Format-List name | Out-File -filepath c:\VMNames.txt
    ${C:\VMNames.txt} = ${C:\VMNames.txt} | select -skip 2
    function Remove-Topline ( [string[]]$path, [int]$skip=2 ) {
      if ( -not (Test-Path $path -PathType Leaf) ) {
        throw "invalid filename"
      ls $path |
        % { iex "`${$($_.fullname)} = `${$($_.fullname)} | select -skip $skip" }
    (Get-Content C:\VMNames.txt) | 
    Foreach-Object {$_ -replace "Name :", ""} | 
    Set-Content C:\VMNames.txt
    Get-Content C:\VMNames.txt | ForEach-Object {[void] $objListBox.Items.Add($_)}
    $objForm.Controls.Add($objListBox) 
    $objForm.Topmost = $True
    # Now, instead of having events in the form assign a value to a variable outside of their scope, the code that calls the dialog
    # instead checks to see if the user pressed OK and selected something from the box, then grabs that value.
    $result = $objForm.ShowDialog()
    if ($result -eq [System.Windows.Forms.DialogResult]::OK -and $objListBox.SelectedIndex -ge 0)
        $selection = $objListBox.SelectedItem
        $selection
        # Do something with $selection
    $VMName = $selection.Trim()
    ############## Dismounts the VHD if it's mounted on host, and then mounts it on VHD #############
    Dismount-VHD $VHDLocation
    Add-VMHardDiskDrive -VMName $VMName -Path $VHDLocation -ControllerType SCSI
    ############## Detaches the VHD from VM and returns it to the host #############
    Add-Type -AssemblyName Microsoft.VisualBasic
    [Microsoft.VisualBasic.Interaction]::MsgBox('Press Ok when you are ready to detach the VHD', 'MsgBoxSetForeground,Information', 'Confirm')
    Remove-VMHardDiskDrive -VMName $VMname -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 0
    Mount-VHD $VHDLocation 

  • Saving files and future Java Virtual Machine updates questions

    So I've made A program that keeps a list of Ingredients and Recipes for my dads small business. This program is currently on 3 computers my dads, the secretaries, and mine. I made it so it saved and loaded from a shared folder in the network where all the computers has access. The secretary and my dads computer saved and loaded the program fine with changes from one to the other, but mine wouldn't. If I save what information I put on my computer the other computers could no longer load the save file. If i saved something on the secretary or dads computer then my computer would not be able to load the file.
    well i solved this problem by re downloading Java virtual machine on my computer.
    this brings me to my question:
    Will future virtual machine updates make it so the program can't read old .dat files (I've been using ObjectInputStreams and ObjectOutputStreams to save and load)
    Sorry for the long story before the question I just wanted to state how I came to the question.

    Yes, absolutely. That is one of the problems with using serialization to save data. Fortunately the serialization tutorial mentions it and explains some strategies for minimizing the problem. So have a look at that tutorial.

  • Excel PowerPivot and Slicer with virtual machine?

    If you install virtual machine with Windows 7, can you install the full  version of Excel and utilize PowerPivot and Slicer tools?

    Ok, I've gone back to checking the "user browser default" settings for the proxy address and port, and it now brings up the NTLM authentication windows asking for my credentials. When I put these in, the applets load perfectly in the browser.
    At this point I'd have to assume it is an authentication issue with Java VM 1.4.2 not being able to supply ISA's web proxy with the user's credentials?
    I am going to try adding basic authentication to the proxy server as a fallback to the integrated authentication and see if this helps, I'll keep you posted....

  • Cant create replica and Hyper V virtual machine management service slow shutting down

    Hi,
    I cant create replica and Hyper V, I go through the process and all looks good it even starts to create the hard disk but it stops at 4096K and the wizard just keeps going.
    The management console is also slow or wont load virtual machines - stuck on loading virtual machines
    The Hyper V virtual machine management service slow shutting down over 30 minutes on re boot of Hyper V core 2012 R2
    Any ideas ?

    Hi Sir,
    I assume that you have a standalone hyper-v server 2012R2 and you are using hyper-v manager to manage the hyper-v host .
    Which system you are using to manage hyper-v host , win8 or win8.1 or other ?
    Have you created VMs on the HOST ?
    I would suggest  you to create vhd or someother operation on hyper-v host directly  to check the result .
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • ASAP: Serial Versioning and the Microsoft Virtual Machine

    Hi,
    I'm writing an applet and a server that communicate via sockets using Java's serialization interface. The whole thing works fine unless I use IE (which uses Microsofts virtual machine). In the case I get an InvalidClassException with respect to my serialVersionUID. The error says that there is a versioning problem between a class calles "LHands;" which I'm guessing corresponds to my class called "Hands.class", however hardcoding the version ID in "Hands.class" doesn't fix it. My guess is that the applet is serializing the data using the MVM and the server is using Sun VM and is causing the versioning problem. Has anybody encountered anything like this before? I'm stumped, I've already lost three days on this.
    Thanks in advanced,
    Paul

    in case anyones interested I figured it out. Do not try to serialize an array of objects if your in the the situation I described above. Its a lot of headache. Use Vectors instead

  • What is the best external hard drive for macbook pro I think I want firewire for storage and usb for time machine

    I have a macbk pro. I think a usb external drive would be fine for time machine but I'd like a fire wire external drive to store files.
    Any recommendations on brand? The last recommendations were dated 2006/7
    I have been waiting for a 1TB  g-drive. Apparently they are special order. I did not think I needed anything larger than 1 TB to backup the 500GB internal drive.
    I thought I'd get something bigger for storage. From what I have read I think its best not to partition the drive for backup and storage.
    Also I'd like to have a bootable copy of my internal hard drive is that possible?

    Don't know about the Best... But I have been using these without any issues...
    LaCie quadra D2  for Manual Backup and Clone Backup
    LaCie Rikki for USB Time Machine
    For Bootable Backups See
    SuperDuper  http://www.shirt-pocket.com/
    CCC   http://www.bombich.com/

  • VDI 3.1.1 and 7410 - Exporting Virtual machines

    Has anyone got this to work?
    When I try this I notice that VirtualBox says the LUN is invalid with an error VERR_OUT_OF_RANGE

    It doesn't work, fix might be in 3.2. There's a method (worked in 3.0, probably works in 3.1 as well) to manually export machines if you need to.

  • SAP client and other software on a Virtual Machine

    I'm the campus coordinator for a university that is a member of the University Alliances program.  This gives us the ability to put the R/3 client and other software on lab machines and also distribute it to students.
    Given that we deploy in a shared lab environment on a university campus we often don't have absolute control over things like browser versions, plugins available, security settings, Java version available, and so on.  We also only have the ability to do updates, installations, etc. at fixed times of the year.
    As a solution for this, we're contemplating creating a virtual machine to be able to control the environment more and also allow the student greater control and customization.  At this point we'd be looking at developing a Windows VM, either Vista or XP, that would have the R/3 client, IE with all the correct plugins for running Visual Composer, NetWeaver Developer Studio, and other programs such as Solution Composer.  The idea would be that if we need to add a new software resource, change a version, tweak the environment, etc. we could just update and redistribute this virtual machine.
    Has anyone here attempted this type of deployment?  As we are just beginning, any helpful hints or advice would be appreciated.

    I appreciate your willingness to think through this with me and share your expertise.
    >
    Markus Doehr wrote:
    > Why do you think so? The "key" you use during installation is bound to a medium. We also have a license that allows us to fully automatically install Windows XP on our client PCs using Empirum and also install all other necessary software (IE updates, SAPGUI, Adobe SVG, Microsoft Office etc.)
    My assumption was that if we had multiple windows instances out there all with the same key (assuming non-volume key) that the piracy protection built into the OS might in some way cause problems. 
    > (Perhaps not.  We're still considering the ins and outs of that.)  We're hesitant to put our campus volume license key on these VMs, since one could recover that key from the system and then it could become publicly available.  Clearly that would be bad.
    >
    > That may be not a problem because those keys "usually" work only with the corresponding media - people would need to get their hands on a coorporate installation media to actually use it.
    I'm not sure how challenging that in fact might be.  A quick Google search turned up lots of sites that at least claim to have Windows volume keys and necessary install media.  I know that college students can be very adept at things in that domain.
    > The biggest problem you might face is the UUID of the client instances - they will be identical. If you plan to use Active Directory functionality (for e. g. Single Sign On) then you need to make sure each VM is different (speaking of running sysprep) and that you have a different user on each VM - which will be not easy to mantain.
    If I'm understanding your thought correctly, the UUID issue is why I thought attempting 1 shared OS license key for all VMs would be problematic.  My assumption is that having a unique OS key on each VM would solve this problem. 
    As far Active Directory goes, that likely won't be an issue. Our students have storage on the campus network, but we have no plans for the VM to access that.  All our SAP resources are hosted remotely at a UCC.  I envision the students being able to 'boot' their VM, connect to the UCC using the client software, do their SAP work, and be done.  The only storage they'd have in the VM would be a drive in the VM.  While this might not work in many deployments, given our use of this just for lab instruction, I think it would work well.
    > Another point to consider is: How to update? If you update your main image (e. g. necessary SAPGUI patches) - how will you distribute that to the USB-VMs - or how will you make sure the students use the latest copy?
    This is where our situation and a corporate situation likely differs.  Since we are hosted by a UCC that caters just to the academic environment things tend to be build and frozen during the summer and then not changed until the next year.  Our classes run each semester independently.  Although we may have to roll out a different VM from one semester to the next, a mid-semester change shouldn't be needed.  However, having said that, if we do need to install a patch, that should be much easier.  In a lab shared environment updating a software version requires a lot of coordination.  In this VM situation, each students has full administrator privilege over their VM.  If they need to install a patch, they can do so.  If they mess this up, they haven't disrupted anyone else.  In that instance they could just download the base VM again as a 'reset.'
    > In such an environment I'd more think about setting up a terminal server (using Windows 2003) and install all necessary software there. With that you only need to update at one place, you can granularily give permissions to the users and supporting users in case of a proble is easier (mirroring the session) than having single instances with all the same hostname of the client. And all students only need an RDP client which comes with the Windows XP or Vista by default.
    That is something we haven't considered with this project, and I'll have to check with our system manager.  Resources might be an issue here.  We have an abundance of PCs, so each of them running their own VM isn't an issue.  I'm not sure if we have a server capable of supporting 30-40 simultaneous remote connections that is not otherwise in use.
    Thanks for your ideas here Markus.  Any other thoughts, ideas, etc. are most welcome.  I'll also update this thread as I start experimenting with this over the next couple of weeks.

  • How to connect USB external Harddisk to Hyper-v virtual machine

    Hi,
    We are running hyper-v server 2008 R2, we have external USB harddisk connected in hyper-v Manager, we are not able connect this USB to virtual machine.. is this option is available in hyper-v? if no is there any document from microsoft stating the same?
    Regards
    Asha

    Hi,
    Unfortunately, USB is not supported on a Hyper-V virtual machine. You can perform the following suggestions:
    1. Offline the USB hard disk on the Hyper-V host machine and connect it to the virtual machine as a pass-through disk(if the USB hard disk is support)
    For more information, you can refer to:
    Configuring Pass-through Disks in Hyper-V
    http://blogs.technet.com/b/askcore/archive/2008/10/24/configuring-pass-through-disks-in-hyper-v.aspx
    2. You can also use some USB over Ethernet application.
    Best Regards,
    Vincent Hu

  • Can I install Linux and then use the original Windows 8 OEM product key for a virtual machine on the same computer?

    I have ordered a new laptop and expect to receive it in 2-3 weeks.  The laptop comes with an OEM version of Windows 8 installed.  I wish
    to install Linux as the host operating system and create a virtual machine running Windows 8.  Can I legally use the product key from the OEM installation to activate a virtual machine that will only be used on the laptop that had the original OEM installation? 
    If so, what is the procedure to activate the copy installed on the virtual machine?
    This question has been addressed for Windows 7, but my searches did not reveal this question posed for Windows 8.

    Technically, no.  The OEM is licensed only for the physical hardware on the system.  It isn't licensed for virtual hardware.
    You may find you're unable to activate your OEM license in the VM.  A lot of OEM Windows look for specific hardware to verify they're being installed on the correct hardware.
    Although here: http://www.microsoft.com/oem/en/Pages/support-faq.aspx#fbid=Zh0SiBdas5I
    Q. Can I install OEM on a virtual machine (VMware)?
    A. You may install OEM in a virtual environment as long as you have a separate license for each instance of the software. It is fine to use the OEM version as long as it is properly licensed. To be clear, a separate version of software must be installed
    for both the “standard” and “virtual” installations.
    You still may not be able to activate if there is a hardware block.
    The best place to ask this is to Microsoft licensing, any response you get here, including mine, won't hold up since it's not an official answer.
    Q. Can I install OEM on a virtual machine (VMware)?
    A. You may install OEM in a virtual environment as long as you have a separate license for each instance of the software. It is fine to use the OEM version
    as long as it is properly licensed. To be clear, a separate version of software must be installed for both the “standard” and “virtual” installations.
    edit: removed the duplicate Q&A

  • Azure backup services and Virtual machines

    If I use the Azure backup service with the Storage server 2012 r2 and backup my virtual machines, can I then use that backup and use the virtual machine service to host them if I have a disaster to my server equipment and use it until my new hardware comes
    in? If so is this a hard thing to do and what would be the best practice to follow to implement this?

    Hi Aaron,
    The Azure Site Recovery is suitable for your situation.
    Azure Site Recovery helps you to protect important applications by coordinating the replication and recovery of physical or virtual machines. You can replicate to your own datacenter, to a hosting service provider, or even to Azure to avoid the expense and
    complexity of building and managing your own secondary location.
    For detailed information, please refer to the link below:
    http://azure.microsoft.com/en-us/services/site-recovery/
    To deploy the Azure Site Recovery, please click the link below:
    https://msdn.microsoft.com/en-us/library/azure/dn440569.aspx
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • 3 Phones on current family plan - Can i Switch a phone(#) without penatly?

    Here is the situation: My girlfriend pays for the Family Plan and has 3 phones on it (hers, her mom's, and her EX-boyfriend). I have an individual account which I am currently eligible to update my phone (which i wanted the Droid X), BUT my contract

  • WebCats - Only 4 characters of first column in search help get transferred

    Hi Henning, I hope you can help me - When I select a search help for an input field (Operation) which is a second field in search help, the system is not tranferring the selected object into the time sheet, instead it transfer first 4 characters of v

  • Urgent multiclip help

    every time I close and re-open premiere...almost every one of my multiclips seems to revert back to the slate shot. almost every clip seems to hold the same spot in which I cut but the footage is just looping and all the work has to be started over.

  • Migration with Goldengate

    Hi, We want to migrate our SAP system from Oracle 9i(Solaris) to SQL 2005(Windows). And export time with r3load is too high. Do you have any information about GoldenGate Trasactional Data Integration tool.? Muhittin Çelik

  • How to add key frames in CC

    I'm just trying out CC and can hardly get past get-go :-( I surfed for help for 45 minutes and found nothing useful. Sadly after telling people people for at least 15 years that Adobe has great products but the worst help files of probably any major