Most of the documentation is a snapshot of the old Namesys site (archive.org, 2007-09-29).

There was also a Reiser4 Wiki (archive.org, 2007-07-06) once on pub.namesys.com.

Reiser4 development appears to have stalled and ReiserFS is deprecated and scheduled to be removed from mainline Linux in 2025.

Reiser4 Howto/GRUB

From Reiser4 FS Wiki
(Difference between revisions)
Jump to: navigation, search
m (build libaal, reiser4progs first)
(reiser4progs-1.0.6 compilation)
Line 3: Line 3:
 
=== GRUB ===
 
=== GRUB ===
  
Before building GRUB with [[Reiser4]] support, we have to [[Reiser4progs|build and install (<tt>libaal</tt> and) <tt>reiser4progs</tt>]]. Once we have done that, we can build GRUB. You may have to adjust the pathnames used here:
+
Before building GRUB with [[Reiser4]] support, we have to [[Reiser4progs|build and install (<tt>libaal</tt> and) <tt>reiser4progs</tt>]]. Once we have done that, we can build GRUB. Unfortunately, comilation was not that easy, see the [[{{TALKPAGENAME}}|talkpage for details]], in short:
 +
* compilation against <tt>reiser4progs-1.0.7</tt> fails
 +
* add <tt>-fno-stack-protector</tt> to disable [https://wiki.ubuntu.com/GccSsp SSP], since this seems to be the default for Ubuntu.
 +
 
 +
Well, here is the whole procedure again; you may have to adjust the pathnames used here:
 +
 
 +
  $ wget wget http://www.kernel.org/pub/linux/utils/fs/reiser4/reiser4progs/reiser4progs-1.0.6.tar.gz
 +
  $ wget wget http://www.kernel.org/pub/linux/utils/fs/reiser4/reiser4progs/reiser4progs-1.0.6.tar.gz.sign
 +
  $ gpg --recv-keys [http://kernel.org/signature.html 517D0F0E]
 +
  $ gpg --verify reiser4progs-1.0.6.tar.gz.sign reiser4progs-1.0.6.tar.gz
 +
  $ cd reiser4progs-1.0.6
 +
  $ sed '999 s/^#elif/#else/' -i plugin/node/node40/node40.c
 +
  $ CFLAGS="-fno-stack-protector -I/opt/libaal/include" LDFLAGS="-L/opt/libaal/lib" \
 +
    ./configure --prefix=/opt/reiser4progs-1.0.6
 +
  $ make
 +
  $ sudo make install
 +
 
  
 
   $ wget http://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz
 
   $ wget http://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz

Revision as of 20:00, 4 July 2009

NOTE: this is currently WIP and NOT TESTED AT ALL

GRUB

Before building GRUB with Reiser4 support, we have to build and install (libaal and) reiser4progs. Once we have done that, we can build GRUB. Unfortunately, comilation was not that easy, see the talkpage for details, in short:

  • compilation against reiser4progs-1.0.7 fails
  • add -fno-stack-protector to disable SSP, since this seems to be the default for Ubuntu.

Well, here is the whole procedure again; you may have to adjust the pathnames used here:

 $ wget wget http://www.kernel.org/pub/linux/utils/fs/reiser4/reiser4progs/reiser4progs-1.0.6.tar.gz
 $ wget wget http://www.kernel.org/pub/linux/utils/fs/reiser4/reiser4progs/reiser4progs-1.0.6.tar.gz.sign
 $ gpg --recv-keys 517D0F0E
 $ gpg --verify reiser4progs-1.0.6.tar.gz.sign reiser4progs-1.0.6.tar.gz
 $ cd reiser4progs-1.0.6
 $ sed '999 s/^#elif/#else/' -i plugin/node/node40/node40.c
 $ CFLAGS="-fno-stack-protector -I/opt/libaal/include" LDFLAGS="-L/opt/libaal/lib" \
   ./configure --prefix=/opt/reiser4progs-1.0.6
 $ make
 $ sudo make install


 $ wget http://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz
 $ wget http://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz.sig
 $ gpg --recv-keys FE06BDEF
 $ gpg --verify grub-0.97.tar.gz.sig grub-0.97.tar.gz
 $ tar -xzf grub-0.97.tar.gz
 $ cd grub-0.97
 $ patch -p1 < ../grub-0.97-libaal-1.0.5-reiser4progs-1.0.5.patch
 $ CPPFLAGS="-I/opt/libaal/include -I/opt/reiser4progs/include" \
   LDFLAGS="-L/opt/libaal/lib -L/opt/reiser4progs/lib" \
   ./configure --prefix=/opt/grub-r4
 $ make
 $ sudo make install

GRUB v2

TBD, GRUB 2 support is still not ready.


Files

Personal tools