Sharing a profile between Windows and Linux

From MozillaZine Knowledge Base

This article was written for Thunderbird but also applies to Mozilla Suite / SeaMonkey (though some menu sequences may differ).

Any shared files need to be stored on a volume (drive) that both operating systems can read/write. At one time that meant you had to create a FAT32 volume but most Linux distributions now support read/writing NTFS volumes. The two main approaches to sharing a profile between Windows and Linux seem to be:

  • Literally share the profile between the two operating systems. Settings specify file locations using both a absolute and a relative pathname. Thunderbird always tries the relative pathname first. It specifies the file location relative to the profile directories location, rather than using a full pathname. This means you don't have to worry about the syntax (drive letters etc.) used in the absolute pathname. One potential problem is that some extensions (such as Lightning) have separate downloads for Linux and Windows.
  • Share everything except for the settings, themes, and extensions. Separate profiles are created for each operating system to avoid problems in prefs.js due to Windows naming conventions. Each profile is configured to store the mail directories and the local folder directory outside of the profile in common directories and a symlink is used in the Linux profile to access the address books stored in the Windows profile. If you use Lightning create another symlink to storage.sdb . Each profile uses its own extensions directory for extensions and themes, so it doesn't matter if the extensions are operating system specific or not.

The most well known article is called "How To Share Mail Between Windows and Linux" and used to be at . Its still available on the wayback machine at this web page.

Some other articles to read are:

Most articles talk about using FAT32 volumes for shared files because there were poor choices for writing to NTFS partitions at the time. However, most Linux distributions now include a NTFS-3g driver to provide full read/write access to NTFS. Another possibility is to use the Ext2 Installable File System for Windows to access ext3 partitions from Windows.

If you are dual booting Windows 8 and Linux it is recommended that you disable the optional Windows 8 Fast Start feature as this can cause data corruption due to Windows 8 using cached data from when it went into hibernation, rather than reading the actual file contents when it is restored. [1]

See also

External links

Information on symlinks: