Installing reiser4 tools.
1. Obtain libaal, unpack, and build it
The latest libaal is available on
ftp://ftp.namesys.com/pub/reiser4progs/
$ cd libaal-VERSION
$ ./configure
$ make
$ make install # may require root
$ # add /usr/local/lib to /etc/ld.so.conf if not already there
$ /sbin/ldconfig # may require root
Note: The libaal-minimal library (libaal-stand-alone before 1.0.2 version)
is installed by default since 1.0.4 version. To get it installed in earlier
versions (e.g. for the grub support) configure needs some options:
$ ./configure --enable-libminimal
(before 1.0.2: $ ./configure --enable-stand-alone --enable-memory-manager)
2. download reiser4progs, unpack, and build them
The latest reiser4pros are available on
ftp://ftp.namesys.com/pub/reiser4progs/
$ cd reiser4progs-VERSION
$ ./configure
$ make
$ make install # may require root
$ # add /usr/local/lib to /etc/ld.so.conf if not already there
$ /sbin/ldconfig # may require root
Note: The libreiser4-minimal library (libreiser4-stand-alone before 1.0.2
version) is installed by default since 1.0.4 version. To get it installed in
earlier versions (e.g. for the grub support) configure needs some options:
$ ./configure --enable-libminimal
(before 1.0.2: $ ./configure --enable-stand-alone)
3. create reiser4 file system
$ mkfs.reiser4 <path-to-device-or-file>
How to enable the grub support for reiser4.
1. Install as described above libaal-minimal (libaal-stand-alone before
1.0.2) and libreiser4-minimal (libreiser4-stand-alone before 1.0.2)
libraries.
2. Obtain the grub legacy tarball
2.1 The grub itself from
http://www.gnu.org/software/grub/grub.html and
the reiser4 patch for the grub on
ftp://ftp.namesys.com/pub/reiser4progs/LATEST_GRUB_PATCH.
Apply the patch:
$ cd grub-VERSION
$ patch -p1 <grub_patch.diff
$ aclocal && autoheader && autoconf && automake --add-missing
2.2 The grub with reiser4 support from
ftp://ftp.namesys.com/pub/reiser4progs/LATEST_GRUB.
The reiser4 support is enabled by default, to disable it the the option of
the congifure script --disable-reiser4 can be used.
Note: There are a plenty of options in reiser4progs/configure script to decrease
the amount of the code in the libreiser4-minimal (libreiser4-stand-alone
before 1.0.2) library (see --disable-* options), however the result size of
reiser4_stage1_5 in grub does not fit 23,5K size limit now, and probably will
not anymore, so stage1_5 reiser4 support in grub does not work -- use stage2
instead.
*********************************************************
WARNING:
If you created a reiser4 fs with the mkfs version < 1.0.0, first of all run
debugfs.reiser4 -C device
The layout of the super block backups has been changed, this will convert the
fs into the new format. Please check the fs with the
$ fsck.reiser4 device
after that.
*********************************************************