Post here if you are a new Porteus member and you're looking for some help.
-
Tolkem
- Black ninja

- Posts: 34
- Joined: 10 Aug 2019, 05:53
- Distribution: Porteus 4.0 KDE
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.
Tolkem
-
Ed_P
- Contributor

- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
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_P
-
Tolkem
- Black ninja

- Posts: 34
- Joined: 10 Aug 2019, 05:53
- Distribution: Porteus 4.0 KDE
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
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.

Tolkem
-
Ed_P
- Contributor

- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
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
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.
Excellent. And you're welcome.

Ed_P
-
donald
- Full of knowledge

- Posts: 2104
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
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
donald
-
Tolkem
- Black ninja

- Posts: 34
- Joined: 10 Aug 2019, 05:53
- Distribution: Porteus 4.0 KDE
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
-
Tolkem
- Black ninja

- Posts: 34
- Joined: 10 Aug 2019, 05:53
- Distribution: Porteus 4.0 KDE
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.

Tolkem