Титла: Проблем с VirtualBox
Публикувано от: NikolaiTalev в Jul 13, 2010, 13:22
Здравейте опитввам се да си инсталирам Virtual Box на Fedora 13, но се появява някакъв проблем: [niki@talevtehnology ~]$ rpm -i VirtualBox-3.2-3.2.6_63112_fedora13-1.i686.rpm warning: VirtualBox-3.2-3.2.6_63112_fedora13-1.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Отказан достъп) [niki@talevtehnology ~]$ su Password: [root@talevtehnology niki]# rpm -i VirtualBox-3.2-3.2.6_63112_fedora13-1.i686.rpm warning: VirtualBox-3.2-3.2.6_63112_fedora13-1.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
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.
Какво трябва да направя? ???
Титла: Re: Проблем с VirtualBox
Публикувано от: b2l в Jul 13, 2010, 13:24
cat /var/log/vbox-install.log
Титла: Re: Проблем с VirtualBox
Публикувано от: NikolaiTalev в Jul 13, 2010, 13:29
Това пише в vbox-install.log ** Compiling vboxdrv Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Титла: Re: Проблем с VirtualBox
Публикувано от: foxb в Jul 13, 2010, 13:34
Most probably the kernel sources are not found. Инсталирай си дев пакета на ядрото....
Титла: Re: Проблем с VirtualBox
Публикувано от: NikolaiTalev в Jul 13, 2010, 14:20
Most probably the kernel sources are not found. Инсталирай си дев пакета на ядрото....
От къде да си го сваля ???
Титла: Re: Проблем с VirtualBox
Публикувано от: ROKO__ в Jul 13, 2010, 15:11
Most probably the kernel sources are not found. Инсталирай си дев пакета на ядрото....
От къде да си го сваля ???
yum install kernel-headers
Титла: Re: Проблем с VirtualBox
Публикувано от: Dojnow в Jul 13, 2010, 16:12
"Какво трябва да направя?" - Да четете. Идете на страницата на VirtualBox, запознайте се как се инсталира чрез съответния пакетен мениджър, в случая yum и инсталирайте чрез него, както и с документацията.
Титла: Re: Проблем с VirtualBox
Публикувано от: chen_dzen в Jul 13, 2010, 16:56
Aко можеш да се сетиш и на Arch как става , че еитука ми пише " The kernel header file '/usr/linux/linux-2.6.33-ARCH/include/kernel.h' does not exist. The most likely reason for this is that the kernel source path '/usr/src/linux-ARCH' is incorect . Please make sure you have installed the kernel source files and that they are properly configured;" при инсталация на драивер на Nvidia. Нали това трябва да направя?
Титла: Re: Проблем с VirtualBox
Публикувано от: dsarmov в Jul 14, 2010, 11:42
Aко можеш да се сетиш и на Arch как става , че еитука ми пише " The kernel header file '/usr/linux/linux-2.6.33-ARCH/include/kernel.h' does not exist. The most likely reason for this is that the kernel source path '/usr/src/linux-ARCH' is incorect . Please make sure you have installed the kernel source files and that they are properly configured;" при инсталация на драивер на Nvidia. Нали това трябва да направя?
pacman -S kernel26-headers
Титла: Re: Проблем с VirtualBox
Публикувано от: NikolaiTalev в Jul 14, 2010, 13:52
Most probably the kernel sources are not found. Инсталирай си дев пакета на ядрото....
От къде да си го сваля ???
yum install kernel-headers
Инсталирах го но и след това качих на ново VirtualBox но пак същото :'(
Титла: Re: Проблем с VirtualBox
Публикувано от: ROKO__ в Jul 14, 2010, 14:08
Most probably the kernel sources are not found. Инсталирай си дев пакета на ядрото....
От къде да си го сваля ???
yum install kernel-headers
Инсталирах го но и след това качих на ново VirtualBox но пак същото :'(
Да не би да си се мъчил да прекомпилираш ядрото, защото папката трябва да се казва linux-2.6.3X-ARCH
Титла: Re: Проблем с VirtualBox
Публикувано от: NikolaiTalev в Jul 14, 2010, 17:28
RPM-based Linux distributions ¶
Starting with VirtualBox 3.0.12 we provide a yum-style repository for Fedora/RHEL/openSUSE. Note that 3.0.x .rpm packages are named VirtualBox-3.0.x while 3.1.x .rpm packages are named VirtualBox-3.1-3.1.x. This naming scheme allows to use the older 3.0.x packages without changing the repository.
Furthemore, all .rpm packages are signed. The Oracle public key for rpm can be downloaded here. You can add this key (not necessary for yum users, see below!) with
sudo rpm --import oracle_vbox.asc
or combine downloading and registering:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | rpm --import -
The key fingerprint is
7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139 Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>
After importing the public key, the package signature can be checked with
rpm --checksig PACKAGE_NAME
Note that importing the key is not necessary for yum users (Fedora/RHEL/CentOS) when using one of the virtualbox.repo files from below as yum downloads and imports the public key automatically''
The package signature is checked by yum/zypper as well:
* Users of Fedora can add the Fedora repo file to /etc/yum.repos.d/. * Users of RHEL can add the RHEL repo file to /etc/yum.repos.d/. * Users of openSUSE can add the proper repo file for 10.3 (VirtualBox 3.0.x only), 11.0, 11.1 or 11.2 to /etc/zypp/repos.d/.
Note: Users of Fedora/Mandriva might want to install the dkms package (not available on openSUSE) to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next kernel update. Това го прочетох но не мога да разбера каво точно трябва да инсталирам някой може ли да ми каже прочитайки го на две на три какво да направя Това излиза в момента като натисна старт на виртуалната машина The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary. А иначе качих и DKMS package ???
|