ubuntu host: are virtualbox guest additions installed or starting up?
Having Virtualbox guest additions installation or mounting problems maybe related to fstab. I added the virtualbox repository to synaptic repos and then installed virtualbox 3.2.8_ose and the virtualbox-guest-additions 3.2.8-1 on my ubuntu amd64 desktop host computer along with dkms, etc. Subsequently installed ubuntu desktop amd64 as my first virtualbox guest and have tried repeatedly to install the guest additions into the guest via both a cd .iso and from synaptic. In each case I thought I had installed the guest additions fine, but I have the feeling it either really hasn't installed or it isn't enabled. Hard time getting a virtual guest share up and running (but I'm brand new to this). Finally got an automatic share working through the back door via samba, which led me to believe my guest additions were installed.
However here is the output from my /var/log/VBoxGuestAdditions.log file: Code:
Starting the VirtualBox Guest Additions ...fail! lsmod | grep "vbox" gives the output: Code:
vboxnetadp 5267 0 mount -t vboxsf -o uid=1000,gid=1000 share mountpoint Have tried various values for "share" and "mountpoint" in the above example without success as of yet. I'm missing something. My system: Quad core amd cpu and msi mobo (virtual compliant), 4GB ram, 64bit ubuntu desktop host, virtualbox 3.2.8, 64bit ubuntu guest. On the host I have a 20 gig ext4 partition from a separate drive successfully mounted via fstab on my ubuntu host's /media/share for virtual file sharing use, with the "share" directory having user read/write access via chown and samba. On guest ubuntu I have a shared /home/v1share directory. These two directories now networked through samba. Somehow muddled through that, but it seems to work sort of. Seems a bit cumbersome but I can transfer files and read them. I'd really prefer to have all of my shared files just automatically written to the /media/share directory though and have this just work, when I start up my ubuntu guest. My next guest will be win xp, as I need to share xp program data with the ubuntu host. Would like to sort this sharing/screen resolution/guest additions problem out before I install xp and make the system more complicated. I'll have to get the legal rights transfered over from another computer to get the xp activated and updated and I don't then want to trash my xp later on getting the sharing to work. Many thanks. |
Guest Additions should not be installed on the host.
After installing Guest Additions there should be three files in the /var/log directory which may contain clues about why Guest Additions are not working: vboxadd-install.log, VBoxGuestAdditions.log and vboxadd-install-x11.log. On a Slackware64 13.1 host running VirtualBox 3.2.12 with Slackware64 13.1 guest with Guest Additions 3.2.8 and working Shared Folders (the Shared Folder is called d): Code:
lsmod | grep vbox |
getting there...
Thanks catkin for your reply! I subsequently realized from your post, that I had installed guest additions on the host and was also trying to install them on the guest with problems. Another search revealed, that two installations will conflict. Since I've tried so many things out so far, I decided the best course would be to delete everything and start from scratch, which I've done. Happy to say I've just gotten guest additions installed on the guest, but I've still got a ways to go to get everything up and running. I'll work on it. There are still some things I would welcome a little insight on from anyone though. Still confused about the actual info to insert for the words "share" and "mountpoint" in the following line:
Code:
mount -t vboxsf -o uid=1000,gid=1000 share mountpoint Code:
mkdir ~/VirtualBoxShare My reinstalled system: host is ubuntu-10.10-desktop-amd64 host directory to share: /media/share guest virtual machine: either ubu64_1 or v1-VirtualBox guest directory to share: /home/v1share No samba shares set up at present like I had in my initial post. Many thanks for any input. Cheers. |
Regards the mount command:
You don't need to use VBoxManage sharedfolder add if you are more comfortable working in the configuration GUI (that's how I choose to do it even though I am familiar with the command line). If you do choose to use it then:
If you do choose to use some other mechanism instead of Shared Folders to to share the guest's /home/v1share with the host, NFS is a better choice than samba when both systems are Linux; samba emulates Windows (SMB now called CIF) networked file systems so is only well suited when the sharing client needs to see a Windows file share. |
Many thanks again catkin! I'll plug away at it some more. Getting closer. Cheers
|
All times are GMT -5. The time now is 11:41 AM. |