Wednesday, March 16, 2011

Linux - convert Ext2 to Ext3

This is commands to convert Ext2 to Ext3. This example if using volgroups
# tune2fs -j /dev/vgname/lvname
or if using disk /dev/sda
# tune2fs -j/dev/sda

--
If something wrong happened, such as unable to bootup after converted.
Like what happened to me : "kernel panic, unknown ext3 partition"

Convert back from Ext3 to Ext2.
- boot up system using "rescue" mode from installation cd
# tune2fs -O ^has_journal /dev/vgname/lvname
# e2fsck /dev/vgname/lvname
- reboot


0 Comments:

Post a Comment

<< Home