Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to convert from ext3 back to ext2

0 views
Skip to first unread message

Warren Bell

unread,
Nov 22, 2001, 10:43:45 AM11/22/01
to
I found how to do this on some newsgroups by typing:

tune2fs -O ^has_journal /dev/hda[x]

but even shutting down to single user mode doesn't let me do it. It
says the filesystem had to be mounted in read only mode. How can I get
to where I can delete the journal and go back to ext2?

bdonlan

unread,
Nov 22, 2001, 11:31:08 AM11/22/01
to
Warren Bell wrote:

Boot with:

init=/bin/sh

IE, in lilo:

linux init=/bin/sh

--
make me
---
make: *** No rule to make target `me'. Stop.

Warren Bell

unread,
Nov 22, 2001, 11:42:32 AM11/22/01
to
bdonlan <bdo...@NOmaine.SPrr.AMcom> wrote:

> Warren Bell wrote:
>
>> I found how to do this on some newsgroups by typing:
>>
>> tune2fs -O ^has_journal /dev/hda[x]
>>
>> but even shutting down to single user mode doesn't let me do it. It
>> says the filesystem had to be mounted in read only mode. How can I
>> get to where I can delete the journal and go back to ext2?
>
> Boot with:
>
> init=/bin/sh
>
> IE, in lilo:
>
> linux init=/bin/sh
>

Ok, what I did was booted with 'linux single' then ran 'umount /' and
'umount /boot'. Then I ran 'tune2fs -O ^has_journal /dev/hda[x]' on
both drives and changed /etc/fstab to mount as ext2.

After that the system wouldn't boot complaining about a missing
journal. What am I doing wrong? I have to use the CD to rescue and go
back a recreate the journal.

How can I get rid of ext3 permanently and have the system boot up to
ext2?

Thanks

Martin Kroeker

unread,
Nov 22, 2001, 11:15:05 AM11/22/01
to
Warren Bell <wj...@pacbell.net> wrote:
> but even shutting down to single user mode doesn't let me do it. It
> says the filesystem had to be mounted in read only mode. How can I get
> to where I can delete the journal and go back to ext2?

mount /whatever -o remount,ro
should do the trick. Why do you want to go back to ext2, BTW ?

Martin
--
Dr. Martin Kroeker, daveg GmbH i.G. Darmstadt CAD/CAM/CAQ m...@daveg.com
Precision Powered by Penguins

Daniel Kenzelmann

unread,
Nov 22, 2001, 12:21:11 PM11/22/01
to
> How can I get rid of ext3 permanently and have the system boot up to
> ext2?

Edit /etc/fstab, that's all (and you can delete the journal file if you
want to)


--
bug, n:
A son of a glitch.

Warren Bell

unread,
Nov 22, 2001, 12:38:15 PM11/22/01
to
Daniel Kenzelmann <kenz...@remove.stud.uni-frankfurt.de> wrote:

>> How can I get rid of ext3 permanently and have the system boot up to
>> ext2?
>
> Edit /etc/fstab, that's all (and you can delete the journal file if
> you want to)
>
>

I did that and the EXT3 stuff at boot was still showing up. And when I
deleted the journal file the system wouldn't boot.

Warren Bell

unread,
Nov 22, 2001, 12:48:48 PM11/22/01
to
Martin Kroeker <m...@daveg.com> wrote:

> Warren Bell <wj...@pacbell.net> wrote:
>> but even shutting down to single user mode doesn't let me do it. It
>> says the filesystem had to be mounted in read only mode. How can I
>> get to where I can delete the journal and go back to ext2?
>
> mount /whatever -o remount,ro
> should do the trick. Why do you want to go back to ext2, BTW ?
>
> Martin

Because my system (redhat 7.2) was doing some strange lockups.
Complete freezes. So I'm trying things one thing at a time to debug
it. Also I read that the only real advantage of ext3 is skipping the
fsck at startup. But when my system locked and I rebooted it gave me
the option to do a system check. I choose yes and it's the same speed
doing the fsck as ext2 was.

Now I think I have ext3 disabled. I had to reinstall the kernel wile
running in ext2, then edit lilo.conf and remove the initrd line, then
go into single mode and remove the journal with tune2fs -O ^has_journal
/dev/...

But there's still the choice to skip fsck at boot, the one where it
counts down from 5 seconds. Is this part of ext3 or is redhat just
giving a choice now to fsck or not?

Also, after getting everything back to ext2 I shut the computer off in
X just to test the fsck out. When I boot and X first starts I still
get a flash on the screen of the desktop in the state it was when I
powered off with no shutdown. I noticed it doing this when I first
installed 7.2 with ext3 and thought it might be somthing to do with the
journal saving the last state of the system. Since I'm still seeing
this, it ext3 still active on the system?

Thanks

J Hayward

unread,
Nov 22, 2001, 3:00:14 PM11/22/01
to
On Thu, 22 Nov 2001 09:48:48 -0800, Warren Bell wrote:

<snip...>


>
> Because my system (redhat 7.2) was doing some strange lockups. Complete
> freezes. So I'm trying things one thing at a time to debug it. Also I
> read that the only real advantage of ext3 is skipping the fsck at
> startup. But when my system locked and I rebooted it gave me the option
> to do a system check. I choose yes and it's the same speed doing the
> fsck as ext2 was.
>

Just out of curiousity can you give a description of the hardware you are
running and what kind of lockups you are experiencing?
When do the lockups happen?
Do the lockups seem to happen when doing a specific task and/or running a
specific program/service, etc...?
Are you getting any error messages?
Are you getting any error messages in /var/log/messages?

Regards,
Jim H

--
Visit the discussion board at:
http://www.getlinuxonline.com/cgi-bin/Discussion/YaBB.cgi

Warren Bell

unread,
Nov 22, 2001, 3:29:11 PM11/22/01
to
J Hayward <spamnot...@nowhere.com> wrote:

> On Thu, 22 Nov 2001 09:48:48 -0800, Warren Bell wrote:
>
> <snip...>
>>
>> Because my system (redhat 7.2) was doing some strange lockups.
>> Complete
>> freezes. So I'm trying things one thing at a time to debug it. Also
>> I read that the only real advantage of ext3 is skipping the fsck at
>> startup. But when my system locked and I rebooted it gave me the
>> option
>> to do a system check. I choose yes and it's the same speed doing the
>> fsck as ext2 was.
>>
>
> Just out of curiousity can you give a description of the hardware you
> are running and what kind of lockups you are experiencing?
> When do the lockups happen?
> Do the lockups seem to happen when doing a specific task and/or
> running a specific program/service, etc...?
> Are you getting any error messages?
> Are you getting any error messages in /var/log/messages?
>
> Regards,
> Jim H
>

I have a soyo 5ema+ motherboard with an amd k62 500 and 256M of pc100.
(2x128) I have a seagate 8G ide hard drive (fairly new, cant remember
the model), a voodoo3 2000 video card, linksys network card, cheaper sb
compadible isa soundcard and a CD and CD writer.

The lockups happen at random. Sometimes during maintanence, sometimes
when starting netscape and other times when I'm not doing anything. (it
lock up on my the last time replying to this post with just kmail open)

I've tried switching the memory and that doesn't help. I also have
problems compiling programs. It will usually segfault.

I don't know if it's this release of readhat or what but I haven't had
very good luck with it. I ordered an ECS MB with a thunderbird 900
proccessor that I'll replace in a couple days and see if that works.

Warren Bell

unread,
Nov 22, 2001, 3:37:10 PM11/22/01
to
Warren Bell <wj...@pacbell.net> wrote:

> But there's still the choice to skip fsck at boot, the one where it
> counts down from 5 seconds. Is this part of ext3 or is redhat just
> giving a choice now to fsck or not?

I got everything working except that there's still the chioce at boot
to skip the fsck or choose yes. But now that I've removed ext3, if I
choose yes to fsck it does it. If I let the time run out to skip it it
does it anyway. Does anyone know how to remove this prompt to fsck?
Without ext3 it doesn't do any good exept slow the boot time.

J Hayward

unread,
Nov 22, 2001, 6:15:13 PM11/22/01
to
On Thu, 22 Nov 2001 12:29:11 -0800, Warren Bell wrote:

> I have a soyo 5ema+ motherboard with an amd k62 500 and 256M of pc100.
> (2x128) I have a seagate 8G ide hard drive (fairly new, cant remember
> the model), a voodoo3 2000 video card, linksys network card, cheaper sb
> compadible isa soundcard and a CD and CD writer.
>

I dont see anything here that should really get you a problem.I have a
box with similiar hardware. K62-550, Tyan S1598C2, Voodoo Banshee,
linksys network, SB Live, Adaptec 2930 SCSI adapter. RH 7.2 is rock solid.

> The lockups happen at random. Sometimes during maintanence, sometimes
> when starting netscape and other times when I'm not doing anything. (it
> lock up on my the last time replying to this post with just kmail open)

Do these lockups only happen under KDE?
Do you get lockups in Gnome or console mode also?

If it is only happening under KDE, KDE 2.2.2 rpm's are available for RH
7.2.They seem to work great so far. :-) kdelibs-2.2.2 is built against a newer
libxslt, I had to download libxml2-2.4.10-2 and libxslt-1.0.7-4 from rawhide
to satisfy the dependency. I recompiled the source rpms for libxml2-2.4.10-2
and libxslt-1.0.7-4, I didn't install the binary rpm's from rawhide, but
they should work also.



>
> I've tried switching the memory and that doesn't help. I also have
> problems compiling programs. It will usually segfault.
>

gcc segfaults? Which version 2.96 or 3?

> I don't know if it's this release of readhat or what but I haven't had
> very good luck with it. I ordered an ECS MB with a thunderbird 900
> proccessor that I'll replace in a couple days and see if that works.

I going to upgrade also, hopefully within the next month. I hoping to get
a dual athlon Tyan 2460. Only about $220 for the mb. Tyan was displaying
a 2466 at Comdex. Only Difference was the newer 760MPX chipset. It adds
66mhz PCI slots, which I don't need.

Have you installed all the lastest errata?

Warren Bell

unread,
Nov 22, 2001, 6:59:18 PM11/22/01
to
J Hayward <spamnot...@nowhere.com> wrote:

> On Thu, 22 Nov 2001 12:29:11 -0800, Warren Bell wrote:
>
>> I have a soyo 5ema+ motherboard with an amd k62 500 and 256M of
>> pc100. (2x128) I have a seagate 8G ide hard drive (fairly new, cant
>> remember the model), a voodoo3 2000 video card, linksys network card,
>> cheaper sb compadible isa soundcard and a CD and CD writer.
>>
>
> I dont see anything here that should really get you a problem.I have a
> box with similiar hardware. K62-550, Tyan S1598C2, Voodoo Banshee,
> linksys network, SB Live, Adaptec 2930 SCSI adapter. RH 7.2 is rock
> solid.
>
>> The lockups happen at random. Sometimes during maintanence,
>> sometimes when starting netscape and other times when I'm not doing
>> anything. (it lock up on my the last time replying to this post with
>> just kmail open)
>
> Do these lockups only happen under KDE?
> Do you get lockups in Gnome or console mode also?

I think so. I'm always in KDE. But It's been happening for a few days
now and I just upgraded to KDE 2.2.2 today and it's still happening.

The only thing I can think of is when I used linuxconf gor the first
time I *think* that's the first time it locked up. Anywhere I could
look for a problem with linuxconf?

>
> If it is only happening under KDE, KDE 2.2.2 rpm's are available for
> RH 7.2.They seem to work great so far. :-) kdelibs-2.2.2 is built
> against a newer libxslt, I had to download libxml2-2.4.10-2 and
> libxslt-1.0.7-4 from rawhide to satisfy the dependency. I recompiled
> the source rpms for libxml2-2.4.10-2 and libxslt-1.0.7-4, I didn't
> install the binary rpm's from rawhide, but they should work also.
>
>>
>> I've tried switching the memory and that doesn't help. I also have
>> problems compiling programs. It will usually segfault.
>>
>
> gcc segfaults? Which version 2.96 or 3?
>

2.96-98

>> I don't know if it's this release of readhat or what but I haven't
>> had
>> very good luck with it. I ordered an ECS MB with a thunderbird 900
>> proccessor that I'll replace in a couple days and see if that works.
>
> I going to upgrade also, hopefully within the next month. I hoping to
> get a dual athlon Tyan 2460. Only about $220 for the mb. Tyan was
> displaying a 2466 at Comdex. Only Difference was the newer 760MPX
> chipset. It adds 66mhz PCI slots, which I don't need.
>

I found a pretty good deal for the ECS MB and TB 900 for $139. Can't
beat that price :) Even though it's got onboard audio the board has
some pretty good reviews.

http://www.peachpc.com/item357.htm



> Have you installed all the lastest errata?
>

Yeah, everythings up to date.

It seems like hardware. I looked in my logs and can't find anything
either..

> Regards,
> Jim H

J Hayward

unread,
Nov 22, 2001, 7:30:46 PM11/22/01
to
On Thu, 22 Nov 2001 15:59:18 -0800, Warren Bell wrote:
>>
>> Do these lockups only happen under KDE? Do you get lockups in Gnome or
>> console mode also?
>
> I think so. I'm always in KDE. But It's been happening for a few days
> now and I just upgraded to KDE 2.2.2 today and it's still happening.
>
> The only thing I can think of is when I used linuxconf gor the first
> time I *think* that's the first time it locked up. Anywhere I could
> look for a problem with linuxconf?
>
>
You can always find out about bugs for RedHat Linux that have been
reported or file your own bug reports here:

http://bugzilla.redhat.com/bugzilla/

If you are looking for a better GUI configuration tool try Webmin.
http://www.webmin.com/webmin/


>> gcc segfaults? Which version 2.96 or 3?
>>
>>
> 2.96-98

You might want to check bugzilla and see if anyone is getting the same
segfault with gcc. If not you might want to file a bug report. Be sure to
give detailed information and if possible a code snippet that reproduces
the problem.


>>> I don't know if it's this release of readhat or what but I haven't had
>>> very good luck with it. I ordered an ECS MB with a thunderbird 900
>>> proccessor that I'll replace in a couple days and see if that works.
>>
>> I going to upgrade also, hopefully within the next month. I hoping to
>> get a dual athlon Tyan 2460. Only about $220 for the mb. Tyan was
>> displaying a 2466 at Comdex. Only Difference was the newer 760MPX
>> chipset. It adds 66mhz PCI slots, which I don't need.
>>
>>
> I found a pretty good deal for the ECS MB and TB 900 for $139. Can't
> beat that price :) Even though it's got onboard audio the board has
> some pretty good reviews.
>
> http://www.peachpc.com/item357.htm
>
>> Have you installed all the lastest errata?
>>
>>
> Yeah, everythings up to date.
>
> It seems like hardware. I looked in my logs and can't find anything
> either..

Yes, it does sound like it could be hardware related. Are you using any
"aggressive" bios setting? i.e. memory timing, etc... If so might try
loading the bios defaults. Also might be a DRAM chip starting to go bad. Might
ry running memtest86

http://www.teresaudio.com/memtest86/

Warren Bell

unread,
Nov 22, 2001, 7:45:46 PM11/22/01
to
J Hayward <spamnot...@nowhere.com> wrote:

Thanks. I've already checked all the bios settings and switched out
the memory twice. If it's hardware it could be so many things. I
guess I'll just have to start changing things until it stops. If the
MB doesn't work I'll just pull things one at a time and see what
happens.

J Hayward

unread,
Nov 22, 2001, 8:44:18 PM11/22/01
to
Warren Bell wrote:
> Thanks. I've already checked all the bios settings and switched out
> the memory twice. If it's hardware it could be so many things. I
> guess I'll just have to start changing things until it stops. If the
> MB doesn't work I'll just pull things one at a time and see what
> happens.

Sheez, you have already done alot of troubleshooting on this. Looks like
you have tried most of the obvious possibilities already. If you have Gnome
installed you might try running it for awhile and see if you still get the
lockups. This would tell you if it is a KDE issue with your hardware. Only
other thing I can think of is a possible issue with XFree86 and your
hardware.

0 new messages