Re: VirtualBox on Fedora 14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



you probably need to install the kernel source headers for the pae kernel...

yum install kernel-pae-devel ??? << search google.. not sure exactly what it would be called..



On Wed, Dec 8, 2010 at 11:30 AM, S Mathias <smathias1972@xxxxxxxxx> wrote:
Ok, so after a fresh install:

yum install dkms kernel-devel
sync
sync
sync
reboot
wget "http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo" -O /etc/yum.repos.d/virtualbox.repo

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O oracle_vbox.asc
rpm --import oracle_vbox.asc
rm oracle_vbox.asc
yum update

yum install VirtualBox-3.2

And here comes the part, thats not 100%

# service 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 source for kernel 2.6.35.9-64.fc14.i686.PAE cannot be found at
/lib/modules/2.6.35.9-64.fc14.i686.PAE/build or /lib/modules/2.6.35.9-64.fc14.i686.PAE/source.

                                                           [FAILED]
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules                      [FAILED]
  (Look at /var/log/vbox-install.log to find out what went wrong)


# ls /usr/src/kernels/

2.6.35.9-64.fc14.i686
[root@a yum.repos.d]#

!! -> so the "/usr/src/kernels/2.6.35.9-64.fc14.i686.PAE" is MISSING!

Where can i download it?

p.s.: I recently installed the PAE kernel by:

yum install kernel-PAE






--- On Wed, 12/8/10, Richard Shaw <hobbes1069@xxxxxxxxx> wrote:

From: Richard Shaw <hobbes1069@xxxxxxxxx>
Subject: Re: VirtualBox on Fedora 14
To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wednesday, December 8, 2010, 6:58 PM


On Wed, Dec 8, 2010 at 12:47 PM, S Mathias <smathias1972@xxxxxxxxx> wrote:
Good evening list! :)

I'm searching for two answers regarding two questions. [and there are two "P.S."'s]
----------------------------------------------------------------------------------------------------
Q1: How can i list all the available kernel modules?
----------------------------------------------------------------------------------------------------
Q2: I want to install VirtualBox on Fedora 14 [->how could i download the kernel source?]:

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O oracle_vbox.asc
rpm --import oracle_vbox.asc
rm oracle_vbox.asc virtualbox.rpm

Everything OK so far...
 
wget $(wget -q "http://www.virtualbox.org/wiki/Linux_Downloads" -O - | perl -ne 'print "$1\n" while (/href="" | awk '/fedora14/ && /686/ {print}') -O virtualbox.rpm
rpm -i virtualbox.rpm

You're making things hard on yourself. Follow this link[1] and setup the yum repository. Then installing is as simple as:

# yum install VirtualBox-3.2

The other packages you need is the kernel headers (not the whole source) and dkms (dynamic kernel module support), i.e.:

# yum install kernel-devel dkms
 

And then, the fun part:

# /etc/init.d/vboxdrv setup

[snip]

Try "service vboxdrv setup" instead. Not really the problem but from what I've read it's a more appropriate method. 
 
----------------------------------------------------------------------------------------------------
P.S. 1: This is not working [bug on virtualbox.org website? ]:
# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | rpm --import -
error: -: import read failed(-1).
----------------------------------------------------------------------------------------------------
P.S. 2: When i wanted to install VirtualBox, i tried this [when running in to the kernel source "issue"]:
http://www.linuxforums.org/forum/red-hat-fedora-linux/20689-donwload-kernel-source-using-yum.html#post549910

But when i'm here:

# yumdownloader -e core-source -e updates-source --source kernel
Usage: "yumdownloader [options] package1 [package2] [package..]

CRITICAL:yum.cli:Command line error: option -e: invalid integer value: 'core-source'

..it gives an error :O so i wanted to:

yum remove rpmdevtools yum-utils

->
http://pastebin.com/raw.php?i=Y8y0YjLG

Is it safe to remove "anaconda"?
----------------------------------------------------------------------------------------------------

You don't want to just download it, you want to install it. But as I said, you don't need the whole source, just the headers which is provided by the kernel-devel package. 


Thank you in advance! :\ [sorry, i'm a beginner in Fedora :\ ]

No problem! 

Richard


-----Inline Attachment Follows-----



--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux