Welcome to the Reiser4 Wiki, the Wiki for users and developers of the ReiserFS and Reiser4 filesystems.

For now, most of the documentation is just 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 Howto/GRUB

From Reiser4 FS Wiki
(Difference between revisions)
Jump to: navigation, search
m (md5sum added)
m (build libaal, reiser4progs first)
Line 2: Line 2:
  
 
=== 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:
  
 
   $ wget http://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz
 
   $ wget http://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz
Line 10: Line 12:
 
   $ cd grub-0.97
 
   $ cd grub-0.97
 
   $ patch -p1 < ../[[Media:Grub-0.97-libaal-1.0.5-reiser4progs-1.0.5.patch.txt|grub-0.97-libaal-1.0.5-reiser4progs-1.0.5.patch]]
 
   $ patch -p1 < ../[[Media:Grub-0.97-libaal-1.0.5-reiser4progs-1.0.5.patch.txt|grub-0.97-libaal-1.0.5-reiser4progs-1.0.5.patch]]
   $ ./configure --prefix=/opt/grub-r4
+
   $ CPPFLAGS="-I/opt/libaal/include -I/opt/reiser4progs/include" \
 +
    LDFLAGS="-L/opt/libaal/lib -L/opt/reiser4progs/lib" \
 +
    ./configure --prefix=/opt/grub-r4
 
   $ make
 
   $ make
 
   $ sudo make install
 
   $ sudo make install
 
  
 
=== GRUB v2 ===
 
=== GRUB v2 ===

Revision as of 19:43, 3 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. You may have to adjust the pathnames used here:

 $ 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