Suse Kernel kompilieren für Guest additions

Discussions about using Linux guests in VirtualBox.
Post Reply
Sven
Posts: 3
Joined: 19. May 2007, 21:14

Suse Kernel kompilieren für Guest additions

Post by Sven »

Hallo,

um endlich den Umstieg von Windows auf Linux zu schaffen, habe ich unter XP Virtualbox installiert und darin ein Suse Linux mit KDE.

Jetzt würde ich gerne die Guest additions installieren, aber ich schaffe es irgendwie nicht:
Alle Anleitung, sowohl von virtualbox, Suse als auch die gegoogelten, sind entweder zu oberflächlich für absolute Einsteiger oder setzen zu viele Kenntnisse voraus. Ich habe in der virtualbox-Doku schnell gefunden, daß ich "einfach nur den Kernel mit den Erweiterungen neu kompilieren muß". Ich habe auch viel gefunden, was Kernel kompilieren bedeutet, ich habe auch keine Angst vor einer Shell (mein erster PC war ein 8088 mit DOS 2.11), aber:
Wie ich konkret das Kompilieren durchführe, habe ich nicht gefunden!
Welcher Befehl, welche Parameter, etc.

Kann mir das jemand sagen oder eine FAQ nennen, wo ich soetwas finde?

Danke!

Sven
michael
Oracle Corporation
Posts: 682
Joined: 10. May 2007, 09:46
Contact:

Post by michael »

In fact, you just need to install some extra packages on your system: GCC, GNU Make (I don't know exactly what the package names are in SUSE, but they should be easy to work out) and the packages "kernel-source" and "kernel-syms". You must make sure that you have the same versions of the last two installed as your Linux kernel. You can actually do all that using the SUSE graphical administration tool.

After that, you will need to install the additions as described in the manual: insert the additions CD image into the virtual machine, open a shell, become root with the command "su", go into the directory containing the additions installer and execute

Code: Select all

sh VBoxLinuxAdditions.sh
Yes, I'm afraid that it is still not the easiest of procedures...
Last edited by michael on 24. May 2007, 14:05, edited 1 time in total.
michael
Oracle Corporation
Posts: 682
Joined: 10. May 2007, 09:46
Contact:

Post by michael »

Entschuldigung, ich habe offenbar zu wenig geschlafen. Kommst du mit dem Englischen zurecht, oder soll ich das auf Deutsch nochmal schreiben?
Sven
Posts: 3
Joined: 19. May 2007, 21:14

Post by Sven »

Hallo,

habe diese Woche leider keine Zeit zum Ausprobieren, aber die Anleitung klingt hilfreich. Englisch ist kein Problem.
Vielen Dank einstweilen, ich werde es nächste Woche gleich probieren!

Grüße

Sven
Sven
Posts: 3
Joined: 19. May 2007, 21:14

geschafft!

Post by Sven »

Hallo Michael,

vielen Dank noch einmal.

Es hieß zwar "sh VBoxLinuxAdditions.run", aber es hat funktioniert.
Eigentlich gar nicht so schwer...

Viele Grüße

Sven
Post Reply