CentOS 5 :: Updating Kernel And Installing VirtualBox
Oct 28, 2010
I updated my system to the latest version - 5.5. After that I could not install VirtualBox. I was thinking, trying to fix, googling... it over for hours... Finally I found the reason. VirtualBox installer searches for the source kernel at /lib/modules/2.6.18-194.17.4.el5/build, and it can not. Look into /lib/modules, I have some kernels such as:
- 2.6.18-194.17.4.el5
- 2.6.18-194.17.4.el5debug
- 2.6.18-194.17.4.el5xen
... and more old ones.
At that time, I booted on 2.6.18-194.17.4.el5 kernel. But inside that directory, there is no build or source (directory/ file). Then I looked into 2.6.18-194.17.4.el5debug, and it had. So I typed: ln -s /lib/modules/2.6.18-194.17.4.el5debug/build /lib/modules/2.6.18-194.17.4.el5/build
I'm trying to get Virtualbox up an running. So I have added virtualbox in my repo and added the key, looks fine so far. but afeter downloading I get this:
VirtualBox-3.0.8_53138_rhel5-1.x86_64 Creating group 'vboxusers'. VM users must be member of that group! No precompiled module for this kernel found -- trying to build one. Messages emitted during module compilation will be logged to /var/log/vbox-install.log.
Compilation of the kernel module FAILED! VirtualBox will not start until this problem is fixed. Please consult /var/log/vbox-install.log to find out why the kernel module does not compile. Most probably the kernel sources are not found. Install them and execute /etc/init.d/vboxdrv setup as root.
after updating kernel and installing nvidia drivers, the startup splash(I dont know the proper word) has changed into bar type. How can it be corrected .
I have just downloaded CentOS 5.3. The kernel version is 2.6.18.xx However, when I updated the kernel version has not changed. Still 2.6.18. Unless something went wrong with the updates. The most up to date kernel is 2.6.31.xx I was thinking shouldn't it update to this new kernel? On my Fedora 12 I have 2.6.31. However, I thought the kernel of 2.6.18 would have been updated as least a little.
uname -r prints 2.6.18-164.el5 Yum install kernel-headers/kernel-devel gives me 2.6.18-194 When trying to run virtualbox I get an error: Kernel Driver not installed: (rc=-1908) Please reinstall the kernel module by running "/etc/init.d/vboxdrv setup" as root...
/etc/init.d/vboxdrv setup Stopping VirtualBox kernel modules [OK] Uninstalling old VirtualBox DKMS kernel modules [OK] Trying to register the VirtualBox kernel modules using DKMS Error! Your kernel headers for kernel 2.6.18-164.el5 cannot be found at /lib/modules/2.6.18-164.el5/build or /lib/modules/2.6.18-164.el5/source. [FAILED] (Failed, trying without DKMS) Recompiling VirtualBox kernel modules [FAILED] (Look at /var/log/vbox-install.log to find out what went wrong)
I'm assuming the setup program is using the output from uname -r to determine the kernel, the problem is the kernel sources I've got from yum do not jibe with the uname value.
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:
[code]...
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/2.6.37.1-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 have a 3dsp pci wifi card, and the last kernel it supports is Ubuntu 10.04 2.6.32-(21-24) I want to update but dont want to accidentally update the kernal.
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).
[code]...
I get this when trying to launch a VB after making one with wizzard.
I am using opensuse 11.2 kde 4.4.2 . I had a working installation of sun virtualbox 3.1 with its virtual image on an ntfs partition before upgrading kde, then I upgraded from KDE 4.3 to 4.4. Now when I start sun virtulabox it gives an error stating that it cant access my hard disk image file due wrong permissions and that the image is read only. I cant create a new image on that partition due same problem but I can create one on my home partition.
I'm just installed OpenSuse 11.3 (64) on a 30gb SSD, hoping to get virtualbox 4.0 running to virtualize an instance of Windows 7.I went through some pain with my Nvidia video card and actually getting vb to install, but through lots of searching and tinkering got here.I created a vm in the vb control panel, but when I go to start it I get:
Code: Failed to open a session for the virtual machine Win7Main. The virtual machine 'Win7Main' has terminated unexpectedly during startup with exit code 1.
Trying to install virtualbox in F12 but fails when recompiling kernel module. Output of vbox-install log is:
Attempting to install using DKMS removing old DKMS module vboxdrv version 3.1.6 Deleting module version: 3.1.6 completely from the DKMS tree. Creating symlink /var/lib/dkms/vboxdrv/3.1.6/source -> /usr/src/vboxdrv-3.1.6
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.32.11-99.fc12.i686.PAE cannot be found at /lib/modules/2.6.32.11-99.fc12.i686.PAE/build or /lib/modules/2.6.32.11-99.fc12. code....
I have installed CENTOS 5 yesterday.uname -aLinux germany.site 2.6.18-164.11.1.el5xen #1 SMP Wed Jan 20 08:53:10 EST 2010 i686 i686 i386 GNU/Linux uname -r2.6.18-164.11.1.el5xenBut when installing Oracleasm and OCFS2 packages I get the following errorrpm -ivh oracleasm-2.6.18-164.el5xen-2.0.5-1.el5.i686.rpmwarning: oracleasm-2.6.18-164.el5xen-2.0.5-1.el5.i686.rpm: Header V3 DSA signature : NO KEY, key id 1e5e0159error : Failed Dependencies : kernel-xen = 2.6.18-164.el5 is needed by oracleasm-2.6.18-164.el5xen-2.0.5-1.el5.i686While installing OCFS2 I get the same error.
rpm -ivh ocfs2-2.6.18-164.el5xen-1.4.4-1.el5.i686.rpmwarning: ocfs2-2.6.18-164.el5xen-1.4.4-1.el5.i686.rpm : Header V3 DSA signature : NO KEY, key id 1e5e0159error : Failed Dependencies : kernel-xen = 2.6.18-164.el5 is needed by ocfs2-2.6.18-164.el5xen-1.4.4-1.el5.i686.rpmThis shows kernel-xen is needed. But I have already installed this kernel-xen package.rpm -q kernel-xenkernel-xen-2.6.18-164.el5.plusHow to resolve this problem ? I needed these ocfs2 and oracleasm for some oracle features.
I'm running Virtualbox from the Sun website (need the USB support) and it breaks after each kernel update.The problem is that I installed a lot of Ubuntu systems for transitioning windows users with Windows in virtualbox to ease the migration but I have to rerun vboxdrv setup after each kernel patch.
i was not able to install alsa...showing the error checking for directory with kernel source... Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-194.el5xen/source). my friends installed the alsa for cent os 5.4...how to rectify this...
Upgraded Wheezy to Jessie, by changing my apt sources to point at stable instead of wheezy. Ran upgrade, and dist-upgrade, all fine etc.
Then tried to update the kernel by installing linux-image-amd64 package .. seemed to work fine, but after a reboot my kernel version still says 3.10.23
What have I missed?
Code: Select allroot@hostname:~# apt-cache search linux-image linux-headers-3.16.0-4-amd64 - Header files for Linux 3.16.0-4-amd64 linux-image-3.16.0-4-amd64 - Linux 3.16 for 64-bit PCs linux-image-3.16.0-4-amd64-dbg - Debugging symbols for Linux 3.16.0-4-amd64 linux-image-amd64 - Linux for 64-bit PCs (meta-package)
I have a 3dsp pci wifi card, and the last kernel it supports is Ubuntu 10.04 2.6.32-(21-24) I want to update but dont want to accidentally update the kernel. Sorry for this post I didnt spell the title of the first correctly, im a little f'd right now lol.
I use gentoo linux and some minutes ago I thought to upgrade my kernel version. I had 2.6.36-r5 and I want to set 2.6.37-r4. After merging gentoo-sources I did this:
# cd /usr/src/linux # make menuconfig # make && make modules_install # mount /boot # cp arch/i386/boot/bzImage /boot/bzImage-2.6.37-gentoo-r4 # module-rebuild populate # module-rebuild rebuild
At the end I changed the /boot/grub/grub.conf file. The last two commands are for reinstall modules that are not included in the kernel source. After rebooting the system this is what it printed out and stop loading.
sd 2:0:0:0: [sda] Attached SCSI disk EXT3-fs (sda3): error: couldn't mount because of unsupported optional features (240) List of all partitions: 0800 313474754 sda driver: sd 0801 56196 sda1 0802 2104515 sda2 0803 310407930 sda3 0810 48843636123 sdb driver: sd 0811 48843636123 sdb1
No filesystem could mount root, tried ext3 vfat msdos iso9660 Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3) Pid: 1, comm: swapper Not tainted 2.6.37-gentoo-r4 #1 Call trace ? printl+0xf/0x11 panic+0x50/0x146 mount_block_root+0x161/0x170
I recently installed Debian "Squeeze" onto a Thinkpad T420, alongside Windows 7. During the installation Debian was unable to detect my NIC (Intel 82579LM), but otherwise the installation completed normally. I've installed the required e1000e drivers, and added "alias eth0 e1000e" to the modules file. Using lspci I can see that the computer detects the card, but still fails to load the drivers for it.
I'm at a bit of a loss, as this is my first time using Linux. After a bit of searching it looks like the 2.6.38 kernel resolves the issue with this card, so I guess that's my next step.Unfortunately all the installation instructions I've found assume an internet connection.Is there a simple way to update the kernel without a connection, or -even better- an install disc with 2.6.38 so I can start from scratch?
Just recently i updated fedora 12 which is of kernel version 2.6.31.5-127.fc12.i686.PAE. Then i rebooted the machine and got two options on boot loader i..e
Now when i choose the newer kernel, booting stops with a blinking cursor but i can boot and logged in on the older kernel. i even add 'nomodeset' and pressed escaped key but to no avail. Actually just when gdm is about to be loaded, i think it crashed.
I am running a Fedora 13 x64 . The latest kernel I get is 2.6.34.8 in testing from yumex. However I want to install 2.6.37 How do I do it, without compiling from the source (which I think is beyond my scope at this point). I am more concerned with this because I am planning to get LMDE for my notebook but I came to know that it runs 2.6.32 kernel, so would I be able to update it? There's also the Liquorix kernel that I have read about, with many people saying that its better for daily usage scenarios--is that true, and is there some major difference in code?
I just ran into a weird problem with a CentOS 5.5 64-bit server running VirtualBox 3.2.8 (I would run Vmware Server 2.0.2 if not for the well known fact that Vmware doesn't care about its Server line anymore and it doesn't run on CentOS > 5.3 without major splits). I currently have two guests in that VirtualBox setup, a CentOS 5.5 64-bit and a Fedora 13 64-bit. The CentOS 5.5 guest shows less memory available than configured. If, for example, I give the virtual machine 512MB of memory the guest OS only recognizes 380MB. If I give it 768MB it only recognizes 637MB, and so on. I don't have that problem on the Fedora guest - 1024MB configured, 1024MB available.
After installing ubuntu 10.4 I tried to update but it caused some error as reported as follows. I have already tried to googling the solutions but it seems that there's no right one for me.
Linux (Ubuntu) is not providing any updates for Java Runtime Environment! According to what I find on my computer, I have Java build 1.6.0_15-b03. Ubuntu Software Center is indicating 6-15-1 (sun-java6-bin). I have manually downloaded JRE 6u17 and 6u18 from Sun. However, I have not - as yet - attempted to install/update Java myself. First, why isn't Linux providing us end-users with the updates as they are published? I thought that, for the sake of ensuring "STUFF" is up-to-date and SECURITY reasons, that the (or some other place) would be providing updates as they occur. I have just started Ubuntu - my ranking - "kindergarden at best"! I still have not been able get the "handle" on the "command line (codes)" structure and usage. I am so use to the Windows way of installing, updating, and upgrading software that Linux (Ubuntu) is causing quite a bit of consternation; just plain frustrating and confusing! I have been trying, and seeing, so-called instructions of how to install/update Java but there are just too many "assumptions" being interposed by the author(s). I just wish, and want, straight forward, step-by-step instructions in the "how to" department - written in plain language, for the complete novice (brand new to Linux). So, here's my question ... how do I manually update/upgrade (or install) Java RE on Ubuntu? Do I have to remove, add, change anything? I'm sure that there are others in the Linux world that are in need of some straight forward assistance. I want to continue using my Ubuntu and honestly, would like to be more proficient in it's use. But in the meantime.
I am an old Debian user, ho just reinstalled it again to see how it evolved since my las version (3.2). I am sharing it with Arch Linux, And decided to let bot of them. I am using GDM compiled and configured in Arch, and removed GDM2 from Debian (i just like the easy menu.list from the old GDM). The problem is that when i update the kernel, it didn't fing GDM and drops an error message. I tried removing the distro-preconfigured Kernels, as i compiled my own 3.0.0-rc2 Kerenel, but i cant delete the previous ones. Now everytime i do an install or uptgrade, apt-get drops wastes some time, and drops an error message:
[code]...
What can i do? i googled some similar errors, but where just messed up mirror.lists, or similar, i know it isnt the cause of fail.
I install the fc11 from Fedora-11-i386-DVD.iso. The software update has just updated my fc11 kernel from 2.6.29.6-217.2.3.fc11.i686.PAE to 2.6.29.6-217.2.7.fc11.i686.PAE. If I boot using the new kernel, The screen resolution is not correct (everything gets bigger) and the screen goes into blank white screen suddenly after log in.
I have a geforce 8600gt card and installed its driver (for pae kernel) as suggested on this link: [URL]Everything goes well untill I update the kernel.
Yesterday I updated openSuse 11.3 on my laptop. Kernel update from 2.6.34.4-0.1... to 2.6.34.7-0.3-desktop was included. Yast performed fine and at the end it stated to reboot for using the new Kernel. So I did, but what a bad surprise!! Normally the Grub menu should have been updated, but not this time. Fortunately I know how to handle this, but not all users will be able to resolve this problem, so here's what to do if this happens to you: You will run into the Text console saying: Press any button to continue... Before doing this write down on a piece of paper the text lines visible on the screen, starting with:
or whatever it reads for your system. You will need this info to edit the menu and succeed to boot. Now press any key and you will get the Grub menu. The standard option will be highlighted. press "e" to edit that option. Next you will see the Grub menu lines
First press key "o" to add a new line, select it by arrow down, press "e" to edit the line. (In my case it was not possible to edit the full original line, but only the added options like vag=0x317) Enter the line you wrote down, but change the kernel's version number to the new one Should look similar like:
(it works if you only use the part before "resume=/dev/disk....") After finishing hit Enter and you will turn bach to the Grub menu lines. Now move with the up/down arrow key to the old line, press "d" to remove the old line. Next move to the line with "initrd /boot/initrd-2.6.34.4-0.1-desktop", press "e" and edit the line so that it reads: initrd /boot/initrd-2.6.34.7-0.3-desktop press Enter to move back to the Grub menu lines. Now press "b" to boot. After booting log in, open your file manager as root, browse to /boot/grub and open the menu.lst file to edit and change the kernel old version numbers to the new one. Save it and next time it your machine will boot normally again.
Today i downloded latest ubuntu 10.4.1 and installed from windows environment (so you know am new with ubuntu) after installing i tried updating ubuntu, including some kernel updates, but after updating ubuntu not loading up, it just show the loading page that all nothing change i tried recovery mode but i dint understood anything it show some command prompt. i had used 10.4.0 before.