עבור לתוכן

שגיאה ב virtualbox על FEDORA 15

Featured Replies

פורסם

שלום, אני עובד על FEDORA 15 התקנתי VB דרך קובץ rpm מהאתר כאשיר אני מפעיל את הVB דרך

הטרמינל אני מקבל שגיאה

load. Please recompile the kernel module and install it by

/etc/init.d/vboxdrv setup

You will not be able to start VMs until this problem is fixed.

[root@localhost init.d]#

הרצתי את הפקודה ב ROOT

קיבלתי

Stopping VirtualBox kernel modules [ OK ]

Uninstalling old VirtualBox DKMS kernel modules [ OK ]

Trying to register the VirtualBox kernel modules using DKMS[FAILED]

(Failed, trying without DKMS)

Recompiling VirtualBox kernel modules [FAILED]

(Look at /var/log/vbox-install.log to find out what went wrong)

נכנסתי ללוג כדי לראות מה הבעיה ושם רשום

Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

פה אני תקוע אשמח לעזרה

פורסם

אתה צריך להתקין את קבצי ה header של הקרנל שלך.

לכן אתה צריך להריץ דרך ה ROOT:

yum -y install kernel-headers

ואם זה לא עובד, אז תריץ את הפקודה הבאה:

yum -y install kernel-devel

בהצלחה.

פורסם
  • מחבר

ניסיתי זה לא עזר בסופו של דבר הצלחתי הפיתרון הוא

su -c 'yum update; yum install -y VirtualBox-3.2 dkms gcc

פורסם

בכל אופן זה חלק מהפתרון, כי בלוג שלך כתוב שה Headers חסרים.

אע"פ שלא שמתי לב לזה שזה לא הצליח עם ה dkms, והייתי צריך להניח שאין לך.

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים