webc
webc copied to clipboard
noclean should be persistent across reboots
For the "granny's house" use case, it needs to be. Right now it seems to nuke /home across reboots but not sessions.
Hi Mattijs, any good ideas how to achieve this? This one worries me. :}
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.
Due to inaccuracies in the documentation to live-boot and bugs in it:
- The partition name must be "persistence" not "home-rw"
- Make a new file in the persistence partition named "live-persistence.conf" (not "persistence.conf")
- Write only one line "/home" into file "live-persistence.conf".
- Add the "persistence" (not "persistent") cmdline option.
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?
I have done much One of this: https://github.com/aga-git/webc/commit/3caec5e663a6e6a90e31dfa4bd5cdc20900ae2bd
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
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??
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)'