Discussion Locked

Linux Partition Types

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a way to migrate a Linux ext3 partion to a linux ext2 partion without destroying the data?

5 replies

by t_bonee

Yes. Try the following on an unmounted partition:

tune2fs -O ^has_journal /dev/hdaX

Run fsck on the partition afterwards:

fsck.ext2 -f /dev/hdaX

After this procedure you can delete the .journal file if there was any.

Also check /etc/fstab to make sure that it has ext2 not ext3.

by paulo.sedrez

Yes and no.

Yes, you cam migrate back to ext2. It is a simple matter of removing the journal.

No, you don't need to. ext3 has backward compatibility with ext2; once you have applied the journal (fsck can do that), you can mount an ext3 partition as ext2 without any problems; in the future, you can mount that same partition again as ext3, any time.

--Sedrez

This discussion is closed to new replies.