Page 2 of 2

Re: copy2ram, modules, mozilla profile

Posted: 04 Jul 2014, 22:39
by Ed_P
I'm booted with copy2ram and changes=EXIT and all my changes are present.

Code: Select all

guest@porteus:~$ bootmode.sh
quiet from=/ISOs/Porteus-RazorQT-v3.0-x86_64.iso changes=EXIT:/porteus/changes/porteussave.dat extramod=/mnt/sda5/porteus/modules volume=40 copy2ram 
guest@porteus:~$ 
bootmode.sh

Code: Select all

#!/bin/sh
cat /proc/cmdline

Re: copy2ram, modules, mozilla profile

Posted: 05 Jul 2014, 18:09
by mt12345
Yes, adding EXIT: seems good solution for timcowchip.
I would also consider tmpfs and moving mozilla cache-->/tmp

My problem is different:
I installed some packages, not modules so they are not copied to ram.
I dont want to use EXIT: option , I run Porteus from hard drive and I want my /home folder to be written in real time in case of power failure (I dont switch my PC off often). I know I can dump changes anytime but...

Re: copy2ram, modules, mozilla profile

Posted: 06 Jul 2014, 20:55
by Bogomips
timcowchip wrote:I'm trying Porteus because I want to help speed up loading web pages and all the crap contained therein without having to temporarily store everything on my hdd.
Doesn't help, because there are so many rubbish and invasive scripts jamming up the works, and they very quickly use up all available memory. Also running in ram, quietly perusing Porteus docs some five minutes, when all of a sudden my HD goes haywire, computer usage 100%, swap space being devoured at a terrific rate of knots. Only way out being to kill Firefox. Haven't yet managed to get my hands on the miscreant script. The only recourse so far is to use the FF extension Silent Block, which will block any and every suspect site that one lists.
timcowchip wrote:So I'm using the "copy2ram" option. I would like to have my mozilla profile persist thru a reboot. I think this can be accomplished by making a module from my ~/.mozilla folder.
Result of all the above reading, reckon there is a good case for a magic folder pairing on ~/.mozilla, if have understood correctly.

Re: copy2ram, modules, mozilla profile

Posted: 07 Jul 2014, 03:23
by Ed_P
The only FireFox files I find worth backing up are the:

places.sqlite - bookmarks
signons.sqlite - signons and passwords for URLs
prefs.js - security settings, number of bookmark backups and etc.

They are in the .mozilla/firefox/c3pp43bg.default/ folder. Periodically I also backup the bookmarks as .json and .html files.
mt12345 wrote:(I dont switch my PC off often).
I don't switch my netbook off often either. But I do reboot it several times a day. Sometimes just to update my changes file.

Re: copy2ram, modules, mozilla profile

Posted: 07 Jul 2014, 11:28
by mt12345
The only FireFox files I find worth backing up are the:

places.sqlite - bookmarks
signons.sqlite - signons and passwords for URLs
prefs.js - security settings, number of bookmark backups and etc.
if you upgrade to ff29 or newer and create mozilla account, all the above (+ add-ons and history) will be backed up (synchronised) automatically. Blessing for every distro-hopper/tester (me ;-) )
You can choose what to sync.
It works even better than in Chrome.
I don't switch my netbook off often either. But I do reboot it several times a day. Sometimes just to update my changes file.
I mean I dont reboot

Re: copy2ram, modules, mozilla profile

Posted: 07 Jul 2014, 13:25
by Bogomips
mt12345 wrote:if you upgrade to ff29 or newer and create mozilla account, all the above (+ add-ons and history) will be backed up (synchronised) automatically. Blessing for every distro-hopper/tester (me ;-) )
You can choose what to sync.
Been using long before ff29 with both FF and SeaMonkey, but too much hassle because get some bookmark folder contents in duplicate and triplicate. :( Has this gone in ff29?

Re: copy2ram, modules, mozilla profile

Posted: 07 Jul 2014, 16:37
by mt12345
Bogomips wrote:
mt12345 wrote:if you upgrade to ff29 or newer and create mozilla account, all the above (+ add-ons and history) will be backed up (synchronised) automatically. Blessing for every distro-hopper/tester (me ;-) )
You can choose what to sync.
Been using long before ff29 with both FF and SeaMonkey, but too much hassle because get some bookmark folder contents in duplicate and triplicate. :( Has this gone in ff29?

FF29 sync is completely different thing. Mozilla reworked it so it works more less like google sync
(device - cloud, not device-device). No more entering stupid codes and and you dont need to have 2 devices.
I have just looked into browsing history: the earliest entry come from April so I have been using this feature for 3 months, succesfully synchronising 400+ bookmarks in folders/subfolders without issues.
(In pre-FF29 era I was using Xmarks - I gave it up because of duplicates. I was also manually backing up .mozilla folder to restore it after fresh install or even for live-CD session).
In FF30 I noticed add-ons were not being restored but I use only few of them so not big problem.

I wonder if SeaMonkey got the new sync implemented?

Re: copy2ram, modules, mozilla profile

Posted: 13 Jul 2014, 13:45
by Bogomips
mt12345 wrote:I wonder if SeaMonkey got the new sync implemented?
Doesn't look like it. Still asks for machine code from other device.
User agent: Mozilla/5.0 (X11; Linux i686; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1