I'm trying to setup openSUSE 11.3 32-bit in my VirualBox 4.0.0.r69151, running on Windows 7 64-bit. From what I understand, openSUSE detects that it's being installed in VirtualBox and sets up the Guest Additions at install time (I wasn't aware of that at first, so when I tried to install it manually it informed me it was already available), so I should not have to do that.
So what I did was
Add a shared folder in the VM setting for D:\Foo it was setup as Auto Mount and folder name Foo
Start my openSUSE VM and check under /media (also checked under /mnt) but could not see it anywhere
I also tried adding "mount -a" in my /etc/init.d/boot.local file, but there was no different
I'm a complete linux noob so take that into consideration when you post a reply! Thanks
You need to uninstall the openSUSE guest additions and then install the VBox 4.0.0 guest additions.
After that you need to add your user name to the vboxsf group in the guest to be able to use the auto mount share.
Thanks.. just to be sure before I do anything stupid.. could it be the "virtualbox-ose-guest-tools v3.2.6-2.1.1" (found in the openSUSE YaST) that I should remove before installing the ones for 4.0.0? Thanks!
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
zypper install kernel-2.6.34-12-default
failed
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong.
Once you have corrected it, you can run
/etc/init.d/vboxadd setup
to build them.
if I check the contents of the /var/log/vboxadd-install.log file it says
Makefile:23: *** Error: unable to find the sources of your current Linux kern$
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
Loading repository data...
Reading installed packages...
'kernel-devel' is already installed.
No update candidate for 'kernel-devel-2.6.34.7-0.7.1.noarch'. The highest available version is already installed.
'kernel-syms' is already installed.
No update candidate for 'kernel-syms-2.6.34.7-0.7.1.i586'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
sh ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.0.0 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 4.0.0 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules done
Removing existing VirtualBox non-DKMS kernel modules done
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
zypper install kernel-2.6.34-12-default
failed
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong.
Once you have corrected it, you can run
/etc/init.d/vboxadd setup
to build them.
Doing non-kernel setup of the Guest Additions done
Installing the Window System drivers
Installing X.Org Server 1.8 modules done
Setting up the Window System to use the Guest Additions done
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services components done
EDIT: I should note that I had already run "zypper install gcc make automake autoconf kernel-source kernel-syms" based on a blogpost
The update pulled down 250mb worth of package updates and installed them. Unfortunately still can't install GA =( trying to run your cmd again (just to get the version numbers) I still get
Loading repository data...
Reading installed packages...
'kernel-devel' is already installed.
No update candidate for 'kernel-devel-2.6.34.7-0.7.1.noarch'. The highest available version is already installed.
'kernel-syms' is already installed.
No update candidate for 'kernel-syms-2.6.34.7-0.7.1.i586'. The highest available version is already installed.
Resolving package dependencies..
Really appreciate your help.. never thought it would be this "hard" =/
When installing openSUSE i was asked to provide a username as password.. I think also the option to always login as system admin (not sure) that I ticked. Since it's suppose to be a dev machine, running in a VM, I thought
I'd save myself to work
appart from that I haven't created any other accounts