Tuesday, June 10, 2014

How to fix CO_E_SERVER_EXEC_FAILURE: Failed to create VirtualBox COM

if you encounter



the solution is simple: download and install exactly the same Vbox Version you had installed before, do NOT update! if you updated then just deinstall everything.

You can get any old version from here: https://www.virtualbox.org/wiki/Download_Old_Builds

Monday, June 9, 2014

How to compile a grsecurity patched kernel under Debian 7

with GCC 4.7

packages you need

# aptitude install patch bin86 kernel-package build-essential lzop bc libncurses5-dev gcc-4.7-plugin-dev

# cd /usr/src
# wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.5.tar.xz
# wget http://grsecurity.net/test/grsecurity-3.0-3.14.5-201406051310.patch

this is an example, use most recent kernel and patch (attention version number!)

# tar -xf linux-3.14.5.tar.xz
# cd linux-3.14.5.tar.xz
# patch -p1 < ../grsecurity-3.0-3.14.5-201406051310.patch

# make menuconfig

config your kernel, see Debian Handbook how to build a kernel and http://en.wikibooks.org/wiki/Grsecurity/Appendix/Grsecurity_and_PaX_Configuration_Options for GRSec Options

# fakeroot make deb-pkg -j5

use j flag in correspondence to your core/threads +1
kernel will be compiled and .debs created

# cd ..
# dpkg -i *.deb

# shutdown -r now

:)