LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   kernel support ext2 (https://www.linuxquestions.org/questions/linux-from-scratch-13/kernel-support-ext2-152209/)

bingbang 03-01-2004 10:01 AM

kernel support ext2
 
Hi! I have installed LFS 5.0 and when booting I get a kernel panic (something about not being able to mount root filesystem). So I thought that I've forgotten to include support for ext2 in my kernel, so went for recompilling. But I can't find ext2 in menuconfig. Reiser and ext3(shuldn't this "know" ext2 ?) are there. Can someone help me? Or at least give me somethig to read :D.
Oh .. it's kernel 2.4.22.

Thanks

lou IbmiX XI 03-01-2004 11:11 AM

I'm not sure but i think ext3 can handle ext2 partition, the only difference between ext2 and ext3 is that ext3 is a journalised fs. Are you compiling ext3 (or ext2) as a static part of the kernel, or as a module? Since your root partition must be read BEFORE any kernel's modules could be charged, you must compile ext3 as static part of the kernel, or use an init ramdisk.

bingbang 03-01-2004 12:22 PM

Well..either the reiserfs support was the culprit or it's just me; I got confused with the grub's way of numbering partitions (until now I used lilo) and I was trying to boot from my swap partition :rolleyes:; I have to agree: only stupidity and the universe are infinit. I'll count using my fingers next time :).
Anyway.. I'm a LFS 5.0 user, very tired but immensely content.

Thanks for trying to help :)

cjcuk 03-03-2004 01:27 AM

It is there, most likely. It is called `Second extended filesystem', or something similar, rather than Ext2.

ryoseph 03-29-2004 07:49 AM

isnt ext2 the standard linux filesystem?!
 
Hello,

I think you can;t find any kernel options for ext2 because its standard built into you're kernel... but i am not sure. I think this is the standard because ext2 is sometimes referred to as 'the linux filesystem'... also programs like cfdisk use these terms to identify ext2...

greetings

Ryo

Andrew Benton 03-29-2004 01:38 PM

So why have I got
CONFIG_EXT2_FS=y
in the File System section of /usr/src/linux/.config?

ryoseph 03-29-2004 02:15 PM

tnx for clearing this out, once and for all
 
Hello,

You've just taken away another uncertainty in my life! thank you :D, especially for you're friendly, sensitive and direct approach to the problem ;)... You're question reorganized my thoughts, now i can see the kernel-option light again. :p

and no i don't know why the 'guys' who make up the kernel have added this silly option, but i guess someone as smart :cool: as you are can figure this out :study: ....

warm greetings,

RyOsEpH
:newbie:


All times are GMT -5. The time now is 04:39 PM.