Re: Collapse ext2 and 3 please

David van Hoose
2004-06-25T12:16:13Z

Christoph Hellwig wrote:
> On Fri, Jun 25, 2004 at 07:50:42AM -0400, David van Hoose wrote:
>
>>yeah.. Really. Here's what I do.
>>
>>I have ext3 partitions, so I decided if they are different partitions,
>>then I can compile my kernel with ext2 as a module and ext3 builtin.
>>So I do it and reboot. Panic! Reason? Cannot find filesystem for the
>>root partition.
>>The error is in the kernel itself either way. Pick your reason.
>>1) ext3 is identified as ext2 on bootup.
>>2) There is no fallback to ext3 if ext2 is not found.
>
>
> Doesn't make sense. The kernel just tries all registered filesystems
> for the rootfs until one clames it. It means you either:
>
> - don't actually have ext3 in the kernel or
> - the filesystems actually is ext2 and not ext3
>
> Try calling debugfs /dev/$ROOTDEVICE and then typing features, what does it
> say?

[root@bahamut root]# /sbin/debugfs /dev/sda2
debugfs 1.35 (28-Feb-2004)
debugfs: features
Filesystem features: has_journal filetype needs_recovery sparse_super
debugfs: quit
[root@bahamut root]#

Is that sufficient for you?

Regards,
David