webc icon indicating copy to clipboard operation
webc copied to clipboard

noclean should be persistent across reboots

Open kaihendry opened this issue 12 years ago • 8 comments

For the "granny's house" use case, it needs to be. Right now it seems to nuke /home across reboots but not sessions.

kaihendry avatar Oct 18 '12 17:10 kaihendry

Hi Mattijs, any good ideas how to achieve this? This one worries me. :}

kaihendry avatar Oct 29 '12 04:10 kaihendry

This would need the live-boot persistent mechanism. This would need people to add a partition to the USB stick (can only be done with a hdd image I think, not with iso-hybrid) labeled "home-rw", or add a second USB stick with a partition labeled "home-rw", or add a second USB stick with a file called home-rw.img (IIRC). They also need to add the "persistent" cmdline option to make live-boot search for these partitions and files.

matthijskooijman avatar Nov 28 '12 07:11 matthijskooijman

Due to inaccuracies in the documentation to live-boot and bugs in it:

  1. The partition name must be "persistence" not "home-rw"
  2. Make a new file in the persistence partition named "live-persistence.conf" (not "persistence.conf")
  3. Write only one line "/home" into file "live-persistence.conf".
  4. Add the "persistence" (not "persistent") cmdline option.

aga-git avatar Feb 19 '14 11:02 aga-git

This is great work Alexander! https://groups.google.com/d/msg/webc-users/PRJijLHzxTo/JB8PHJ-BVi0J

Now thinking of adding this to the Wiki: http://webconverger.org/

How did you create the partition exactly?

kaihendry avatar Feb 19 '14 13:02 kaihendry

I have done much One of this: https://github.com/aga-git/webc/commit/3caec5e663a6e6a90e31dfa4bd5cdc20900ae2bd

aga-git avatar Feb 19 '14 13:02 aga-git

The following pref must be added to prefs, if using "noclean": pref("browser.sessionstore.resume_from_crash", false); If not, Restore Session error page appears after each reboot of webconverger. I add it to webconverger.js

aga-git avatar Feb 27 '14 12:02 aga-git

I noticed that change in your branch. I wondering if it's worth integrating this functionality proper, since there needs to be a switch made when installing Webconverger IIUC.

  • Install Webconverger
  • Install Webconverger (noclean)

Worried it will create confusion! Any ideas guys??

kaihendry avatar Mar 05 '14 05:03 kaihendry

I think it's a good idea. A more detailed comment in the installation menu should be provided, such as 'noclean -- persistent home location -- see howto (link)'

aga-git avatar Mar 05 '14 12:03 aga-git