I want to convert one partition of my windows which is NTFS (or can be FAT32) to a linux file system partitioning? I'm looking for some tools or ways to do it for me!

migrated from stackoverflow.com Mar 12 '12 at 15:31

This question came from our site for professional and enthusiast programmers.

  • Are there files on this partition? – iglvzx Mar 12 '12 at 15:58

AFAIK, there's no way to convert NTFS to ext4. These two FSs store information in much different way. Maybe what you can do is to move those files somewhere, then format the partition to ext4 and move them back.

  • 1
    To expand on hexchain's idea, shrink the ntfs partition using a partition manager like gparted, make a ext4 partition, copy the files, delete the NTFS partition, expand the ext4 partition. But if you have a second drive/computer you can copy to, I would recommend using the 2nd drive instead. – Scott Chamberlain Mar 12 '12 at 16:06
  • @Scott Chamberlain Wouldn't that take too much time to expand partition ...? – hexchain Mar 12 '12 at 16:08
  • 1
    Yes, which is why I recommend using a 2nd drive if it is a option, but some people do not have access to a second drive or computer. – Scott Chamberlain Mar 12 '12 at 16:13
  • @Scott Chamberlain I see...it's so considerate of you. – hexchain Mar 12 '12 at 16:15
  • OK how could I do that in windows? – aakpro Mar 12 '12 at 18:07

Actually there IS a way to do this. But unfortunately, only in Linux.

You could easily convert NTFS to ext2 or ext3 with the software anyconvertfs from anyfs-tools

Then you could convert it to ext4 using tune2fs

  • 1
    This is a great idea... he can boot with a Live CD and perform this. – Bigbio2002 Jan 9 '13 at 2:11
  • 2
    I think it's a very bad idea to suggest a claimed "convert anything" tool to a newbie. He might not even understand the fundamental differences of how Unix filesystems and Windows filesystems work! Does he know the execute bit? Does he know that file hiding work differently and there's no Hidden attribute in Unix/Linux? – Explorer09 Oct 5 '16 at 16:43
  • @Explorer09 All he need to know to do this is how to type correct command in Linux (I suppose he knows that if he asking about converting to Linux file system). – PASAf Oct 6 '16 at 17:42
  • @PASAf If he knew that already, he won't be bothered to use the tool you suggested and instead properly format a filesystem and copy the files from a backed-up drive. If he wishes in-place conversion, he would better state that explicitly and know all the risks associated with that. – Explorer09 Oct 8 '16 at 3:03
  • @Explorer09 I think there is no right solution in this case. In my opinion your solution is not suitable for all situations, because not all people in the world who need to convert NTFS to ext4 have two HDDs: one actually they use and one just in case they suddenly come up with idea to swich to Linux. – PASAf Oct 10 '16 at 18:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.