Difference between revisions of "Installation on Ubuntu"

From Linux-VServer

Jump to: navigation, search
(Test the Kernel)
Line 44: Line 44:
* boot Kernel
* boot Kernel
* ''uname -r'' Sollte richtigen Kernel anzeigen
* ''uname -r'' should show
* Testscripte ausführen
* run Testscripts
* http://oldwiki.linux-vserver.org/TestScripts
* http://oldwiki.linux-vserver.org/TestScripts
==== usefull Links ====
==== usefull Links ====

Revision as of 15:40, 11 December 2006


Vserver Kernel on Ubuntu Dapper with grsecurity


  • 32 Bit Ubuntu Dapper.
  • installed packages:
apt-get install build-essential gcc make g++ libncurses5-dev

Howto Devel

Get the Kernel

cd /usr/src/ && mkdir kernel && cd kernel
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-
wget http://people.linux-vserver.org/~harry/patch-
tar xfjv linux-
cd linux-

Patch the Kernel

cat ../patch- | patch -p1
cp /boot/vmlinuz-2.6.15-26-server
make oldconfig
make menuconfig

Make the Kernel

make install
make modules_install
mkinitramfs -o /boot/initrd.img-
vi /boot/grub/menu.lst

The Boot entry should look like this

title           Ubuntu,
root            (hd0,0)
kernel          /boot/vmlinuz- root=/dev/sda1 ro quiet splash
initrd          /boot/initrd.img-

Test the Kernel

  • boot Kernel
  • uname -r should show

usefull Links

Personal tools