Solved

ReiserFS

Posted on 2006-07-11
8
326 Views
Last Modified: 2013-12-16
Hi!

i'm trying to upgrade my 2.6.9-5 kernel for allowing reiserFS partitions, but i need to build the kernel from a SPEC file and i have always compiled using traditional form (make config, make dep, etc). How i can install a new kernel using a rebuilded kernel with reiserfs support?

Thanks in advance!
0
Comment
Question by:morsa804tons
  • 5
  • 3
8 Comments
 
LVL 22

Expert Comment

by:pjedmond
ID: 17084309
Depending on the kernel you've got, you may not need to rebuild your kernel. Look in:

ls /lib/modules/2.6.9-5/kernel/fs/

Is there a reiserfs/resiserfs.o   ?

In which case:

insmod /lib/modules/2.6.9-5/kernel/fs/reiserfs/resiserfs.o

and you have reiser support.

(   (()
(`-' _\
 ''  ''

0
 

Author Comment

by:morsa804tons
ID: 17084408
i didn't find this module in my modules dir :(
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 250 total points
ID: 17084510
I'm very suprised that you do not have a reiser module somewhere? Most modern kernels have a module for it. What distro and version have you got?

Why do you need to build your kernel from a SPEC file?

In your boot directory, you should have a config file for the curernt kernel tht you are using.

Ensure that you have downloaded the kernel source, and using the config file, alter the ReiserFS settings in the config file. Follow 'kernel rebuild instructions from:

http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

However, before you go down this fairly complex route, check whether you have:

/lib/modules/2.6.9-5/unsupported/fs/reiserfs/reiserfs.o    (or similar)

in which case:

insmod /lib/modules/2.6.9-5/unsupported/fs/reiserfs/reiserfs.o

Alternatively try:

find /lib | grep -i reiser

and see if you can locate your reiser module. If the above gives no results, then try:

find / | grep -i reiser

(   (()
(`-' _\
 ''  ''


0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17084527
As an aside, if the module exists, then merely requesting to mount a reiserfs, or including a reiserfs in your fstab, should cause the reiserfs module to be automatically installed.

(   (()
(`-' _\
 ''  ''
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:morsa804tons
ID: 17084828
when i tried to recompile:

  CHK     include/linux/version.h
  CHK     include/asm-i386/asm_offsets.h
make[1]: *** No hay ninguna regla para construir el objetivo `init/main.o', necesario para `init/built-in.o'.  Alto.
make: *** [init] Error 2
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17085062
You need to install the kernel-devel rpm (or equivalent) for your system and kernel version. This includes the header files required for it.

(   (()
(`-' _\
 ''  ''

0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17085642
Did you find the module already on your system then?

(   (()
(`-' _\
 ''  ''

0
 

Author Comment

by:morsa804tons
ID: 17086369
no, i'm already recompiling kernel, but it seems to succeed this time... tha a lot for your help =)
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now