General discussion

Locked

Linux Partition Types

By cmcdiesel ·
Is there a way to migrate a Linux ext3 partion to a linux ext2 partion without destroying the data?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Linux Partition Types

by t_bonee In reply to Linux Partition Types

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.

Collapse -

Linux Partition Types

by cmcdiesel In reply to Linux Partition Types

The question was auto-closed by TechRepublic

Collapse -

Linux Partition Types

by paulo.sedrez In reply to Linux Partition Types

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

Collapse -

Linux Partition Types

by cmcdiesel In reply to Linux Partition Types

The question was auto-closed by TechRepublic

Collapse -

Linux Partition Types

by cmcdiesel In reply to Linux Partition Types

This question was auto closed due to inactivity

Back to Linux Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums