Should I choose exFat or NTFS for a "shared" partition in a dual-boot system?

121,654

Solution 1

Yes, you should create a separate NTFS partition to share files between Ubuntu and Windows on your computer.

Ubuntu can safely read and write files on the Windows partition itself.
So you do not really need a separate NTFS partition to share files.

I would still recommend a separate partition for important data that is for sharing between different OSes on the same computer.

Solution 2

If you're using both Ubuntu and Windows, then yes, you should probably store files you want accessible by both in an NTFS partition. exFAT and FAT32 partitions are other options, but:

  • exFAT is patent-encumbered, so support for it is not built in to Ubuntu by default. You can add it without too much trouble, but this is still more trouble than not having to add it at all.

    • Remember, if you have to boot from an Ubuntu live CD for recovery purposes, the live CD won't have exFAT drivers even if your installed system does.
    • You may also want to check your local laws before installing exFAT, to determine whether or not you might incur civil liability due to patent problems. (I'm not trying to discourage you, and I'm not a lawyer. I just want you to be aware of potential issues.)
  • FAT32 doesn't support files larger than 4 GiB. These days, you may well have files that large, depending on what you're using your computer for.

  • Neither exFAT nor FAT32 support file ownership and permissions. This is usually quite minor when comparing them to NTFS, since while NTFS does support ownership and permissions, it's somewhat complicated to get them properly respected/used when mounting an NTFS volume in a non-Windows operating system like Ubuntu. You can do it, though.

Unless you have a specific reason to do otherwise, your partition for sharing files between Ubuntu and Windows should probably be NTFS. Furthermore, it could even just be the Windows partition, as that is of type NTFS. You cannot install Ubuntu to an NTFS partition, though (except with Wubi, which installs it to a rewriteable disk image that resides inside an NTFS partition).

Since Ubuntu is not as good at repairing damaged NTFS partitions as Windows (though there are Ubuntu utilities for this), you should probably avoid NTFS for machines where Ubuntu is the only operating system. (But for such a machine, you could use use Ubuntu's default partition type, ext4.)

Solution 3

  • If you mean a boot partition, neither; Linux cannot boot off NTFS or exFAT. Additionally exFAT is not recommended for most uses because Ubuntu/Linux cannot currently write to exFAT.

  • You don't need a special partition to "share" files; Linux can read and write NTFS (Windows) just fine. On the other hand, consider the following alternatives if you want to create a "shared" partition:

    • FAT32 (vfat): this relatively old-but-simple filesystem has excellent support on Linux (and is native to Windows); it's a good choice for occasional common files like music, small media, documents, etc. It has a 4GB maximum filesize limitation though.
    • ext2/ext3: these native Linux filesystems have good read/write support on Windows via third-party drivers such as ext2fsd. A good choice if you will be using this primarily in Ubuntu/Linux but need read/write support on Windows as well.

Solution 4

Yes, it is very convenient to have a NTFS partition to share between Ubuntu and Windows. In fact, my /home partition is NTFS.

But a word of caution, if you use hibernation feature. Because hibernation does NOT unmount the partition, you really need to make sure to wake up to the right OS after hibernation. Otherwise, you may face the danger of corrupted partition and losing data.

In a default installation, on waking up from hibernation, GRUB always highlight the first option (ubuntu on my GRUB), but that might not be the OS you hibernate from. You can search about the options in GRUB configuration file so it always highlights the last booted OS option. This way, you can avoid the trouble of waking up to the wrong OS.

Solution 5

I know this is an old thread but it's going to be hit a lot with the new Dropbox partitioning rules.

I was recently hit with the same issue using DropBox between Linux and Windows. Dropbox REQUIRES you to use NTFS for your dropbox files on Windows, and ext4 on Linux. This means that if you are sharing the Dropbox files between the two operating systems, ONE of them will NOT be able to sync. You have a few options, none of them ideal.

  1. Share an NTFS partition (NOT YOUR WINDOWS PARTITION) between your two operating systems. This will allow only the Windows Dropbox installation to sync, which means you may as well not even have DropBox installed on the Linux side. Just use Dropbox files normally in the Linux side, but realize that you will not get the automatic syncing that keeps the files backed up while you are in Linux. You'll have to periodically reboot into Windows to allow the files to sync. Unfortunately there's not a good way to do this the other direction (DropBox on Linux ext4, shared with Windows) because there's not a reliable read/write solution for accessing ext4 partitions from Windows. There are read-only solutions which will allow you to read the files from the Windows side, but not write them.

  2. Have two different copies of your Dropbox files on the machine (One on ext4 for linux and one on NTFS for Windows). This will take up twice the space that is really necessary but I don't see any other option since DropBox rolled out this crappy rule that makes it impossible to effectively share your Dropbox files between multiple Operating systems.

Share:
121,654

Related videos on Youtube

JessBurnett
Author by

JessBurnett

Updated on September 18, 2022

Comments

  • JessBurnett
    JessBurnett over 1 year

    I have a new laptop which I am setting up as dual boot Windows/Linux.

    I would like to access files from both Ubuntu and Windows 7.

    Should I create a separate NTFS partition?

  • M. Ahmad Zafar
    M. Ahmad Zafar almost 12 years
    Just wanted to add one more thing with the best answer. Ubuntu (Linux) has native support for NTFS partition but the vice versa is not possible out of the box i.e., Windows can't access Linux partitions. But there are some very good tools like EXT2Read which can help read/write even ext4 partitions.
  • Fernhill Linux Project
    Fernhill Linux Project almost 12 years
    Thanks @MuhammadAhmadZafar - if you have no objections I will edit your comment in to the answer. :o)
  • M. Ahmad Zafar
    M. Ahmad Zafar almost 12 years
    yeah sure! you can mention it in your answer also
  • Eliah Kagan
    Eliah Kagan about 11 years
    Was this a shared partition that was a separate partition from your main Windows partition? Or were you using the Windows partition itself to share data (and hibernating)? Either way, please note that Windows expects the computer to be in essentially the same state when it comes out of hibernation as when it enters hibernation. (Ubuntu expects this too, when hibernating.) So I'm not sure this would point toward using a filesystem other than NTFS; I would expect problems may occur with any filesystem, if one is to use hibernation in a way that is so different from what it was designed for.
  • VishApp
    VishApp about 8 years
    YANAL but given multiple GPL implementations, I would guess big companies found ways around. I think this answer is outdated.