?
Solved

ReiserFS

Posted on 2006-07-11
8
Medium Priority
?
335 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
WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 8 hours left to enroll

752 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