Emlékeztetőül: VirtualBox Guest Additions telepítése OpenSuSE 11.2 alá

Mivel szükség lesz rá az újabb vbox kiadások során és nekem alapból nem ment az openSuSE-val jövő GA, ím:

Kernel forrás, sym-ek beszerzése:


mfx@mfxvbox:~> sudo zypper in kernel-source kernel-syms

Kernel konfigurálás:
[code]
mfx@mfxvbox:~> cd /usr/src/linux
mfx@mfxvbox:/usr/src/linux> sudo make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
#
# configuration written to .config
#
mfx@mfxvbox:/usr/src/linux> sudo make prepare
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> arch/x86/include/asm
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/x86/kernel/asm-offsets.s
GEN include/asm/asm-offsets.h
CALL scripts/checksyscalls.sh

mfx@mfxvbox:/usr/src/linux> sudo make scripts
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c

mfx@mfxvbox:/usr/src/linux> sudo make dep
*** Warning: make dep is unnecessary now.

mfx@mfxvbox:/usr/src/linux> sudo cp /usr/src/linux-obj/i386/default/Module.symvers .

mfx@mfxvbox:/usr/src/linux> sudo make prepare
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> arch/x86/include/asm
CALL scripts/checksyscalls.sh
[/code]

GA előkotrás:


mfx@mfxvbox:/> sudo mount /dev/sr0 /mnt/vboxga
mount: a(z) /dev/sr0 blokkeszköz írásvédett, csatolás csak olvashatóként

mfx@mfxvbox:/usr/src/linux> cd /mnt/vboxga/

GA telepítése:


mfx@mfxvbox:/mnt/vboxga> sudo ./VBoxLinuxAdditions-x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 3.1.2 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version of VirtualBox Guest Additions...
tar: Rekordméret = 8 blokk
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module
Building the shared folder support module
Building the OpenGL support module
Doing non-kernel setup of the Guest Additions
You should restart your guest to make sure the new modules are actually used

Installing the Window System drivers
Installing X.Org Server 1.6 modules
Setting up the Window System to use the Guest Additions
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services components

Egy reboot:


mfx@mfxvbox:/mnt/vboxga> sudo /sbin/reboot

Örül... :P

Hozzászólások