Virtual Box

Hi,

I have opensuse 11.2 on virtualbox. I have successfully installed guest additions. I go to share a folder called vbox in the directory /home/user/Desktop/vbox. I don’t get any errors until i go to open the folder and i get cannot open folder.

Any ideas,
Thanks,

You have to add the shared folder as a network drive. In the windows explorer go to tools>map network drive. There locate your shared folder and assign a dirve letter.

I have windows as host, does this apply?

How have you mounted the shared folder? Have you added it to the shared folders in the settings for your VM? If the name is vbox, mount it with the command

mount -t vboxsf vbox -o uid=xxxx /home/user/Desktop/vbox

Replace ‘xxxx’ with the four digit user ID for “user.”

If you have already done this, what is happening when you try to open the folder? Are you denied access?

It brings up options for mounting.

Thanks

It doesn’t sound like it’s being mounted properly. Have you tried the mount command above as su? What are these options that you are shown?

Yes, i just tried that and this time it doesn’t read any errors until i go to open the folder then it says

could not open folder /home/user/Desktop/vbox

Open a terminal, and cd to the shared directory:

cd /home/user/Desktop/vbox

If you are able to do that, show the results of ‘ls -l’.

I am able to do that here is the outpute

linux-mh8e:/home/user/Desktop/vbox # ls -l
ls: cannot open directory .: Invalid argument

Is there maybe some module i am missing this is done with mount code

mount -t vboxsf vbox /home/user/Desktop/vbox

Thank you,

There’s a strange thing with 11.2 under VirtualBox. I assume there’s no OSE version of VirtualBox for Windows. If I install an instance of 11.2 under linux PUEL version of VirtualBox, the installer installs guest-additions OSE-versions. Look in Yast software and search for “virtualbox”, if you find any virtualbox-ose packages uninstall them and then mark them as tabu in yast. Once finished that reinstall the guest-additions from inside 11.2 and see if anything changes.

hank se wrote:

>
> There’s a strange thing with 11.2 under VirtualBox. I assume there’s no
> OSE version of VirtualBox for Windows. If I install an instance of 11.2
> under linux PUEL version of VirtualBox, the installer installs
> guest-additions OSE-versions. Look in Yast software and search for
> “virtualbox”, if you find any virtualbox-ose packages uninstall them and
> then mark them as tabu in yast. Once finished that reinstall the
> guest-additions from inside 11.2 and see if anything changes.

Second that! Some openSUSE versions have the OSE version installed by
default and that tears me a new one every time until I finally rememebr to
uninstall it before installing the Guest Additions!


Will Honea

@hank se and Will Honea,

I will do that right away. Thank you for your help,

Ok, i uninstalled the guest additions, but now that they are uninstalled, i get only teminal, i cannot find the mounted cd,

Is there something i should do?

thanks

Can’t see why that happened, can you boot into graphics mode by typing 5 at the grub menu?

no, it is still text login.

thanks again,

Okey, I suppose you can access the VirtualBox menu once booted into text mode. Select Devices>CD/DVD and check the entry for VBoxguestadditions.iso. Su to root and mount it like this:

mount /dev/cdrom /media

cd to /media and run this command

./VBoxLinuxAdditions-x86.run for 32-bit

./VBoxLinuxAdditions-amd64.run for 64-bit

Reboot the guest and see if this works.

Ok, i got the gui back, but now i don’t have the mouse pointer integration.

Thanks

vader95 wrote:

>
> Ok, i got the gui back, but now i don’t have the mouse pointer
> integration.

You have to re-install the guest additions which you removed earlier. This
time, they will come from the image that came with your currently installed
VBox edition. FWIW, I sometimes have to install the additions, re-boot the
VM, install the additions again, reboot etc… 2,3,even 4 times to get
them to stick. Why? Who knows!


Will Honea

vader95 wrote:

Ok, i got the gui back, but now i don’t have the mouse pointer integration.

If it’s a USB mouse be sure to not create a filter for it or activate it by clicking on its entry in the USB-icon in the bottom toolbar. Same goes for USB keyboards, VirtualBox takes care of those devices without any user interaction.

@Hank, no it is on a laptop,

@Will, ok, i will try that, it says that the kernel doesn’t meet the requirements.