LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2007, 04:34 PM   #1
_janneman
LQ Newbie
 
Registered: Jun 2007
Distribution: SuSe 10.1
Posts: 5

Rep: Reputation: 0
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
 
Old 06-07-2007, 04:47 PM   #2
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Is your windows profile writable? Is it mounted as your user?

Run "df" and "cat /etc/fstab" and post the output of both.
 
Old 06-07-2007, 05:19 PM   #3
_janneman
LQ Newbie
 
Registered: Jun 2007
Distribution: SuSe 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
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:~>
 
Old 06-07-2007, 05:45 PM   #4
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
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

Last edited by forrestt; 06-07-2007 at 05:49 PM.
 
Old 06-08-2007, 04:23 AM   #5
_janneman
LQ Newbie
 
Registered: Jun 2007
Distribution: SuSe 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
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:~>
 
Old 06-08-2007, 05:55 AM   #6
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 958

Rep: Reputation: 35
it shoudl be /media/sda5/....
not /mnt/media:/sda5.....
 
Old 06-08-2007, 06:31 AM   #7
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Rep: Reputation: 31
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.
 
Old 06-08-2007, 07:06 AM   #8
_janneman
LQ Newbie
 
Registered: Jun 2007
Distribution: SuSe 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
@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.
 
Old 06-08-2007, 07:22 AM   #9
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Rep: Reputation: 31
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.
 
Old 06-08-2007, 08:01 AM   #10
_janneman
LQ Newbie
 
Registered: Jun 2007
Distribution: SuSe 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks hand od fate, that did the trick!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you add to the path line or make a new path in /etc/profile? M$ISBS Linux - Newbie 2 12-13-2006 02:14 PM
system profile vs user profile bonito SUSE / openSUSE 3 06-28-2006 01:02 PM
How to change Fedoras PATH in profile Lawful Linux - Newbie 1 04-30-2004 08:19 PM
Adding a file to the path in etc/profile zzzt Linux - Newbie 3 10-24-2003 03:53 PM
/etc/profile and include path Tom9K Linux From Scratch 2 05-13-2002 01:57 PM


All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration