Results 1 to 9 of 9

Thread: XP in Virtual Machine, file sharing

  1. #1
    Join Date
    Aug 2008
    Beans
    22

    XP in Virtual Machine, file sharing

    Hello! sorry if this has already been answered but i am searching the forums for about an hour and have not found anything

    I installed today Virtual Machine and windows XP. How can i share files and folders with it?

    it has a feature to add hardware, i try to add for example IDE hard drive and select sdb and sdb1 but it does not accept it, when i restart it, it doesnot boot..
    Last edited by berdux; May 19th, 2009 at 11:43 AM.

  2. #2
    Join Date
    Dec 2007
    Location
    UK
    Beans
    1,351
    Distro
    Ubuntu Gnome

    Re: XP in Virtual Machine, file sharing

    Is this Virtual Machine (VMWare) or Virtual Box (Sun)?
    Registered Linux user #475388
    Using Various flavours of Linux: Ubuntu 10.04, Linux Mint 6, Mandriva, OpenSuse.

  3. #3
    Join Date
    Sep 2008
    Location
    Sweden
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Thumbs up Re: XP in Virtual Machine, file sharing

    Quote Originally Posted by berdux View Post
    Hello! sorry if this has already been answered but i am searching the forums for about an hour and have not found anything

    I installed today Virtual Machine and windows XP. How can i share files and folders with it?

    it has a feature to add hardware, i try to add for example IDE hard drive and select sdb and sdb1 but it does not accept it, when i restart it, it doesnot boot..
    Code:
    VBoxManage sharedfolder add virtualmachinename -name "sharename" -hostpath "/home/username/foldertoshare"
    where
    virtualmachinename is the name virtual machine you created.
    username is your ubuntu home directory name. It's usually /home/your user name.
    foldertoshare is the name of the folder you want to share.

    On the Windows command line, use the following:
    Code:
    net use x: \\vboxsvr\sharename
    Replace "x:" with the drive letter that you want to use for the share, and sharename with the share name specified with VBoxManage.

    BTW, you could look in Help -> Contents (F1) in VirtualBox.
    It is explained there in details.

    EDIT:
    My apologies:
    I misunderstood, I thought it was VirtualBox.
    END OF EDIT


    Egi_Power
    Last edited by Egi_Power; May 19th, 2009 at 12:01 PM.

  4. #4
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XP in Virtual Machine, file sharing

    Create a share on the host operating system and the guest will be able to access it as long as it has network access (which should happen by default).
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

  5. #5
    Join Date
    Aug 2008
    Beans
    22

    Re: XP in Virtual Machine, file sharing

    It is Virtual Machine (VMWare), it is installed on my 1st PC (Ubuntu1)

    Ubuntu1 is able to see my shared drives from my 2nd pc (Ubuntu2).
    The 2nd pc (Ubuntu2) is able to see the 1st's drives

    the virtual machine cannot see anything from my network.

    i made the drive shared inside the virtual machine but Ubuntu1+2 cannot see that.

    virtual machine has internet.

    Ubuntu1 cannot ping the ip of virtual machine (10.0.2.15)
    Virtual Machine cannot ping anything except the default gateway (10.0.2.2) (not either any internet server like google.com, though it resolves the hostname)

    so i'm stuck here...


    (my network has IPs: 192.168.2.x)
    Last edited by berdux; May 19th, 2009 at 02:41 PM.

  6. #6
    Join Date
    Aug 2008
    Beans
    22

    Re: XP in Virtual Machine, file sharing

    still haven't found anything...

    for now i can throw files inside the virtual machine throuhg the dvd drive (i make an iso file and load it on the virtual machine)

  7. #7
    Join Date
    Aug 2008
    Beans
    22

    Re: XP in Virtual Machine, file sharing

    i swiched to virtual box and everything worked fine

  8. #8
    Join Date
    Dec 2007
    Location
    UK
    Beans
    1,351
    Distro
    Ubuntu Gnome

    Re: XP in Virtual Machine, file sharing

    I have always found VirtualBox to be very good for virtualization. I tend to use it for trying out other OSes & it is free.
    Registered Linux user #475388
    Using Various flavours of Linux: Ubuntu 10.04, Linux Mint 6, Mandriva, OpenSuse.

  9. #9
    Join Date
    Feb 2007
    Location
    Hilversum, NL
    Beans
    595
    Distro
    Ubuntu

    Re: XP in Virtual Machine, file sharing

    In VMWARE, I always use a shared folder on the windows xp virtual machine. Ubuntu can access that (but only while the VM is on).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •