Solved

ReiserFS

Posted on 2006-07-11
8
331 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

856 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