LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs > blue_print
User Name
Password

Notices


Rate this Entry

Convert ext2 to ext3 file system

Posted 07-13-2011 at 11:31 PM by blue_print

The conversion procedure is very simple enough. Let us assume /dev/sda6 (ext2 now) mounted on /convert. You will be seeing fstb entries like,
Code:
/dev/sda6         /convert             ext2    defaults        0 0
Unmount the partition
Code:
umount /dev/sda6
Enable Journal (converting to ext3) using tune2fs command,
Code:
tune2fs -j /dev/sda6
Edit /etc/fstab and for /dev/sda6 change the file system type to ext3. Finally, the entry should be like this,
Code:
/dev/sda6         /convert             ext3    defaults        1 2
Mount the partition using mount command,
Code:
mount -a
If above command doesnít work, reboot the system and check.
Posted in Linux Basics
Views 3876 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    Nice and short.
    Posted 01-01-2012 at 07:29 AM by vikas027 vikas027 is offline
 

  



All times are GMT -5. The time now is 08:25 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration