2004-04-06 13:14:53

by Thomas Bach

[permalink] [raw]
Subject: Workaround for ReiserFS on root-filesystem

Hi Folks!

I use ReiserFS for my root-filesystem while trying to upgrade to a newer
kernel-version (still using 2.4.20) I got a error, that / could not be
remounted read/write. After googling a bit I stumbled over the fact that
ReiserFS as root-filesystem doesn't work since version 2.4.22 (or
something like this).

So I asked myself if there exists any workaround/howto/something-else so
I could get away from making my root-fs to an ext3 one. Does anyone
know something about it?

Thanks,
Thomas Bach


2004-04-06 13:29:53

by Daniel Andersen

[permalink] [raw]
Subject: Re: Workaround for ReiserFS on root-filesystem

> Hi Folks!
>
> I use ReiserFS for my root-filesystem while trying to upgrade to a newer
> kernel-version (still using 2.4.20) I got a error, that / could not be
> remounted read/write. After googling a bit I stumbled over the fact that
> ReiserFS as root-filesystem doesn't work since version 2.4.22 (or
> something like this).
>
> So I asked myself if there exists any workaround/howto/something-else so
> I could get away from making my root-fs to an ext3 one. Does anyone
> know something about it?

Hmm.. It works perfectly fine for me with all 2.4.20-25 kernels, so you
should not trust everything you find on google ;-)
How big is your root partition? Which version of ReiserFS are you using?

2004-04-06 15:18:23

by Thomas Bach

[permalink] [raw]
Subject: Re: Workaround for ReiserFS on root-filesystem

Daniel Andersen wrote:
>>I use ReiserFS for my root-filesystem while trying to upgrade to a newer
>>kernel-version (still using 2.4.20) I got a error, that / could not be
>>remounted read/write. After googling a bit I stumbled over the fact that
>>ReiserFS as root-filesystem doesn't work since version 2.4.22 (or
>>something like this).
>>
> Hmm.. It works perfectly fine for me with all 2.4.20-25 kernels, so you
> should not trust everything you find on google ;-)

I tried all kinds of versions (2.4.22, 2.4.25, 2.6.2 and as allready
mentioned 2.6.5) non of them worked even after playing testing with all
kinds of options...

> How big is your root partition? Which version of ReiserFS are you using?

The root partition is about 950Mb big (776 used...) and I am using
reiserfsprogs-3.6.11

Thomas Bach

2004-04-06 15:28:18

by Tomasz Torcz

[permalink] [raw]
Subject: Re: Workaround for ReiserFS on root-filesystem

On Mon, Apr 05, 2004 at 09:57:48PM +0200, Thomas Bach wrote:
> Daniel Andersen wrote:
> >>I use ReiserFS for my root-filesystem while trying to upgrade to a newer
> >>kernel-version (still using 2.4.20) I got a error, that / could not be
> >>remounted read/write. After googling a bit I stumbled over the fact that
> >>ReiserFS as root-filesystem doesn't work since version 2.4.22 (or
> >>something like this).
>
> I tried all kinds of versions (2.4.22, 2.4.25, 2.6.2 and as allready
> mentioned 2.6.5) non of them worked even after playing testing with all
> kinds of options...

It works for me here:

/dev/ide/host0/bus0/target0/lun0/part4 on / type reiserfs (rw,sync)

Linux mother 2.6.5 #10 Sun Apr 4 08:59:08 CEST 2004 i686 unknown unknown GNU/Linux

It always worked - with 2.4.x, 2.5.x, 2.6.x up to 2.6.5.
--
Tomasz Torcz Only gods can safely risk perfection,
[email protected] it's a dangerous thing for a man. -- Alia

2004-04-06 15:49:50

by Thomas Bach

[permalink] [raw]
Subject: Re: Workaround for ReiserFS on root-filesystem

Tomasz Torcz wrote:
> On Mon, Apr 05, 2004 at 09:57:48PM +0200, Thomas Bach wrote:
>
>>Daniel Andersen wrote:
>>
>>>>I use ReiserFS for my root-filesystem while trying to upgrade to a newer
>>>>kernel-version (still using 2.4.20) I got a error, that / could not be
>>>>remounted read/write. After googling a bit I stumbled over the fact that
>>>>ReiserFS as root-filesystem doesn't work since version 2.4.22 (or
>>>>something like this).
>
> It works for me here:
>
> /dev/ide/host0/bus0/target0/lun0/part4 on / type reiserfs (rw,sync)
>
> Linux mother 2.6.5 #10 Sun Apr 4 08:59:08 CEST 2004 i686 unknown unknown GNU/Linux
>
> It always worked - with 2.4.x, 2.5.x, 2.6.x up to 2.6.5.

OK! I am a bit confused. Could you perhaps pass me your /etc/fstab and
grub.conf/lilo.conf entrys?

Thanks,
Thomas Bach (hopefull that he hasn't to reinstall all this stuff here)

2004-04-06 18:29:19

by Tomasz Torcz

[permalink] [raw]
Subject: Re: Workaround for ReiserFS on root-filesystem

[ replied privately, but I repeat here]

On Mon, Apr 05, 2004 at 10:28:05PM +0200, Thomas Bach wrote:
> > It works for me here:
> >/dev/ide/host0/bus0/target0/lun0/part4 on / type reiserfs (rw,sync)
> >Linux mother 2.6.5 #10 Sun Apr 4 08:59:08 CEST 2004 i686 unknown unknown
> >GNU/Linux
> >
> >It always worked - with 2.4.x, 2.5.x, 2.6.x up to 2.6.5.
>
> OK! I am a bit confused. Could you perhaps pass me your /etc/fstab and
> grub.conf/lilo.conf entrys?

No problem. I'm using devfs, so I had to pass devfs names - the
standard ones as /dev/hda4 don't work.

My lilo conf:

image = /boot/kernel2_6
root = /dev/discs/disc0/part4
label = linux2_6fb
append = "root=/dev/ide/host0/bus0/target0/lun0/part4"

and corresponding grub entry:

root (hd0,3)
title Linux_2.6
kernel (hd0,0)/kernel2_6 acpi=force root=/dev/ide/host0/bus0/target0/lun0/part4 ro


And fstab:

/dev/ide/host0/bus0/target0/lun0/part4 / reiserfs defaults,sync 1 1

Greetings,
--
Tomasz Torcz Only gods can safely risk perfection,
[email protected] it's a dangerous thing for a man. -- Alia