LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   path to firefox profile with dualboot system (winxpand SuseLinux) (https://www.linuxquestions.org/questions/linux-newbie-8/path-to-firefox-profile-with-dualboot-system-winxpand-suselinux-560029/)

_janneman 06-07-2007 04:34 PM

path to firefox profile with dualboot system (winxpand SuseLinux)
 
All,

Okay, You've seen a subject-title like this more on the web. And so do I...
But still my Firefox won't start with the correct profile.
My situation: Dual bootsystem with Windows Xp on "C:\", NTFS formatted labeled "WINDOWS". A separate "D:\", Fat32 formatted (called vfat in Linux?) labeled "DATA".
My firefox profile is located here (windows path)

D:\Data\_mozilla_profiles\Firefox/Profiles/516dyvli.default

In Linux accessible via:
media:/sda5/_mozilla_profiles/Firefox/Profiles/516dyvli.default

I changed the pathname in the profile.ini like this:
----------------------------------------------------
[General]
StartWithLastProfile=0

[Profile1]
Name=default
IsRelative=0
Path=/mnt/media:/sda5/_mozilla_profiles/Firefox/Profiles/516dyvli.default
---------------------------------------------------

I formatted the path in various ways, see below, but still Firefox creates a new profile under home/_janneman/.mozilla etc.

What is it I'm doing wrong all the time? Anyone an idea?

Thanks in advance, _janneman


Path=/mnt/DATA/_mozilla_profiles/Firefox/Profiles/516dyvli.default
Path=media:/sda5/_mozilla_profiles/Firefox/Profiles/516dyvli.default
Path=/sda5/_mozilla_profiles/Firefox/Profiles/516dyvli.default
Path=/windows/D/_mozilla_profiles/Firefox/Profiles/516dyvli.default
Path=/mnt/media:/sda5/_mozilla_profiles/Firefox/Profiles/516dyvli.default

forrestt 06-07-2007 04:47 PM

Is your windows profile writable? Is it mounted as your user?

Run "df" and "cat /etc/fstab" and post the output of both.

_janneman 06-07-2007 05:19 PM

Files on the same partition are writeable. Here the outcome of what you asked for:

_janneman@linux:~> df
Bestandssysteem 1K-blokken Gebruikt Beschikbaar Gebruikt% Aangekoppeld op
/dev/sda4 39912248 5311216 34601032 14% /
udev 1038476 204 1038272 1% /dev
/dev/sda1 51199120 16853856 34345264 33% /windows/C
/dev/sda5 27861576 16368840 11492736 59% /windows/D
/dev/sdd1 250464 11872 238592 5% /media/usbdisk
_janneman@linux:~> cat /etc/fstab
/dev/sda4 / reiserfs acl,user_xattr 1 1
/dev/sda1 /windows/C ntfs ro,users,gid=users,umask=00 02,nls=utf8 0 0
/dev/sda5 /windows/D vfat users,gid=users,umask=0002, utf8=true 0 0
/dev/sda3 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
_janneman@linux:~>

forrestt 06-07-2007 05:45 PM

ok, one more:

Code:

ls /windows/D/_mozilla_profiles/Firefox/Profiles/516dyvli.default
I'm also going to repost your output for others' benefit:

Code:

<br />
_janneman@linux:~> df
Bestandssysteem      1K-blokken    Gebruikt Beschikbaar Gebruikt% Aangekoppeld      op
/dev/sda4            39912248  5311216  34601032  14% /
udev                  1038476      204  1038272  1% /dev
/dev/sda1            51199120  16853856  34345264  33% /windows/C
/dev/sda5            27861576  16368840  11492736  59% /windows/D
/dev/sdd1              250464    11872    238592  5% /media/usbdisk

_janneman@linux:~> cat /etc/fstab<br />
/dev/sda4            /                    reiserfs  acl,user_xattr        1 1
/dev/sda1            /windows/C          ntfs      ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5            /windows/D          vfat      users,gid=users,umask=0002,utf8=true 0 0
/dev/sda3            swap                swap      pri=42                0 0
devpts              /dev/pts            devpts    mode=0620,gid=5      0 0
proc                /proc                proc      defaults              0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
sysfs                /sys                sysfs      noauto                0 0
/dev/fd0            /media/floppy        auto      noauto,user,sync      0 0


_janneman 06-08-2007 04:23 AM

Code:

ls /windows/D/_mozilla_profiles/Firefox/Profiles/516dyvli.default
gives
Code:

_janneman@linux:~> ls /windows/D/_mozilla_profiles/Firefox/Profiles/516dyvli.default
blocklist.xml            cookies.txt              history.dat                  search.sqlite
bookmarkbackups          CoolirisPreviewSites.xml  hostperm.1                    secmod.db
bookmarks.bak            downloads.rdf            key3.db                      signons2.txt
bookmarks.html          dta_history.xml          kf.txt                        urlclassifier2.sqlite
bookmarks.html.sbsd.bak  extensions                Kopie van extensions.ini_bak  user.js
Cache                    extensions.cache          localstore.rdf                webappsstore.sqlite
cert8.db                extensions.ini            mimeTypes.rdf                xpc.mfl
chrome                  extensions.rdf            prefs.js                      xpti.dat
compatibility.ini        fgupdater_backup.txt      searchplugins                xul.mfl
compreg.dat              formhistory.dat          search.rdf
_janneman@linux:~>


dasy2k1 06-08-2007 05:55 AM

it shoudl be /media/sda5/....
not /mnt/media:/sda5.....

hand of fate 06-08-2007 06:31 AM

I don't use Firefox, but I have tried to share a Mozilla profile in this way. Unfortunately this was not possible since some of the config. files contain file paths, which are not compatible between Windows and Linux. If you get past the problem you're encountering at the moment you'll almost certainly run into these issues next.

What I did was to create a new profile in the default location under Linux, then replace the particular files that I wanted to share with symbolic links to the same file in the Windows profile.

_janneman 06-08-2007 07:06 AM

@dasy2k1
I tried several paths but none works. Even the path you mentioned.

@hand of fate
I don't know what symbolic links are or how to make them but I try google to find out.

hand of fate 06-08-2007 07:22 AM

Quote:

Originally Posted by _janneman
@hand of fate
I don't know what symbolic links are or how to make them but I try google to find out.

They're a bit like shortcuts, but are more powerful.

If you're using the Konqueror file manager (the default file manager in KDE) you can create a symbolic link by dragging the file into the folder where you want the link then selecting "Link Here" from the popup menu. I think the method is much the same for other file managers.

_janneman 06-08-2007 08:01 AM

Thanks hand od fate, that did the trick!


All times are GMT -5. The time now is 07:48 AM.