How to Convert ext2 partition into ext3?

Suppose you want to convert your /tmp partition into ext3 then follow the following step:-
1. # init 1(Single user mode)
2.# umount /tmp
or
# mount -o remount,rw /tmp
3.# tune2fs -j /dev/sda9(Here /dev/sda9 represent /tmp partition.you must check using fdisk -l command)
This command add .journal file into /tmp partition.
4.Open /etc/fstab file change partition type of /tmp into ext3.
5.Now check file system type using following command:-
# file -s /dev/sda9
6.# init 6(Restart)

Comments

Post a Comment

Popular posts from this blog

Few tips for Linux User related to MAN page

SEND Mail Using JAVA Mail API