[SOLVED] Problem loading porteussave.dat file

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
Tolkem
White ninja
White ninja
Posts: 13
Joined: 10 Aug 2019, 05:53
Distribution: Porteus 4.0 KDE

[SOLVED] Problem loading porteussave.dat file

Post#1 by Tolkem » 14 Aug 2019, 14:39

Hi everyone! Hope you're all having a nice life! :)

I'm having this annoying issue loading the porteussave.dat file, thing's I added the cheatcode

Code: Select all

APPEND changes=/mnt/sda1/porteussave.dat
however, the device's label will change everytime, so instead of being /sda1 it'll be /sdb1 so changes are not loaded and I have to edit the file again, place either /sda1 or /sdb1, reboot and changes are loaded but if reboot then have to do it all over again. How can I prevent this to happen? Thanks in advance for your answers.
Last edited by Tolkem on 16 Aug 2019, 21:55, edited 1 time in total.

User avatar
Ed_P
Contributor
Contributor
Posts: 5102
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Problem loading porteussave.dat file

Post#2 by Ed_P » 14 Aug 2019, 15:00

Have you tried changes=/porteussave.dat?

Should you have multiple save.dat files present, as in 2 flash drives plugged in at the same time or one on the hard drive, you can use the changes=UUID: command to ensure the right drive's file gets used.
Ed

Tolkem
White ninja
White ninja
Posts: 13
Joined: 10 Aug 2019, 05:53
Distribution: Porteus 4.0 KDE

Problem loading porteussave.dat file

Post#3 by Tolkem » 14 Aug 2019, 19:06

Ed_P wrote:
14 Aug 2019, 15:00
Have you tried changes=/porteussave.dat?
Not sure I understand what you mean...are you suggesting to try

Code: Select all

APPEND changes=porteussave.dat
instead of

Code: Select all

APPEND changes=/mnt/sda1/porteussave.dat
in porteus.cfg? This is how I did it

Code: Select all

LABEL GRAPHICAL
MENU LABEL Graphics mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/initrd.xz
APPEND changes=/mnt/sda1/porteussave.dat
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT
As far as I understood by reading throught the forum that's the correct way to do it, isn't it?
Ed_P wrote:
14 Aug 2019, 15:00
Should you have multiple save.dat files present, as in 2 flash drives plugged in at the same time or one on the hard drive, you can use the changes=UUID: command to ensure the right drive's file gets used.
I don't have multiple save.dat just one but I do have 1 sd card and one usb hdd and they both are mounted in /mnt as far as I can recall (I'm not in porteus right now) will check later but I'm pretty sure I'm right. Will have to read about the changes=UUUID cheatcode to learn how to use it. Thanks for your reply. :thumbsup:

User avatar
Ed_P
Contributor
Contributor
Posts: 5102
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Problem loading porteussave.dat file

Post#4 by Ed_P » 14 Aug 2019, 19:59

Tolkem wrote:
14 Aug 2019, 19:06
Ed_P wrote:
14 Aug 2019, 15:00
Have you tried changes=/porteussave.dat?
Not sure I understand what you mean...are you suggesting to try

Code: Select all

APPEND changes=porteussave.dat
instead of

Code: Select all

APPEND changes=/mnt/sda1/porteussave.dat
in porteus.cfg?
No. I am saying try: APPEND changes=/porteussave.dat in porteus.cfg.
Will have to read about the changes=UUUID cheatcode to learn how to use it. Thanks for your reply. :thumbsup:
Excellent. And you're welcome. :)
Ed

donald
Full of knowledge
Full of knowledge
Posts: 1539
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Problem loading porteussave.dat file

Post#5 by donald » 14 Aug 2019, 20:32

Run as root blkid in the terminal to get the UUID string.

Example:
APPEND from=UUID:01ef7192 changes=UUID:01ef7192/path/to/save.dat

Tolkem
White ninja
White ninja
Posts: 13
Joined: 10 Aug 2019, 05:53
Distribution: Porteus 4.0 KDE

Problem loading porteussave.dat file

Post#6 by Tolkem » 14 Aug 2019, 22:22

Ed_P wrote:
14 Aug 2019, 19:59
No. I am saying try: APPEND changes=/porteussave.dat in porteus.cfg.
Ah..sorry, I missed the "/" after "=" Ok, will try that.
donald wrote:
14 Aug 2019, 20:32
Run as root blkid in the terminal to get the UUID string.

Example:
APPEND from=UUID:01ef7192 changes=UUID:01ef7192/path/to/save.dat
Thanks for the reply, like I said will have to read a bit to learn about this approach and will try that to see if it works.

Tolkem
White ninja
White ninja
Posts: 13
Joined: 10 Aug 2019, 05:53
Distribution: Porteus 4.0 KDE

Problem loading porteussave.dat file

Post#7 by Tolkem » 16 Aug 2019, 21:54

Ed_P wrote:
14 Aug 2019, 19:59
No. I am saying try: APPEND changes=/porteussave.dat in porteus.cfg.
This worked! Thanks! Problem solved. :Yahoo!:

Post Reply