[Grml] VirtualBox and Grml

Frank Eisenblaetter feisenbl at gmx.de
Fri Aug 24 11:57:28 CEST 2007

* Michael Prokop <mika at grml.org> [070820 19:25]:
> It's pretty simple to get VirtualBox running on grml. :)
> Just add the following line to your sources.list:
> # virtualbox:
>   deb http://www.virtualbox.org/debian etch non-free
> Then run 'au ; ati virtualbox' and everything else should run pretty
> straight forward (assuming you have the kernel-headers available on
> your system - that's the default for your grml system - so compiling
> the kernel module by the Debian package works).
> That's it. :)

Hello mika,

I did as you described, but I get the following errors in
/var/log/vbox-install at compiling the kernel module.

cp: missing destination file operand after `/tmp/vbox.1/Module.symvers'
Try `cp --help' for more information.
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.20-grml/build SUBDIRS=/tmp/vbox.1 SRCROOT=/tmp/vbox.1
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-grml'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (            \
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
        echo;                                                           \
mkdir -p /tmp/vbox.1/.tmp_versions
rm -f /tmp/vbox.1/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.1
  gcc -m32 -Wp,-MD,/tmp/vbox.1/linux/.SUPDrv-linux.o.d  -nostdinc -isystem
/usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude  -include include/linux/a
utoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os
-pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i
586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fno-omit-frame-pointer
 -fno-optimize-sibling-calls  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
-I/lib/modules/2.6.20-grml/build/include  -I/tmp/vbox.1/ -I/tmp/vb
ox.1/include -I/tmp/vbox.1/r0drv/linux -D__KERNEL__ -DMODULE -D__LINUX__ -DIN_RING0 -DIN_RT_R0
/tmp/vbox.1/linux/SUPDrv-linux.o /tmp/vbox.1/linux/SUPDrv-linux.c
In file included from /tmp/vbox.1/include/iprt/types.h:55,
                 from /tmp/vbox.1/include/VBox/types.h:25,
                 from /tmp/vbox.1/SUPDRV.h:31,
                 from /tmp/vbox.1/linux/SUPDrv-linux.c:24:
include/linux/types.h:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
include/linux/types.h:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’

The kernel-headers are installed, any ideas?


More information about the Grml mailing list