virtualbox, quick question

merc141

Limp Gawd
Joined
Jul 24, 2007
Messages
194
I was trying to copy a file from a fedora (guest) to vista (host), I did install the guest additions but was am unsure how to do this.
 
Yeah, I did all that as well. virtualbox is garbage. I'm in the process of testing out VM server and everyone I've talked to says it's far superior.
 
If you have networking set up as NAT, you will need to make a shared folder (Devices > Shared Folders). If you have it set up as bridged or something, you can copy using SMB the same way you would copy files to it if it were another machine on your network.

EDIT: Or do what I'm doing and just move them across with SFTP. Make sure you have sshd installed and set up on Fedora if you want to do this.
 
A) where is NAT and bridging set up at? Host, VM, or both?

B) can you just drag & drop files from the host to VM and vice versa?
 
A) where is NAT and bridging set up at? Host, VM, or both?

B) can you just drag & drop files from the host to VM and vice versa?

A) Your selection of which type of networking to use is a VirtualBox setting. If you choose NAT, you won't be able to communicate with the host except through shared folders. If you choose Host networking, and then you bridge the VirtualBox adapter with your outside network adapter (Network Connections dialog in Windows), your guest will act just like any other computer on your network.

B) Not as far as I know. You can use SMB (windows file sharing) to move files around just like you would move things across your network though. You can also set up shared folders in VirtualBox to move things back and forth.
 
A) Your selection of which type of networking to use is a VirtualBox setting. If you choose NAT, you won't be able to communicate with the host except through shared folders. If you choose Host networking, and then you bridge the VirtualBox adapter with your outside network adapter (Network Connections dialog in Windows), your guest will act just like any other computer on your network.

B) Not as far as I know. You can use SMB (windows file sharing) to move files around just like you would move things across your network though. You can also set up shared folders in VirtualBox to move things back and forth.

Crap. That's what I was afraid of. Any way to change the network settings from NAT to host networking? If not, what's the secret sauce for getting the NAT configured between the VM and host? I'm using Ubuntu 8.10 for reference and have no clue how to pull off that minor miracle. I'm hoping it'll all happen in the XP VM I have since I'm more familar with it.
 
I must have a lot of work to do to get networking going. See, this is the kind of shit that should be enable out of the box when you install the server.

By the way, there is NOTHING about NAT in Virtualbox whatsoever in it's current configuration. Hell, I'm still trying to find the bridging apps I had to apt-get a minute ago.
 
Alright here's a quick dirty rundown.

You've already installed bridge-utils. After that, all you need to do is modify /etc/network/interfaces and add a vbox interface.
Code:
iface br0 inet dhcp
bridge_ports eth0

Now add an interface
Code:
sudo VboxAddIF vbox0 YourUsername br0

And don't forget to restart your network.
Code:
sudo /etc/init.d/network restart

Go back into your *Your VM* settings (*NOT* VirtualBox settings) --> Network --> Attached To: Host Interface. I'm currently not on Linux box right now but somewhere there you put "vbox0".

I'd love to help you more but as a college student, it's time to do my lab reports and sleep. :p
 
What of the bridge int using a static? I don't use DHCP at all.

Code:
iface br0 inet 192.168.100.10
bridge_ports eth0

That look right to you, or do I need the full IP settings in that line somewhere?
 
It's been awhile since I've done it. If I recall correctly it's something like this.

Code:
auto br0 <-- Not too sure if you need this
iface br0 inet static
	address 192.168.1.100
	netmask 255.255.255.0
	gateway 192.168.1.1
	bridge_ports eth0
 
Back
Top