Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

VirtualBox 4.04 is out

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Open Source and Free Software Group Donate to DU
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Sat Feb-26-11 11:00 AM
Original message
VirtualBox 4.04 is out
Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
Syrinx Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Feb-28-11 04:54 AM
Response to Original message
1. do you know how to share files between host and guest
It's not something I need to be able to do. I was just fooling around the other night and couldn't quite figure it out. But I didn't try too hard. I came across, online, an old DOS program I used a hundred years ago. dosemu ran it great, except the (PC speaker) sound effects didn't work. I was going to try to run it in VirtualBox, and see if the sfx worked under it. But I couldn't figure out how to import the file. :shrug:
Printer Friendly | Permalink | Reply | Top
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Feb-28-11 11:08 AM
Response to Reply #1
2. I've only used the free version of VB, and only with linux guests
and an osx host -- so you'll have to vary for a windows host or guest

It wasn't terribly hard last time I did this, but there was some one-time preliminary hoop-jumping. IIRC, it went somewhat as follows

First, install the Guest Additions
by clicking Devices >> Install Guest Additions
then running the appropriate program from the mounted guest additions disk

Then, add the appropriate host folder to the Shared Folders for the virtual machine:
click Settings >> Shared Folders &c&c

On the host machine, set sharing permissions for that folder, so you actually have access to it

Also add a folder to the guest machine where the shared host folder will be mounted

After going through the above one-time hoop-jumping, you still need to ensure that the host folder gets mounted when you need it. For me, something like the following worked:
http://forums.virtualbox.org/viewtopic.php?t=15868#

Unfortunately, I can't double-check the above with any of my current virtual machines for various reasons (my ubuntu 11.04 beta doesn't support guest additions, my remastersys custom disk installation doesn't support guest additions, &c&c). Some details may depend on your version of virtual box

I did something like the above for a while, about a year ago, but for most purposes I find the following alternative more convenient: just use a USB stick to transport files between the guest and host. I find a mounted USB claimed by the host can be claimed by guest if dismounted from the host and conversely. You may want to check Settings >> Ports >> USB and add the stick there; you may need to click the USB icon at the bottom of the individual virtual machine screen and be sure that the particular stick is ticked. Then I just drag my host file to the USB stick, eject the stick from the host, claim the stick in the guest, and copy the file to the guest file system. Usually I have no problem mindlessly going back and forth this way, though now and then something might bork

Here's another option I haven't tried http://www.virtualbox.org/wiki/Sharing_files_on_OSE




Printer Friendly | Permalink | Reply | Top
 
Syrinx Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Mar-01-11 03:39 AM
Response to Reply #2
3. thanks for the information
Hopefully I'll get a chance to try it out soon. Thanks especially for suggesting the mem stick. I don't know why I didn't think of that.
Printer Friendly | Permalink | Reply | Top
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-07-11 02:45 PM
Response to Reply #3
4. If mem stick trick doesn't work, here's another possible option
I tried this with osx host and ubuntu guest:

Go to the guest settings, choose Shared Folders, click the little +-folder-icon and add the host directory there. Remember the name assigned to the share (say "ShareName") Check the AutoMount box and back out

When starting the guest, I now find the share mounted under /media/ShareName. It inconveniently belongs to root. But operating as root I have access to the files

I still don't quite have the following alternative method working:

https://help.ubuntu.com/community/VirtualBox/SharedFold...
Printer Friendly | Permalink | Reply | Top
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-07-11 04:04 PM
Response to Reply #3
5. OK. This worked for me with an ubuntu guest and was very easy:
(1) Go to the guest settings, choose Shared Folders, click the little +-folder-icon and add the host directory there. Remember the name assigned to the share (say "ShareName") Check the AutoMount box and back out

(2)(a) When starting the guest, I now find the share mounted under /media/ShareName. The share inconveniently belongs to root, but it ALSO belongs to the vboxsf group.
(2)(b) So I add my name to vboxsf group: System >> Administration >> Users and Groups >> Manage Groups >> <select from list> vboxsf >> Properties >> <add username to list>

(3) Gotta reboot

Now I have access to the share mounted under /media/ShareName without fancy contortions
Printer Friendly | Permalink | Reply | Top
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-07-11 09:27 PM
Response to Reply #5
6. Too late to edit. But once I'd added a shared folder to one virtualbox virtual machine,
it became available in another one

I have another Debian machine using gnome desktop. The share was mounted there too: only had to add my name to vboxsf group as above and reboot to use it
Printer Friendly | Permalink | Reply | Top
 
Syrinx Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Mar-17-11 04:44 AM
Response to Reply #6
7. thanks for your very informative posts
I'm sorry that I'm so late responding. I'm usually a regular reader of this forum, but I must have missed some time.

I haven't really processed all your information yet, but I hope to.

Turns out that Ubuntu kills the pc speaker on boot. From what I've read, you have to jump through loops, and change a bunch of settings, in scripts all over the place.

I figured my speaker was okay, since the BIOS squeaked each time, a little bit. I've been meaning to do Linux From Scratch again.

Thanks for all the help!
Printer Friendly | Permalink | Reply | Top
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Mar-17-11 11:56 PM
Response to Reply #7
8. Not sure what you are saying about sound. When I install debian-based distros
Edited on Thu Mar-17-11 11:56 PM by struggle4progress
(say debian itself or ubuntu) on my AAO, the sound is muted by default and I have to go through the menubar menus to turn on the sound

When I run virtualbox in an OSX host and install ubuntu as guest, sound works immediately
Printer Friendly | Permalink | Reply | Top
 
Syrinx Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Mar-18-11 04:52 AM
Response to Reply #8
9. I'm not talking about the main system audio
But rather the crude little speaker that (I think) is still built into most desktops. The one that the BIOS sends the "beep codes" to, and the one that old DOS programs like Stereo Shell used to use for sound effects.

Winamp works great in a Windows guest on an Ubuntu host, but when I try to use an old DOS program that expects to use the old PC speaker, it still works great, just without sound.

Overall it's probably better for the pc speaker to be disabled, like it seems to be in Ubuntu. It just can be annoying in very specific circumstances. :)
Printer Friendly | Permalink | Reply | Top
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Mar-18-11 06:30 AM
Response to Reply #9
10. It may be a simple matter of inserting a # in a file:
http://ubuntuforums.org/showthread.php?t=1490771

Seems it screws up the other speakers' output, though

Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Tue Jul 22nd 2014, 04:24 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Open Source and Free Software Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC