[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: ext3 to ext2 conversion causes kernel panic



Thanks for the reaction!

To be sure I am not struggling with a "home-made" problem I decided to
make a clean start. Let me describe the steps I took:
 
* I've installed Linux 7.3 using ext3 on a test box.
* I started Linux to be sure the installation went ok
* Everything worked as expected
* Then I run KNOPPIX (3.1) to be able to access the partitions of the
previous installation.
* I've downloaded the actual version of the e2fsprogs (1.32) from
sourceforge
* I changed to the directory where I've build the e2fsprogs
* sudo ./tune2fs -O ^has_journal /dev/foo
* tune2fs reported no problems
* sudo ./e2fsck /dev/foo
* e2fsch reported clean
* sudo mount -t ext2 /dev/foo /mnt/foo
* I changed the ext3 entry to ext2 in /mnt/foo/etc/fstab
* Rebooted the system an tried to start-up the "ordinary" linux
installation
* Unfortunately the start-up sequence still reports a kernel panic.

?-)
Wolfgang



-----Original Message-----
From: ext3-users-admin redhat com [mailto:ext3-users-admin redhat com]
On Behalf Of Theodore Ts'o
Sent: Freitag, 13. Dezember 2002 22:03
To: ext3-users redhat com
Subject: Re: ext3 to ext2 conversion causes kernel panic

On Fri, Dec 13, 2002 at 08:44:41PM +0000, Sean Neakums wrote:
> commence  Wolfgang Auer quotation:
> 
> > I try to convert my RedHat 7.3. partitions from ext3 to ext2. I have
> > found a thread dealing with this issue.
> > Thus: "tune2fs -O ^has_journal /dev/foo" and "e2fsck /dev/foo" will
do
> > the magic!
> 
> You should probably use tune2fs -j /dev/foo instead.

And make sure you upgrade to the latest version of e2fsprogs.  RedHat
7.x probably has a somewhat old version of e2fsprogs, and you'll be
much happier upgrading to a newer version.

> > This works fine for "/boot" but when I try to convert "/" my
> > kernel panics? The kernel panics message appears shortly after the
> > attempt to startup kjournald.
> > How can I prevent the kernel panic?
> 
> You are umounting the FSes before you convert them first, right?  If
> you want to convert your root fs, you'll need to boot from a rescue
> disk or somesuch.

Also what's this about "attempt to startup kjournald"?  That only
happens when you attempt to mount an ext3 filesystem, and that only
happens when reboot the system.  (We don't support changing filesystem
types as part of a remount operation.  Did you try to mount the root
filesystem as ext3 when it was already mounted as ext2, by any chance?
Don't do that....)

						- Ted








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]