Solved

ReiserFS

Posted on 2006-07-11
8
319 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
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 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

16 Experts available now in Live!

Get 1:1 Help Now