Fedora Hardware :: Run At 1920x1200 - Error: Building The VirtualBox Guest Additions Kernel Modules [FAILED]
Jan 31, 2010
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 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.
I was trying to install VirtualBox through the YaST > Software Management but it is not working, someone in the forum told me that I have to download the OSE version and do it manual way. Finally I am able to start up VB but not able to use the network connection. Thus I am trying to do this:
/etc/init.d/vboxdrv setup. I get this error:
When I type dmesg, it shows me a bunch of info which I don't know what should look for. When I type modprobe vboxnetflt, I get the error: FATAL: Error inserting vboxnetflt (/lib/modules/126.96.36.199-1.2-default/updates/vboxnetflt.ko): Invalid module format. what should I do in order to get my VB to be able to connect to the internet?
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 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).
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
my error when trying to run a VB (Virtualbox). Error as copied from error box. install the virtualbox-ose-modules package for your kernel and execute 'modprobe vboxdrv' as root. VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
I get this when trying to launch a VB after making one with wizzard.
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.........
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 am trying to set up Ubuntu server edition 10.10 in virtualbox (windows host). All is going well, except that I can't figure out how to install the guest additions. I know how to do it in the normal edition of Ubuntu, but when I navigate to media/cdrom, it's empty.
If you're installing Linux Additions in VirtualBox (VBoxLinuxAdditions.run) and get:"The make utility was not found. If the following module compilation fails then this could be the reason and you should try installing it. The gcc utility was not found. If the following module compilation fails then this could be the reason and you should try installing it."
then go to synaptic and install "make" (An utility for Directing compilation) and gcc (The GNU C compiler) or use "sudo apt-get install make gcc" and all should go well afterwards but if you'll still be missing something go to synaptic and see what would be installed if you choose virtualbox-guest-additions (guest additions iso image for VirtualBox) and match it with what you need.
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?
file permissions and also about an error I'm getting in Virtualbox. I think the two issues are related. Recently, I replaced the hard drive in my computer and when I did, I decided to upgrade from 9.10 to 10.04 and I'm loving the new version. However, I have one minor problem. Whenever I download files via firefox (or chrome, etc.), they're not initially executable. I have to chmod them before I can run them. This isn't a problem for most things and is, in fact, more secure, I suppose. However, it causes problems for some programs that automatically download files and then need to run them.
Namely, I tried installing Virtualbox guest additions on my XP guest and Virtualbox couldn't mount the iso after it had downloaded it. To clarify, I can use wget, download a file, and execute it just fine. If I download the same file via firefox, I have to chmod the file before I can execute it. Virtualbox also can't mount the guest additions iso after it downloads it, and I assume that it's again running into a permissions problem.
I am supporting several users with UNR on their laptops, so on my AMD-64 machine I installed UNR 10.04 in VirtualBox 3.2.8r64453, updated upgraded, installed DKMS and gcc, then added the Linux-x86 Guest Additions from the supplied Guest Additions iso. So far so good.
But, there is a problem with the UNR desktop: whenever I try to run anything, for example FireFox, the app starts and then the focus immediately switches back to the desktop. Clicking on the app's icon in the top left panel, or using alt+tab to switch causes the selected app to draw on the screen for a moment, then the focus switches back to the desktop. If I'm fast I can get a character to appear on the command line in terminal, but that's it.This behavior only began after rebooting after installing the guest additions. It occurs whether in normal, fullscreen, or seamless mode. Uninstalling guest additions doesn't seem easy since I can't get to a console. Nothing in this install yet, so I'll nuke it and reinstall w/o the Guest Additions but it's a shame not to have the GA's available.
I'm trying to test 10.04 Lucid 32-bit within 9.10 using VirtualBox. Guest additions aren't working fully--I can copy and paste text, but my mouse pointer still gets captured. No indications of any problems during installation. Also, I get the "Ubuntu is running in low-graphics mode" error message starting up, indicating Ubuntu can't detect the hardware properly. Screen size is stuck at 800x600.
I've tried reinstalling Guest Additions, increasing Video Ram to 128MB, and putting screen resolution and vbox device data into xorg.conf. Nothing changes. Actually, there is no xorg.conf on the system, only an xorg.conf.failsafe. I modified that, no effect--though the file gets overwritten on boot up to be what it was originally. I also tried adding my own xorg.conf. That doesn't get overwritten, but also has no effect.
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*
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-184.108.40.206-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.
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?
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?