Header
 
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup Hardware Internet Linux Nagios/Monitoring Personal PHP Proxy Shell VMware Windows Wyse

Convert ext2 partition to ext3
Tuesday - Feb 14th 2012 - 3.46 pm (+0100) - Switzerland - (0 comments)

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 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.

Go to Homepage home RSS Feed
About ck about
Linux Howtos how to's
Nagios Plugins nagios plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

9376 Days
until Death of Computers
Why?