C:\Documents and Settings\[username]\Application Data\Mozilla\Firefox\Profiles\[profileid]
, where username is your username (e.g. peter) and profileid is the randomly-generated profile identifier from Firefox (e.g. f39ojr4y.default). On my Ubuntu installation, this same directory is available at
/media/sda1/Documents and Settings/peter/Application/Data/Mozilla/Firefox/Profiles/f39ojr4y.default
C:\Documents and Settings\peter\Application Data\Thunderbird\Profiles\wajy8lnr.default
Again, substitute in your own username and profile id here. In Ubuntu, I see this directory as
/media/sda1/Documents and Settings/peter/Application/Data/Thunderbird/Profiles/wajy8lnr.default/
/home/peter/.mozilla and /home/peter/.mozilla-thunderbird
(again, substituting peter for your username on Ubuntu). Under each of these directories you will see two other unique profile ids (e.g. vkuuxfit.default and 05zsr2ut.default). Note that there is no correlation between the profile names on Windows or Linux.
cd ~/.mozilla/firefox ; mv vkuuxfit.default vkuuxfit.default.orig
cd ~/.mozilla-thunderbird ; mv 05zsr2ut.default 05zsr2ut.default.orig
Note that you must replace my profile names show above with the profile you see listed there. If you try copying and pasting exactly what I have above, it almost certainly will fail.
ln -s /media/sda1/Documents and Settings/peter/Application/Data/Mozilla/Firefox/Profiles/f39ojr4y.default ~/.mozilla/firefox/vkuuxfit.default
ln -s /media/sda1/Documents and Settings/peter/Application/Data/Thunderbird/Profiles/wajy8lnr.default ~/.mozilla-thunderbird/05zsr2ut.default
Note that you must again substitute your Windows and Linux profile names where I use mine or it will not work. I colored the Windows profiles in blue and the Ubuntu profiles in brown so you can identify the target and the source more easily.
Notes:
The original post can be found here