Diff for "reiser4"


Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2014-09-12 12:58:31
Size: 1929
Editor: zux182-249
Comment:
Revision 7 as of 2024-08-08 02:03:35
Size: 2545
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<<Include(Tag/Unsupported)>>
Line 13: Line 15:
=== Configure and Compile Resier4 Kernel Module for Ubuntu 14.04 Trusty Tahr === === Download and install Reiser4 3.13 Kernel Patch ===
Line 15: Line 17:
wget 'http://sourceforge.net/projects/reiser4/files/reiser4-for-linux-3.x/reiser4-for-3.13.6.patch.gz'
gunzip reiser4-for-3.13.6.patch.gz
Line 16: Line 21:
patch -p1 <../reiser4-for-3.13.6.patch
}}}

=== Configure and Compile Reiser4 Kernel Module for Ubuntu 14.04 Trusty Tahr ===
{{{
Line 21: Line 31:
==== This takes the current configuration for each architecture/flavour supported and calls menuconfig for that. The chmod is needed because the way the source package is created loses the executable bits on the scripts. === ==== Enable in the Menu Configuration under Filesystem the Reiser4 Module to be compiled for your architecture. ===
Line 23: Line 33:
fakeroot debian/rules binary-headers binary-generic ==== Start the Compile Process ===
DEB_BUILD_OPTIONS=parallel=2 AUTOBUILD=1 NOEXTRAS=1
fakeroot debian/rules binary-headers binary-generic
Line 44: Line 55:
=== Trouble Shooting ===
{{{
If for some reason this kernel release doesn’t work properly for you, reboot into previous kernel (Grub -> Advanced -> select previous kernel) and run this command to remove Linux Kernel 3.15:

sudo apt-get remove linux-headers-3.13.0-35* linux-image-3.13.0-35*

Finally update grub menu:

sudo update-grub
}}}

Tag/tag.png

Unsupported Version
This article applies to an unsupported version of Ubuntu. More info...

Building Reiser4 Kernel Module from Sources on Ubuntu 14.04 Trusty Tahr

Get the Ubuntu 14.04 Trusty Tahr 3.13 Linux Kernel Source Code from the Repo

apt-get source linux-image-$(uname -r)

Install additional Software

sudo apt-get build-dep linux-image-$(uname -r)

Download and install Reiser4 3.13 Kernel Patch

wget 'http://sourceforge.net/projects/reiser4/files/reiser4-for-linux-3.x/reiser4-for-3.13.6.patch.gz'
gunzip reiser4-for-3.13.6.patch.gz

cd linux-3.13.0 
patch -p1 <../reiser4-for-3.13.6.patch

Configure and Compile Reiser4 Kernel Module for Ubuntu 14.04 Trusty Tahr

chmod a+x debian/scripts/*
chmod a+x debian/scripts/misc/*
fakeroot debian/rules clean

fakeroot debian/rules editconfigs
==== Enable in the Menu Configuration under Filesystem the Reiser4 Module to be compiled for your architecture. ===

==== Start the Compile Process ===
DEB_BUILD_OPTIONS=parallel=2 AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules binary-headers binary-generic

Install the new compiled Ubuntu Kernel with Reiser4 Module Support

If the build is successful, a set of several .deb binary package files will be produced in the directory above the build root directory. For example after building a kernel with version "3.13" on an ubuntu 14.04 system, these .deb packages would be produced:

    cd ..
    ls *.deb
       linux-headers-3.13.0-35_3.13.0-35.62_all.deb
       linux-headers-3.13.0-35-generic_3.13.0-35.62_i386.deb
       linux-image-3.13.0-35-generic_3.13.0-35.62_i386.deb
       linux-image-extra-3.13.0-35-generic_3.13.0-35.62_i386.deb
       linux-tools-3.13.0-35-generic_3.13.0-35.62_i386.deb

Install the package set (on your build system, or on a different target system) with dpkg -i and then reboot:

    sudo dpkg -i linux*.deb
    sudo reboot

Trouble Shooting

If for some reason this kernel release doesn’t work properly for you, reboot into previous kernel (Grub -> Advanced -> select previous kernel) and run this command to remove Linux Kernel 3.15:

sudo apt-get remove linux-headers-3.13.0-35* linux-image-3.13.0-35*

Finally update grub menu:

sudo update-grub

Further Documentation


CategorySoftware

reiser4 (last edited 2024-08-08 02:03:35 by inclusive-disjunction)