Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ReiserFS

Posted on 2006-07-11
8
Medium Priority
?
338 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 750 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

598 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