LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-17-2001, 10:00 AM   #1
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15
RH7.2 and kernel recompilation


I'll tried to recompile my redhat 7.2 kernel

This is what i get when booting from it

/lib/ext3.o and then a whole list of error messages.

this happens before the [ok] thing starts

But everything else looked fine.

I took the following steps

downloaded the kernel (2.4.16)

cd /usr/src
rm linux
mkdir linux-2.4.16
ln -s linux-2.4.16 linux

tar -xvzf linux-2.4.16.tar.gz
cd linux
make mrproper

then i copied the config file from /usr/src/linux-2.4.7-10/configs.
cp /usr/src/linux-2.4.7-10/configs/kernel-2.4.7-i686.config /usr/src/linux/.config
then i did a make xconfig
then select load configuration from file
i selected the .config file
then i did:
make dep
make bzImage
make modules
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.4.16
make modules_install
mkinitrd /boot/initrd-2.4.7-10.img 2.4.16
cp /usr/src/linux/System.map /boot/System.map-2.4.16

Then added the lines to load the kernel in the /etc/grub.conf file..

It loads but ext3 does not goes that well have i done something wrong or must i recompile it again (i did it 3 times now and the same thing happens everytime

Thanks for your time.

Last edited by Sylhouette; 12-17-2001 at 10:03 AM.
 
Old 12-17-2001, 01:50 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
sounds like you left out ext3 filesystem support.

it is in the filesystems section
 
Old 12-17-2001, 04:58 PM   #3
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Original Poster
Rep: Reputation: 15
Got it

mkinitrd /boot/initrd-2.4.7-10.img 2.4.16 is the problem

It must be :
mkinitrd /boot/initrd-2.4.16.img 2.4.16

Thanks for your time!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel recompilation ciopi Mandriva 2 11-06-2005 04:18 AM
kernel recompilation sachin_malik Linux - Enterprise 1 05-20-2005 02:57 PM
kernel recompilation najeeb Linux - Networking 1 08-31-2003 06:09 AM
Kernel Recompilation ... tjrajan Linux - General 3 11-18-2001 05:12 PM
Kernel Recompilation Thomas_Delrue Linux - General 1 08-30-2001 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration