Now that I’m triple-booting my computer (XP, Vista & Ubuntu), it’s a pain managing all of the Mozilla profiles – emails downloaded on one OS will re-download on the others. Passwords saved in one OS’s browser won’t be reflected on the others – until now: I’ll show you have all of your Operating Systems use the same profiles!
Setup
You need to decide which Operating System you want to be your “Master” – which OS’s would you like all “slave” OS’s to read/write to. I chose to keep XP as my master because I’m only “test driving” these other OS’s for now.
How To
Getting this done is pretty easy, first we need to understand where Mozilla products save their profiles:
Firefox
| Operating system | Folder(s) |
|---|---|
| Windows XP | C:\Documents and Settings\<User Name>\Application Data\Mozilla\Firefox\Profiles\<Profile Name>\ |
| Windows Vista | C:\Users\<User Name>\AppData\Roaming\Mozilla\Firefox\Profiles\<Profile Name>\ |
| Linux | ~/.mozilla/firefox/<Profile Name>/ |
Thunderbird
| Operating system | Folder(s) |
|---|---|
| Windows XP | C:\Documents and Settings\<User Name>\Application Data\Thunderbird\Profiles\<Profile Name>\ |
| Windows Vista | C:\Users\<User Name>\AppData\Roaming\Thunderbird\Profiles\<Profile Name>\ |
| Linux | ~/.thunderbird/<Profile Name>/ or possibly ~/.mozilla-thunderbird<Profile Name> |
For the sake of easy, the rest of this tutorial will cover Firefox. The same infomation will work for Thunderbird, just make sure you pay attention to what directory you’re writing to!
Inside the Firefox’s folder, there is a configuration file that tells the programs where to look for the profiles:

In Vista, the file’s location would be:
C:\Users\<User Name>\AppData\Roaming\Mozilla\Firefox\profiles.ini
Open this file. It should read:
[General]
StartWithLastProfile=1
[Profile0]
Name=default
IsRelative=1
Path=Profiles/<Profile Name>.default
On each of our slave OS’s (ones that are not the master), we need to change the last two lines:
- Set the IsRelative variable to 0
- Set the path to the directory of the OS you want to be the master. If you are setting it to be XP, then it should read:
Path=C:\Documents and Settings\<User Name>\Application Data\Mozilla\Firefox\Profiles\<Profile Name>.default\
Make sure you leave the master’s profile intact. It doesn’t need to be changed because it is already writing to the correct directory.
You can delete the slave’s old profile folder’s if you wish – just make sure you leave the profiles.ini file, the programs will look for this file to find out where the profiles are!
What About Other Locations?
Now that you know were these files are stored and how to change the profile locations, you can change the location for all profiles (let’s say you want all three OS’s to read/write to a backup drive) – basically making them all “slaves”. Just change the Path variable on all there installs to that location, ie:
Path=X:\backup\<Profile Name>.default
Saman-As always a wealth of information. Also, I see that your Alexa ranking continues to improve.
Thanks bud, glad you enjoy my stuff!
According to this Mozilla page, in Mac OS X, the path is usually:
~/Library/Thunderbird/Profiles/xxxxxxxx.default/I don’t know how Mac’s set up drive letters. If you’re using Boot Camp, I’ve heard that there is an issue with bi-directional traffic, XP< ->OSX, I heard that you can easily read/write one way and not the other but I’m working on the answer for you – it’s not easy because I don’t have a Mac!
hey saman, i’m here watching your site from school. it seems fine here but not at my home. something is wrong with my connection then. sorry for the wrong info. thanks.
rob
I take it the support for NTFS has matured in Linux?
yeah i think most linux OSs can read and write to NTFS now. Windows still can’t even read ext3 :S
Wow, this is an excellent tip, i will try this with my virtual machines. (I m using Vmware to simulate operating systems before going on live environment)
i did this (I ran firefox -profilemanager (in Linux), created a new profile which I pointed to the XP folder) but whenever I run Firefox from Linux it says it’s already running. If I put this folder in a shared folder, I can run it from another computer also running WinXP.
but anyway, I ended up using Google Sync
so you can use it anywhere, even if your main computer is turned off. And it’s password protected too. Only thing is google has all your stuff
Thanks for the informative post.. and thanks for adding our comment to the blog. I am subscribing to your feed so I don\’t miss the next post!
Hi Saman,
Thanks for your very helpful manual.
Do you know what happens if the extensions (Add-ons) are different for the OS’s? I know that some addons only run under windows (usually this is already indicated on the add-ons homepage (https://addons.mozilla.org/en-US/firefox), whereas in other cases seperate versions for linux and windows are available (i.e. lightning for thunderbird is available in two flavours, which is sometimes hard to tell, as only the one the OS your running is displayed …).
When sharing profiles, I presume this can cause conflicts, as you may need both addons in the same profile??
GAJ
I have had some issues with OS specific addons – specifically Minimize to tray. After loading the profile into Linux, there was a crash, which I had to resolve by using safe mode for Thunderbird.
If you’re not sure about OS compatibility, I would suggest that you uninstall, or disable your addons before migrating profiles.
For some reason this doesn’t work for me. After I edit the profile.ini and launch Firefox, it just creates a new profile in the default location and overwrites the profile.ini file. I have made profile.ini readonly, i’ve put deny for System writes on the file, nothing works.
I have copied the Mozilla folders from the previous location to the new default and everthing works fine so it’s just the isrelative and profile pah changes that doesn’t seem to “stick”
Using Vista.
Any ideas?
In my system the profile folder (containing mail) is on the windows disk. I want to start thunderbird from kubuntu.
It fails popping message Thunderbird is already running…
In case I first open a random folder on the windows disk and enter my password for the windows disk I can start thunderbird without any problems. Default profile is opened.
Does anyone know how to let Thunderbird access this disk using the password?