The tune2fs be visible as the file .journal
To convert an ext2 file system to ext3, log in as root and type:
/sbin/tune2fs -j /dev/hdbX |
In the above command, replace /dev/hdb with the device name and X with the partition number.
After doing this, be certain to change the partition type from ext2 to ext3 in /etc/fstab.
If you are transitioning your root file system, you will have to use an initrd image (or RAM disk) to boot. To create this, run the mkinitrd program. For information on using the mkinitrd command, type man mkinitrd. Also make sure your GRUB or LILO configuration loads the initrd.
If you fail to make this change, the system will still boot, but the file system will be mounted as ext2 instead of ext3.
| Главная |