How to convert ext2 file system to ext3

Written by - 0 comments

Published on - last updated on April 29th 2022 - Listed in Linux


Pretty easy but always good to be remembered: How to convert an ext2 to an ext3 partition. I had to do this on the /boot partition, so this can be done live as the partition needs to be unmounted.

The 'convert' process is just an activation of journaling, which is the major difference from ext2 to ext3:

# umount /boot
# tune2fs -j /dev/sda1

Then /etc/fstab needs to be updated that /boot is now an ext3 partition (for the next boot process):

# cat /etc/fstab | grep boot
/dev/sda1            /boot                ext3       acl,user_xattr        1 2

Once mounted again, the file system type can be checked with df:

# mount /dev/sda1 /boot
# df -T
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/sda1     ext3       93307     46284     42206  53% /boot


Add a comment

Show form to leave a comment

Comments (newest first)

No comments yet.

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Icingaweb   Icingaweb2   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder   


Update cookies preferences