Nope, someone should lock this thread.EdP wrote:Have you gotten the save changes to work yet?
Save.dat container (SOLVED)
-
- White ninja
- Posts: 9
- Joined: 27 Nov 2013, 04:07
- Distribution: Xubuntu 12.10
- Location: Los Angeles
Re: Save.dat container
- Ed_P
- Contributor
- Posts: 8548
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Save.dat container
Hey!! I'm using it for my save file situation.budchekov wrote:Nope, someone should lock this thread.EdP wrote:Have you gotten the save changes to work yet?
Ok, back to your problem. You created a save file on your USB drive. Is the drive formated as FAT32 or a Linux format? What is the path to your file? Have you tried putting it in the root of the USB drive?
-
- White ninja
- Posts: 9
- Joined: 27 Nov 2013, 04:07
- Distribution: Xubuntu 12.10
- Location: Los Angeles
Re: Save.dat container
Thanks Ed, but it's no longer a problem, uninstalled and moved on.EdP wrote: Ok, back to your problem.
-
- Contributor
- Posts: 678
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Re: Save.dat container
EdP I'm not sure but you are wrong, you can not save /mnt/live to changes, every time after reboot you will still need update /mnt/live if you want save changes, but maybe you use some tricks.
You have mind and feelings. Be wise and clever.
- Ed_P
- Contributor
- Posts: 8548
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Save.dat container
Well I just rebooted from using Windows and my Porteus reconnected to my WiFi and had the password without my needing to enter it. The change in the cleanup file allowed my changes to be saved.tome wrote:EdP I'm not sure but you are wrong, you can not save /mnt/live to changes, every time after reboot you will still need update /mnt/live if you want save changes, but maybe you use some tricks.
Oh!! I see what you are saying. The info for the file shows the original file date rather than today's. So the fix has to be reentered each boot.
hmmmm Patch file, create a backup, restore backup each boot. Sounds reasonable but I have limited scripting skills.....
Oh, ok. I thought you were a tech.budchekov wrote:Thanks Ed, but it's no longer a problem, uninstalled and moved on.
-
- Contributor
- Posts: 678
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Re: Save.dat container
replace your initrd.xz with updated from:https://www.dropbox.com/sh/ui4ydoh3j34xkoy/awngRHBa80 - Porteus folder, and change name of this file or change path in your bootloader.
You have mind and feelings. Be wise and clever.
- Ed_P
- Contributor
- Posts: 8548
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Save.dat container
Thank you @tome. An interesting option.tome wrote:replace your initrd.xz with updated from:https://www.dropbox.com/sh/ui4ydoh3j34xkoy/awngRHBa80 - Porteus folder, and change name of this file or change path in your bootloader.
At present I have found that this series of commands works for me also:
Code: Select all
guest@porteus:~$ su
Password: toor
root@porteus:/home/guest# cp -a /home/guest/cleanup /mnt/live/
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Save.dat container
@phhpro
yes - syncing was probably the issue and brokenman added already a 'sync' command after every 'dd' in save file manager tool.
yes - syncing was probably the issue and brokenman added already a 'sync' command after every 'dd' in save file manager tool.
Please add [Solved] to your thread title if the solution was found.
- Ed_P
- Contributor
- Posts: 8548
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Save.dat container
Kind of a related question, we use the cheatcode to save our changes but do the changes get used/read if we don't use the cheatcode to save them? And if not is there a way to do that?
- francois
- Contributor
- Posts: 6443
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Save.dat container
There is nothing going on if you do not use the changes cheatcode: nil, néant, zéro, or if you prefer it corresponds to always fresh. You do not have access to previous data unless it has been caught in some way into a module. Changes have the life of the session.
What do you want to do? The question is not clear to me.
What do you want to do? The question is not clear to me.
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 8548
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Save.dat container
Hello neighbor. Sorry my question was kinda vague.francois wrote:What do you want to do? The question is not clear to me.
When I start Porteus from the ISO without the save.dat file I have to enter my WiFi password, my Porteus signon password, run my NTFS and touchpad fixes and etc. etc. Having the save.dat file saves me all that which is great and I've come to put a lot of importance on the save.dat file.
If I start Porteus and wish to experiment with new apps, new console commands, new scripts that I create, etc. I'm afraid I will screw up my system, and if that happens I don't want any of the changes I've made to be saved. I want to reboot and try again, not totally from scratch but from the last good save.dat so I don't have to reenter my passwords, fixes, etc.
Is that any clearer as to what I'm trying to do?
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Save.dat container
In that case you can simply save your sessions as a module. In the porteus settings centre (found in the menu) click on the image of the floppy disk at the top. Then click on the session saver button. Please them all into a folder called something like 'mysessions'. You can make modules from your sessions. Then you can boot with the cheatcode load=/path/to/mysessions and all the modules in this folder (your saved sessions will be loaded.)
This is how i would do it.
This is how i would do it.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 8548
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Save.dat container
Wow!! I like this idea.brokenman wrote:In that case you can simply save your sessions as a module. In the porteus settings centre (found in the menu) click on the image of the floppy disk at the top. Then click on the session saver button. Please them all into a folder called something like 'mysessions'. You can make modules from your sessions. Then you can boot with the cheatcode load=/path/to/mysessions and all the modules in this folder (your saved sessions will be loaded.)
This is how i would do it.
Let me be sure I understand this, I start Porteus, it uses my save.dat and restores my passwords and etc. I then try something like getting java to work, actually get it to work (I like to dream), I then save my session as a module, I reboot in Fresh mode, but with the cheatcode to load= and I will have my passwords, and etc and my java work?
-
- Contributor
- Posts: 678
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Re: Save.dat container
Ed_P, you can also move your save.dat file to your modules and change name to save.dat.xzm
You have mind and feelings. Be wise and clever.
- Ed_P
- Contributor
- Posts: 8548
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Save.dat container
!! Interesting.tome wrote:Ed_P, you can also move your save.dat file to your modules and change name to save.dat.xzm
Ah... thank you @phhpro but that sounds like more work than switching to root and running a script to reapply changes. Hopefully with the load= cheatcode there's less steps.phhpro wrote:As brokenman suggested, that's almost how I save all the time. Just create a module from your home folder, done. Before switching off the box, I simply put it back on the server. Next time logged in, fetch it, activate and do a quick logout, login. Hello? All my settings and data is there, love it.