General :: Install Guest Additions Over Again Every Time Kernel Updates
Aug 19, 2010
I have Ubuntu running as a Virtualbox, and every time it upgrades the kernel, the Guest Additions stop working.The install process in Linux requires using a virtual CD, running scripts from the command line, etc.Is there any way to keep the guest additions constantly working even when the kernel is upgraded? Can they be installed as Ubuntu packages instead of installing off the virtual CD?
I installed a Fedora 14 guest on a Fedora 14 host with Virtualbox, then i run these commands on the guest:yum install kernel-devel kernel-headersbut if i try to install the virtualbox-guest additions on the guest, is still complains about that it's unable to find the kernel source directory?Ha anyone succeded installing the guest additions on a guest Fedora 14?
I'm trying to install the Guest Additions for a VM running a guest Lucid Lynx Server. The problem I'm encountering is this: The vboxadd-install.log for vbox says it "couldn't find the sources of your current Linux kernel" and to "Specify KERN_DIR=<directory> and run Make again."
I am running Lenny and using VirtualBox OSE 1.6.6. In order to try squeeze I installed it in a VM. I tried to install Guest Additions also, but i get this error:
VirtualBox 1.6.6 Guest Additions installation Building the VirtualBox Guest Additions kernel module... Building the shared folder support kernel module... Unable to build the kernel module.
I checked what /var/log/vboxadd-install.log had to say:
/usr/src/linux-headers-2.6.32-5-common/include/net/neighbour.h:115: error: variably modified a at file scope /tmp/vbox.0/utils.c: In function 'sf_path_from_dentry:
I tried with 3 versions of the kernel 2.6.32-5-686,2.6.32-5-484,2.6.32-3-686 but I cannot get it to work using any of them. Also I tried to install version 2.6.30-2-686 but I couldn't since synaptic said that it Depends: linux-kbuild-2.6.30 but it is not installable.
Experienced that building the vbox guest additions (on the binary/non-free vbox) on a slackware --current guest (with windows *and* linux as a host) fails now with the new kernel's just released in --current?
I opted to install my Linux Fedora distribution, in a SUN VM (Virtualbox). [URL] I have 2 questions:
My current max res available to select is 1024x768. Can I run at 1920x1200? My display indicated that it is 'Unknown'. I don't know if that is in on the deal, or not...
Second question: When installing VBOXADDITIONS_3.1.2_56127, I am getting the error: Building the VirtualBox Guest Additions kernel modules [FAILED]
If I am displaying the log correctly, it indicates: Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop Pictures are located here, in the EVGA Linux forum: [URL] I am new to both Linux, and Fedora.
My mission statement: To run Linux using the Fedora distribution, in a VM window under Windows 7 64bit Ultimate, with the ability for scripting using Bash, with the Perl programming language installed, and use Apache Tomcat to monitor both apps, and various VM installs, on numerous Servers via the internet.
I've just installed clean copies of both VirtualBox v4.0.8 and Fedora 15. Now I have followed the instructions here : [url] to install the latest VBox guest additions.
Each time I try I get the following message:
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 installed with yum install kernel-devel-126.96.36.199-32.fc15.i686.PAE.
However, if I run that command I am told there is no such package available. The guest addition installer continues seemingly OK, but after a restart they are not loaded.
I've just moved to Fedora from Ubuntu due to major issues with its new version.
OpenSUSE installed in a Virtualbox Virtual Machine and I want to set a shared folder.
1 - Set up a Virtual Machine and install OpenSUSE 11.2
2 - Create a shared folder on host (HostFolder)
3 - Setup the shared folder in Virtualbox Via the Virtual Machine details or via Devices > Shared Folders...
4 - Install dependencies for running the Virtualbox installer You need to install the right development kernelpackage for your machinetype (use 'zypper search -i kernel' to see what's installed) sudo zypper make gcc kernel-source kernel-hosttype/default-devel
5 - Run the Virtual Machine and go to Devices > Guest Additions This mounts an iso image in your OpenSUSE guest.
6 - Open a root terminal and run
cd /usr/src/linux make oldconfig && make prepare && make scripts && make dep cp ../linux-obj/$HOSTTYPE/default/Module.symvers . make prepare
* A commenter on previously mentioned thread says this step is unnecessary but it doesn't work without on my system. I suggest trying step 7 first and returning to step 6 if that fails. *
7 - Run ./VirtualboxLinux yourhosttype .run from the mounted iso image.
8 - Create shared folder in OpenSUSE (GuestFolder)
9 - Test with sudo mount -t vboxsf HostFolder /home/user/GuestFolder It works? Great! Let's set up the system so it automounts for your regular useraccount instead of root-only access.
10 - Add this line to /etc/fstab HostFolder /home/user/GuestFolder vboxsf defaults,uid=1000,gid=1000 0 0
11 - It works for me but if it still doesn't automount after a reboot; sudo mount -a
Just d/led Fedora 11, installed in Sun Virtual box 3.04. New to Fedora and can't figure out how to install guest additions to get my resolution up to par. I have the iso mounted and can get to it via "file management" no problem.
I have installed 10.10 as a virtual machine under my 10.04 host installation. I have then attempted to install the guest additions to make it more integrated with the host. When I start the autorun of the guest additions, it tries to compile some programs. This seems to be a feature of the VBox in 10.04 and worked with 10.04 was also the guest. However, with 10.10 as the guest, I get a compile error, specifically this at the end of vboxadd-install.log:
I had a lot of trouble installing Guest Additions within the Fedora 13 Guest on a Linux host. I had to mount the vboxGuestadditions.iso from the Device --> CD/DVD Devices menu. Then I located the appropriate package for my system. In my case it was the AMD64 Linux version.I ran this as administrator in Terminal. I used the "bash" command followed by the package name. This was after CDing the the appropriate directory. The packaged installed, I then rebooted and it worked fine. (Something that would make this easier is to load a script into nautilus that would allow me to open a locatation as administartor at the open window. I'm sure there is something in Fedora to do this but I couldn't find it in a hurry so I used the command line way).
i've installed kubuntu 10.04 on a sun virtualbox , and when i tried to install the guest additions i got this error in the terminal:
Building the VirtualBox Guest Additions kernel modules. fail ! (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) i'am running windows 7 as a host operating system .
When I try to change the resolution, it only shows 800X600 and 640X480 or something similar, nothing regarding a custom resolution. When I use the "Install Guest Additions" it won't mount because of some error, and so I can't open it, and even if I could mount and open it *I've tried it in other distros that don't automatically install it for you* I have no idea what to use. I've tried all of the .sh, even the autorun.sh and giving it executable permissions, and it STILL doesn't work. Perhaps I'm missing something, or there's a documentation out there that I can't find, but I can never get them to work. How can I fix this problem? I know in sbopkg, there's 32-bit Virtualbox Guest Additions but that doesn't work. The reason why I installed the 64-bit one is because I don't have 6 CDs to spare and I'm almost out of bandwidth and it has to last me a week. *I think around 200GBs out of 250GBs taken up so far, or more*
There is no shortage of questions about increasing the VirtualBox resolution to more than 800x600 with a Linux guest OS, but every time the proposed solution was "install Guest additions".I want the VM to be as simple and as portable as possible, so I would prefer not to install "Guest additions" which seem to fail after each kernel upgrade, which have to be uninstalled before a VBox upgrade etc.Is there a way to increase the resolution to something greater than 800x600 without Guest additions? Why can WinXP set 1024x768 without guest additions?
Whenever I boot up Fedora 15 on Virtual Box, I get the message " gnome 3 could not load " and I installed all the packages needed to install Guest Additions, but even when I mounted the file, the ONLY file I could find online that was VMBoxGuestAdditions.iso or something like that, I mounted it, I tried installing, but nope, it gives me an error message that it can't. I have the latest version of VirtualBox and I've been on several forums and looked at many places but I can't fix it. I also have a problem where when I boot it up it says " the system is optimized to support 32 bit but it is currently 64 bit go here and click this to fix it " or something like that. and I can't figure out how to fix it in Virtual Box.
I'm trying to install the Virtual Box Guest Addition for my openSUSE 11.3 VM, but I'm having some problems. The Virtual Box manual says I need to install the kernel-default-devel package, so I did that, but it also says :
Make sure that your running kernel (uname -a) and the kernel packages you have installed (rpm -qa kernel*) have the exact same version number. Proceed with the installation as described above.So I ran both commands and here is the output :
edgar@linux-t7uc:/> uname -a Linux linux-t7uc 2.6.34-12-default #1 SMP 2010-06-29 02:39:08 +0200 i686 athlon i386 GNU/Linux edgar@linux-t7uc:/> rpm -qa kernel*
the devel packages are version 188.8.131.52-0.7.1 and the kernel is version 2.6.34-12. How do I install the correct version of the kernel-default-devel and kernel-devel package with zypper? I thought maybe the versions could be compatible somehow, so I tried to install the Guest Addition and here's the result :
edgar@linux-t7uc:/media/VBOXADDITIONS_4.0.4_70112> sudo sh ./VBoxLinuxAdditions.run root's password: Verifying archive integrity... All good. Uncompressing VirtualBox 4.0.4 Guest Additions for Linux.........
i have installed ubuntu 10.10 on Virtual box and now am trying to install guest additions as shown [URL].Problem is when i type into the Terminal "cd /media/cdrom" it replies with "No Such File or Directory"
pretty comfortable at the command line and in kde. found 2 'supplementary kernel drivers' for virtualbox at slackbuild (thank you heinz!). followed the how-to at slackbuild and built and installed both packages, but additions weren't working. (i thought they were standalone) noticed the 'supplemental' in their description, and so installed the guest additions for linux from vbox site. additions still not working. at this point i start restarting my slackware vm, and redoing everything in various sequences. finally, additions work! but i'm not sure why! critical pieces and sequence for getting guest additions working once i have slackware installed?
I use CentOS under VirtualBox. There are Guest Additions, but for Ubuntu are virtualbox-ose-guest-utils and virtualbox-ose-guest-x11 There are GA replacements, better than GA (no problem with AppArmor). Are CentOS replacements ?
I run openSUSE 11.2 on my notebook using VirtualBox 3.0.6_OSE r52128. Recently, I installed the guest additions on my Windows XP guest system (VBoxGuestAdditions_3.0.6.iso). Before this installation I was able to use a screen resolution of 1024x768 in the guest system. Having installed the guest additions the best result I get is 800x600. The resolution I'd like to get is 1280x800 which is the default setting of the host system. The graphic device used in my system is an Intel 965 GME/GLE.