Reiser4 Install Guide for Ubuntu 5.10
Hi Hans,
Allow me to introduce myself, I'm one of Peter (aka pvh)'s colleagues here at the University of Victoria. A while back we mentioned we'd write a practical install guide for Reiser4 with Ubuntu 5.10. Well, here it is. Let us know if you want us to make any changes to the format or add/remove any steps.
All version references in this document are up to date for Ubuntu 5.10(Breezy Badger).
Prerequisites: Add the universe repository to your sources
1. Install all the software needed to compile the kernel
# apt-get build-dep linux-source-2.6.12 # apt-get install linux-source-2.6.12 checkinstall libncurses-dev
2. Use the following commands to download the latest Reiser4 kernel patch, the Reiser4 utility programs, and required libraries.
# wget ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.12/reiser4-for-2.6.12-3.patch.gz # wget ftp://ftp.namesys.com/pub/reiser4progs/reiser4progs-1.0.5.tar.gz # wget ftp://ftp.namesys.com/pub/reiser4progs/libaal-1.0.5.tar.gz
3. Install libaal
# tar zxf libaal-1.0.5.tar.gz # cd libaal-1.0.5 # ./configure; make # checkinstall At the prompt: "Should I create a default set of package docs? [y]:" type "y" and press enter. You will then be prompted to input a description of the package. Enter something like "locally built libaal" then press enter three times. # cd ..
4. Install reiser4progs
# tar zxf reiser4progs-1.0.5.tar.gz # cd reiser4progs-1.0.5 # ./configure; make # checkinstall At the prompt: "Should I create a default set of package docs? [y]:" type "y" and press enter. At the prompt: "Do you want me to list them? [n]:" type "n" and press enter. At the prompt: "Should I exclude them from the package? (Saying yes is a good idea) [y]:" type "y" and press enter. You will then be prompted to input a description of the package. Type something like "locally built libaal" then press enter three times.
5. Unzip and add the reiser4 code to the linux source
# cd /usr/src # tar xvf linux-source-2.6.12.tar.bz2 # cd linux-source-2.6.12/ # gunzip -c ~/reiser4-for-2.6.12-3.patch.gz | patch -p1
6. Compile the kernel
# make menuconfig Select "File systems --->" from the menu and press enter. Select "Reiser4 (EXPERIMENTAL) (NEW)" and type "M". Press the esc key twice. Select "yes" at the prompt. # make ... much time passes ...
7. Build a Debian install package for the kernel
# make-kpkg --rootcmd fakeroot --append-to-version --initrd --
8. Reboot with the new kernel, create a Reiser partition and mount it and you're good to go!
Flx, please add this to our website under an appropriate location (install I imagine). Ryan, if it is not added in 3 days, please complain.
flx, please list Ryan at the top as the author.
Oh, and thanks much Ryan!
Hans
Quoted 71 lines · Ryan Nordman
Hi Hans,
Allow me to introduce myself, I'm one of Peter (aka pvh)'s colleagues here at the University of Victoria. A while back we mentioned we'd write a practical install guide for Reiser4 with Ubuntu 5.10. Well, here it is. Let us know if you want us to make any changes to the format or add/remove any steps.
All version references in this document are up to date for Ubuntu 5.10 (Breezy Badger).
Prerequisites: Add the universe repository to your sources
1. Install all the software needed to compile the kernel
# apt-get build-dep linux-source-2.6.12 # apt-get install linux-source-2.6.12 checkinstall libncurses-dev2. Use the following commands to download the latest Reiser4 kernel patch, the Reiser4 utility programs, and required libraries.
# wget ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.12/reiser4-for-2.6.12-3.patch.gz <ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.12/reiser4-for-2.6.12-3.patch.gz> # wget ftp://ftp.namesys.com/pub/reiser4progs/reiser4progs-1.0.5.tar.gz # wget ftp://ftp.namesys.com/pub/reiser4progs/libaal-1.0.5.tar.gz3. Install libaal
# tar zxf libaal-1.0.5.tar.gz # cd libaal-1.0.5 # ./configure; make # checkinstall At the prompt: "Should I create a default set of package docs? [y]:" type "y" and press enter. You will then be prompted to input a description of the package. Enter something like "locally built libaal" then press enter three times. # cd ..4. Install reiser4progs
# tar zxf reiser4progs-1.0.5.tar.gz # cd reiser4progs-1.0.5 # ./configure; make # checkinstall At the prompt: "Should I create a default set of package docs? [y]:" type "y" and press enter. At the prompt: "Do you want me to list them? [n]:" type "n" and press enter. At the prompt: "Should I exclude them from the package? (Saying yes is a good idea) [y]:" type "y" and press enter. You will then be prompted to input a description of the package. Type something like "locally built libaal" then press enter three times.5. Unzip and add the reiser4 code to the linux source
# cd /usr/src # tar xvf linux-source-2.6.12.tar.bz2 # cd linux-source-2.6.12/ # gunzip -c ~/reiser4-for-2.6.12-3.patch.gz | patch -p16. Compile the kernel
# make menuconfig Select "File systems --->" from the menu and press enter. Select "Reiser4 (EXPERIMENTAL) (NEW)" and type "M". Press the esc key twice. Select "yes" at the prompt. # make ... much time passes ...7. Build a Debian install package for the kernel
# make-kpkg --rootcmd fakeroot --append-to-version --initrd --8. Reboot with the new kernel, create a Reiser partition and mount it and you're good to go!
Great! I should note credit is due to Peter van Hardenburg as the author as well.
Quoted 89 lines · Hans Reiser
Flx, please add this to our website under an appropriate location (install I imagine). Ryan, if it is not added in 3 days, please complain.
flx, please list Ryan at the top as the author.
Oh, and thanks much Ryan!
Hans
Quoted 13 lines · Ryan Nordman
Hi Hans,
Allow me to introduce myself, I'm one of Peter (aka pvh)'s colleagues here at the University of Victoria. A while back we mentioned we'd write a practical install guide for Reiser4 with Ubuntu 5.10. Well, here it is. Let us know if you want us to make any changes to the format or add/remove any steps.
All version references in this document are up to date for Ubuntu 5.10 (Breezy Badger).
Prerequisites: Add the universe repository to your sources
Quoted 8 lines
1. Install all the software needed to compile the kernel
# apt-get build-dep linux-source-2.6.12 # apt-get install linux-source-2.6.12 checkinstall libncurses-dev2. Use the following commands to download the latest Reiser4 kernel patch, the Reiser4 utility programs, and required libraries.
# wgetftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.12/reiser4-for-2.6.12-3.patch.gz
Quoted 1 line
<
ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.12/reiser4-for-2.6.12-3.patch.gz
Quoted 5 lines
# wget ftp://ftp.namesys.com/pub/reiser4progs/reiser4progs-1.0.5.tar.gz # wget ftp://ftp.namesys.com/pub/reiser4progs/libaal-1.0.5.tar.gz3. Install libaal
Quoted 8 lines
# tar zxf libaal-1.0.5.tar.gz # cd libaal-1.0.5 # ./configure; make # checkinstall At the prompt: "Should I create a default set of package docs? [y]:" type "y" and press enter. You will then be prompted to input a description of the package. Enter something like "locally built libaal" then press enter threetimes.
Quoted 37 lines
# cd ..4. Install reiser4progs
# tar zxf reiser4progs-1.0.5.tar.gz # cd reiser4progs-1.0.5 # ./configure; make # checkinstall At the prompt: "Should I create a default set of package docs? [y]:" type "y" and press enter. At the prompt: "Do you want me to list them? [n]:" type "n" and press enter. At the prompt: "Should I exclude them from the package? (Saying yes is a good idea) [y]:" type "y" and press enter. You will then be prompted to input a description of the package. Type something like "locally built libaal" then press enter three times.5. Unzip and add the reiser4 code to the linux source
# cd /usr/src # tar xvf linux-source-2.6.12.tar.bz2 # cd linux-source-2.6.12/ # gunzip -c ~/reiser4-for-2.6.12-3.patch.gz | patch -p16. Compile the kernel
# make menuconfig Select "File systems --->" from the menu and press enter. Select "Reiser4 (EXPERIMENTAL) (NEW)" and type "M". Press the esc key twice. Select "yes" at the prompt. # make ... much time passes ...7. Build a Debian install package for the kernel
# make-kpkg --rootcmd fakeroot --append-to-version --initrd --8. Reboot with the new kernel, create a Reiser partition and mount it and you're good to go!
Quoted 57 lines · Ryan Nordman
Hi Hans,
Allow me to introduce myself, I'm one of Peter (aka pvh)'s colleagues here at the University of Victoria. A while back we mentioned we'd write a practical install guide for Reiser4 with Ubuntu 5.10. Well, here it is. Let us know if you want us to make any changes to the format or add/remove any steps.
All version references in this document are up to date for Ubuntu 5.10 (Breezy Badger).
Prerequisites: Add the universe repository to your sources
1. Install all the software needed to compile the kernel
# apt-get build-dep linux-source-2.6.12 # apt-get install linux-source-2.6.12 checkinstall libncurses-dev2. Use the following commands to download the latest Reiser4 kernel patch, the Reiser4 utility programs, and required libraries.
# wget ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.12/reiser4-for-2.6.12-3.patch.gz # wget ftp://ftp.namesys.com/pub/reiser4progs/reiser4progs-1.0.5.tar.gz # wget ftp://ftp.namesys.com/pub/reiser4progs/libaal-1.0.5.tar.gz3. Install libaal
# tar zxf libaal-1.0.5.tar.gz # cd libaal-1.0.5 # ./configure; make # checkinstall At the prompt: "Should I create a default set of package docs? [y]:" type "y" and press enter. You will then be prompted to input a description of the package. Enter something like "locally built libaal" then press enter three times. # cd ..4. Install reiser4progs
# tar zxf reiser4progs-1.0.5.tar.gz # cd reiser4progs-1.0.5 # ./configure; make # checkinstall At the prompt: "Should I create a default set of package docs? [y]:" type "y" and press enter. At the prompt: "Do you want me to list them? [n]:" type "n" and press enter. At the prompt: "Should I exclude them from the package? (Saying yes is a good idea) [y]:" type "y" and press enter. You will then be prompted to input a description of the package. Type something like "locally built libaal" then press enter three times.5. Unzip and add the reiser4 code to the linux source
# cd /usr/src # tar xvf linux-source-2.6.12.tar.bz2 # cd linux-source-2.6.12/ # gunzip -c ~/reiser4-for-2.6.12-3.patch.gz | patch -p1
Quoted 6 lines
6. Compile the kernel
# make menuconfig Select "File systems --->" from the menu and press enter. Select "Reiser4 (EXPERIMENTAL) (NEW)" and type "M". Press the esc key twice. Select "yes" at the prompt.
Must the rest of the kernel options be configured here as well, or does apt-get install the sources with a .config? Most users who know how to configure a kernel will probably know the other steps. If the kernel has to be configured, is the default Ubuntu .config easily available?
Quoted 9 lines
# make ... much time passes ...7. Build a Debian install package for the kernel
# make-kpkg --rootcmd fakeroot --append-to-version --initrd --8. Reboot with the new kernel, create a Reiser partition and mount it and you're good to go!
Signature · 1 line
Jake Maciejewski <[email protected]>
Quoted 65 lines · Jake Maciejewski
Quoted 57 lines · Ryan Nordman
Hi Hans,
Allow me to introduce myself, I'm one of Peter (aka pvh)'s colleagues here at the University of Victoria. A while back we mentioned we'd write a practical install guide for Reiser4 with Ubuntu 5.10. Well, here it is. Let us know if you want us to make any changes to the format or add/remove any steps.
All version references in this document are up to date for Ubuntu 5.10 (Breezy Badger).
Prerequisites: Add the universe repository to your sources
1. Install all the software needed to compile the kernel
# apt-get build-dep linux-source-2.6.12 # apt-get install linux-source-2.6.12 checkinstall libncurses-dev2. Use the following commands to download the latest Reiser4 kernel patch, the Reiser4 utility programs, and required libraries.
# wget ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.12/reiser4-for-2.6.12-3.patch.gz # wget ftp://ftp.namesys.com/pub/reiser4progs/reiser4progs-1.0.5.tar.gz # wget ftp://ftp.namesys.com/pub/reiser4progs/libaal-1.0.5.tar.gz3. Install libaal
# tar zxf libaal-1.0.5.tar.gz # cd libaal-1.0.5 # ./configure; make # checkinstall At the prompt: "Should I create a default set of package docs? [y]:" type "y" and press enter. You will then be prompted to input a description of the package. Enter something like "locally built libaal" then press enter three times. # cd ..4. Install reiser4progs
# tar zxf reiser4progs-1.0.5.tar.gz # cd reiser4progs-1.0.5 # ./configure; make # checkinstall At the prompt: "Should I create a default set of package docs? [y]:" type "y" and press enter. At the prompt: "Do you want me to list them? [n]:" type "n" and press enter. At the prompt: "Should I exclude them from the package? (Saying yes is a good idea) [y]:" type "y" and press enter. You will then be prompted to input a description of the package. Type something like "locally built libaal" then press enter three times.5. Unzip and add the reiser4 code to the linux source
# cd /usr/src # tar xvf linux-source-2.6.12.tar.bz2 # cd linux-source-2.6.12/ # gunzip -c ~/reiser4-for-2.6.12-3.patch.gz | patch -p1Quoted 6 lines
6. Compile the kernel
# make menuconfig Select "File systems --->" from the menu and press enter. Select "Reiser4 (EXPERIMENTAL) (NEW)" and type "M". Press the esc key twice. Select "yes" at the prompt.
Quoted 5 lines
Must the rest of the kernel options be configured here as well, or does apt-get install the sources with a .config? Most users who know how to configure a kernel will probably know the other steps. If the kernel has to be configured, is the default Ubuntu .config easily available?
Also, the kernel that Ubuntu ships with is now patched with usplash, and the initrd is dynamically-configured when linux-kernel-2.6.12-2-i386 or similar is configured if the usplash-artwork (or ?ubuntu-artwork package, where ? is either k or x) package is installed (provided on base install with 5.10 and newer). And then the initrd itself is another issue in and of itself -- IIRC, a large majority of Ubuntu components are built modules, IIRC, even fs support for most root fses...
--
~Mike
- Just my two cents
- No man is an island, and no man is unable.
Am Dienstag, 22. November 2005 01:52 schrieb Ryan Nordman:
Quoted 7 lines
Hi Hans,
Allow me to introduce myself, I'm one of Peter (aka pvh)'s colleagues here at the University of Victoria. A while back we mentioned we'd write a practical install guide for Reiser4 with Ubuntu 5.10. Well, here it is. Let us know if you want us to make any changes to the format or add/remove any steps.
[...]
Quoted 2 lines
8. Reboot with the new kernel, create a Reiser partition and mount it and you're good to go!
Did you also try to make / with reiser4?
Signature · 2 lines
Üdvözlettel -- Mit freundlichen Grüssen, Marcel Hilzinger