Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I would like to change change file system from ext2 to ext3 without losing any datas, guide me how to do. Thanks in advance...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2012
    Posts
    3

    How to change file system in linux


    Hi

    I would like to change change file system from ext2 to ext3 without losing any datas, guide me how to do.

    Thanks in advance

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    You need a linux/kernel that supports ext3 of course.

    As always for procedures, that affect a whole partition/disk: Backup your data first.

    After that, you can create a journal with
    Code:
    tune2fs -j <YOUR_EXT2_PARTITION>
    and mount the partition as ext3.
    If it worked, then make it reboot proof in /etc/fstab
    You must always face the curtain with a bow.

  3. #3
    Just Joined! pradeeprajkumar's Avatar
    Join Date
    Jun 2010
    Location
    India
    Posts
    72
    If you wish to partition the disks using a GUI application, gparted would be the best option.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,393
    You can do that, if your system kernel supports ext3, since ext3 is just an extension of ext2. The command tune2fs with the -j option will add an ext3 journal to an existing ext2 file system, turning it into an ext3 file system. Check the tune2fs man page for details on how to do that.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •