How to convert back Linux ext3 file system to ext2 file system

Q. How can I convert back Linux ext3 file system to ext2 under Linux?

Advertisement

A. First use umount command to detach the file system mentioned from the file system hierarchy.

For example, if your partition name is /dev/hda5, type the command:
# umount /dev/hda5

Now change the file system type to ext2 by typing the following command
# tune2fs -O ^has_journal /dev/hda5

Verify that there are no error:
# e2fsck -y /dev/hda5

Mount the file system to original mount point (for example /home or /mnt):
# mount -t ext2 /dev/hda5 /home

Go to mount point and remove .journal file
# rm -f .journal

Please note that you need to replace /dev/hda5 with your actual partition name.

See official Redhat guide for more information.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

0 comments… add one

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.