save file donot load

Post here if you are a new Porteus member and you're looking for some help.
snake_wolf
White ninja
White ninja
Posts: 25
Joined: 24 Apr 2017, 01:36
Distribution: puppy
Location: sudan

save file donot load

Post#1 by snake_wolf » 27 Apr 2017, 01:01

hi what`s up
i made the .dat contaner and it was working for many rebotes
but i was doing some thing and the elctrecy went dawn "the power"
so when i try to lunch my system agian i found all my changes from the first boat deleted
the porteussave.dat file still in it place but idk what happend
i tryed the command

Code: Select all

cat /mnt/sdb4/porteussave.dat
and the contaner does have data inside
i tryd to boot my system agian with doing some smale changes "creating txt file" and when i boot agian i found everything been set to the defult
i checked the boot log the system readed the contaner and every thing should be okay like usal
but when the desktop lunches i donot find any of my stuff :(
anybody knows what that should be

User avatar
Ed_P
Contributor
Contributor
Posts: 8343
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: save file donot load

Post#2 by Ed_P » 27 Apr 2017, 04:52

snake_wolf wrote:but i was doing some thing and the elctrecy went dawn "the power"
so when i try to lunch my system agian i found all my changes from the first boat deleted
the porteussave.dat file still in it place but idk what happend
Two possibilities:

If your changes cheatcode is changes=EXIT then they are only saved when you do a shutdown. If you loose power and the system doesn't shutdown you loose the changes made since the prior shutdown.

If your changes exceed the size of your save.dat file you will loose your changes.
Ed

snake_wolf
White ninja
White ninja
Posts: 25
Joined: 24 Apr 2017, 01:36
Distribution: puppy
Location: sudan

Re: save file donot load

Post#3 by snake_wolf » 27 Apr 2017, 14:20

Ed_P wrote:
snake_wolf wrote:but i was doing some thing and the elctrecy went dawn "the power"
so when i try to lunch my system agian i found all my changes from the first boat deleted
the porteussave.dat file still in it place but idk what happend
Two possibilities:

If your changes cheatcode is changes=EXIT then they are only saved when you do a shutdown. If you loose power and the system doesn't shutdown you loose the changes made since the prior shutdown.

If your changes exceed the size of your save.dat file you will loose your changes.
so how i get my stuff back ??! :wall: :wall:

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: save file donot load

Post#4 by Bogomips » 27 Apr 2017, 16:12

snake_wolf wrote:so how i get my stuff back ??! :wall: :wall:
Try:

Code: Select all

mkdir s
sudo mount /mnt/sdb4/porteussave.dat  s
Example:

Code: Select all

guest@porteus:~$ mkdir s
guest@porteus:~$ sudo mount ssr.dat s
guest@porteus:~$ ls s
lost+found/  usr/
guest@porteus:~$ tree s
s
├── lost+found [error opening dir]
└── usr
    └── bin
        ├── SimpleScreenRecorder-0.3.8+1.glibc2.14-x86_64.AppImage
        └── tree
3 directories, 2 files
Good luck. :)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply