Find the answer to your Linux question:
Results 1 to 3 of 3
Using Qemu I can mount a local folder as a drive in the guest OS, but it is read-only. Even mounting it as RW causes problems if I try and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    94

    VM Player - mounting additional drives


    Using Qemu I can mount a local folder as a drive in the guest OS, but it is read-only. Even mounting it as RW causes problems if I try and write to it. Using Virtual PC under Windows I can create a dynamic image which changes size as required.

    Is there any option in VMPlayer to either mount a local folder as RW or use a dynamicially re-sizing image? It can be difficult to guess exactly how much space I'll require on a mounted drive in the long term, so one that expands as required would be very helpful.

  2. #2
    Just Joined! r1cs's Avatar
    Join Date
    Mar 2007
    Location
    Russia
    Posts
    9
    Quote Originally Posted by khinch
    Is there any option in VMPlayer to either mount a local folder as RW or use a dynamicially re-sizing image?
    "VMPlayer" - means VMware Player, right? Try to mount your image as FAT32 partition like this:

    Code:
    mount -t vfat -o rw,loop,offset=32256 hda.img /mnt/myvm/
    Unfortunately, I don't know, it works with a dynamic image or not. But with static image it works perfectly.

    P.S. Remember - the dynamic image works much more slowly than a static image. If you want to accelerate the virtual machine, use the static image

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Posts
    94
    "VMPlayer" - means VMware Player, right?
    Yes, sorry.

    Remember - the dynamic image works much more slowly than a static image.
    I didn't know that, thanks.


    Code:

    mount -t vfat -o rw,loop,offset=32256 hda.img /mnt/myvm/

    Unfortunately, I don't know, it works with a dynamic image or not. But with static image it works perfectly.
    Thanks for the information. When I know the answer I'll let you know

  4. $spacer_open
    $spacer_close

Posting Permissions

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