[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ReiserFS: "Filesystem type unknown"
From: |
Jochen Hoenicke |
Subject: |
Re: ReiserFS: "Filesystem type unknown" |
Date: |
Wed, 10 Oct 2001 11:35:56 +0200 (MET DST) |
Hello,
With Jim's help I tracked down the problem and could fix it (fix is in
CVS repository). Grub's reiserfs driver was using a super block
header field to get the journal log size, but this field doesn't
contain any sane value. In this case it had a random value.
BTW, the linux driver uses a fixed value defined in the
fsys_reiserfs.h file instead of looking into the super block fields.
Jochen
PS: Here's the diff:
diff -u -r1.11 fsys_reiserfs.c
--- fsys_reiserfs.c 2001/09/24 08:43:38 1.11
+++ fsys_reiserfs.c 2001/10/05 13:10:56
@@ -620,8 +620,8 @@
if (super.s_journal_block != 0)
{
INFO->journal_block = super.s_journal_block;
- INFO->journal_block_count = super.s_journal_block_count;
- if (INFO->journal_block_count == 0)
INFO->journal_block_count = super.s_orig_journal_size;
if (! is_power_of_two (INFO->journal_block_count))
return 0;
On Oct 4, Jochen Hoenicke wrote:
> On Oct 2, Jim Caley wrote:
> > I had grub working with an ext2 partition, but now that I've converted
> > this partition to reiserfs I can't seem to get grub to recognize it.
> >
> > grub> root (hd0,7)
> > Filesystem type unknown, partition type 0x83
>
> I think, grub doesn't understand the reiserfs super block. I don't
> have a spare partition to test latest reiserfs, but if you would send
> me your reiser super block I can probably see where it fails.