reiser4 patch

patch reiser4

try to patch reiser4 and compile kernel

First of all, install necessary package:

sudo apt-get install fakeroot build-essential kernel-package libncurses5 libncurses5-dev

get kernel source from [kernel.org]

wget ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-3.12.6.tar.bz2
tar xvjf linux-3.12.1.tar.bz2

or

apt-get source linux-image-3.12-1-686-pae

patch reiser4 download from Reiser4 file system for Linux OS

cd linux-image-3.12.6
patch -p1 < ../reiser4-for-3.12.6.patch

Compile kernel

cp /boot/config-`uname -r` ./.config
make menuconifg
make-kpkg clean
fakeroot make-kpkg --initrd   kernel_image kernel_headers

Install new kernel

sudo dpkg -i linux-headers-3.12.6_1.0.reiser4_i386.deb linux-image-3.12.6_1.0.reiser4_i386.deb

reboot

shutdown -r now

done

reference:

  1. http://it.livekn.com/2013/01/compile-kernel.html
  2. http://www.debian.org/releases/stable/i386/ch08s06.html.en

Comments