CINNAMON-v5.0-x86_64 no persistence

Post here if you are a new Porteus member and you're looking for some help.
plutokang
White ninja
White ninja
Posts: 5
Joined: 30 Mar 2023, 11:40
Distribution: Porteus-CINNAMON-v5.0-x86_64

CINNAMON-v5.0-x86_64 no persistence

Post#1 by plutokang » 30 Mar 2023, 12:10

Hello,
I have Porteus-CINNAMON-v5.0-x86_64 from iso on USB-Stick Fat32 as a live session and want to add persistence.
What I have:
multiboot\Porteus-CINNAMON-v5.0-x86_64\SafeFile230330.dat (1 GB)

multiboot\Porteus-CINNAMON-v5.0-x86_64\porteus\porteus-v5.0-x86_64.cfg
## Tell porteus where the changes folder is
# changes=/mnt/sda2/changes

changes=/mnt/sdc1/multiboot/Porteus-cinnamon-v5.0-x86_64/safefile230330.dat

## This tells porteus which timezone settings you prefer
# timezone=America/Sao_Paulo

No persistence. What is wrong?
Thanks for help.

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

CINNAMON-v5.0-x86_64 no persistence

Post#2 by Ed_P » 30 Mar 2023, 18:43

Welcome to the forum plutokang.
plutokang wrote:
30 Mar 2023, 12:10
multiboot\Porteus-CINNAMON-v5.0-x86_64\SafeFile230330.dat
plutokang wrote:
30 Mar 2023, 12:10
changes=/mnt/sdc1/multiboot/Porteus-cinnamon-v5.0-x86_64/safefile230330.dat
Anyone see any difference?

Code: Select all

multiboot\Porteus-CINNAMON-v5.0-x86_64\SafeFile230330.dat
multiboot/Porteus-cinnamon-v5.0-x86_64/safefile230330.dat
:lol:

Ok, things to consider:
1. sdc1 - is that what Porteus sees the USB drive as?
2. Linux systems are case sensitive, so while Windows sees files named ABC and abc as being the same name Linux does not. The names you posted represent two different files.
3. What does the multiboot/Porteus-CINNAMON-v5.0-x86_64/boot/syslinux/porteus.cfg show on the APPEND changes= line?
4. Porteus 5.0 is having problems with the /porteus/porteus-v5.0-x86_64.cfg file settings.

Things to resolve the problem:
1. Remove the changes= changes to the /porteus/porteus-v5.0-x86_64.cfg file.
2. Put your changes= code in the /boot/syslinux/porteus.cfg file.
3. Make sure the changes= .dat name is the same, letter for letter, as the name shown in Porteus's file manager. :happy62:

:)
Ed

plutokang
White ninja
White ninja
Posts: 5
Joined: 30 Mar 2023, 11:40
Distribution: Porteus-CINNAMON-v5.0-x86_64

CINNAMON-v5.0-x86_64 no persistence

Post#3 by plutokang » 31 Mar 2023, 10:48

Thank you Ed for your help. I had no success. Whereever I put the cheatcode changes, Port. does not find the cheatcode. I'll wait for the next version, I hope persist. is automated then. Greetings

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

CINNAMON-v5.0-x86_64 no persistence

Post#4 by beny » 31 Mar 2023, 12:12

hi is just a wrong path to the save.dat tell us what you have done this is mine: the last are for the touchpad if your path isn't match the save.dat do not work so the path have to be the same when you plgin the usb or sd ,maybe is better to use the uuid and not the sdx.
APPEND changes=/mnt/sdh1/porteussave-2.dat text 3 i8042.nopnp

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

CINNAMON-v5.0-x86_64 no persistence

Post#5 by Ed_P » 31 Mar 2023, 16:40

plutokang wrote:
31 Mar 2023, 10:48
Whereever I put the cheatcode changes, Port. does not find the cheatcode.
I'm sure Porteus is finding the cheatcode just not the location you're giving it. With the save.dat file on the USB drive you're booting you don't need to specify the drive's /mnt/sdc1 code. So on the /boot/syslinux/porteus.cfg file's APPEND line just have the folder and file names. And be sure you match the case of each letter used. :D And the correct slash. :)
plutokang wrote:
31 Mar 2023, 10:48
I'll wait for the next version, I hope persist. is automated then.

I didn't take you for being a quitter pluto.
Ed

plutokang
White ninja
White ninja
Posts: 5
Joined: 30 Mar 2023, 11:40
Distribution: Porteus-CINNAMON-v5.0-x86_64

CINNAMON-v5.0-x86_64 no persistence

Post#6 by plutokang » 01 Apr 2023, 10:24

Thanks again. Case of each letter OK, correct slash OK, all names OK. No success.
Now I cannot spend more time on that, so I'll wait for the next version.
Greetings

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

CINNAMON-v5.0-x86_64 no persistence

Post#7 by Ed_P » 01 Apr 2023, 13:07

FYI My USB drive.

/boot/syslinux/porteus.cfg
APPEND changes=EXIT:UUID:C23A-6012/changes/50save.dat extramod=UUID:C23A-6012/Modules

/porteus/porteus-v5.0-x86_64.cfg
# changes=/mnt/sda2/changes

guest@porteus:/mnt/sdb1$ ls
EFI/
Guest/
If_Found.txt*
Modules/
My_Files/
Optional/
USB_INSTALLATION.txt*
boot/
changes/
i586files/
porteus/
porteus-usb.sh*

guest@porteus:/mnt/sdb1/changes$ ls -oh
total 512M
-rwxrwxrwx 1 guest 512M Mar 21 20:49 50save.dat*
guest@porteus:/mnt/sdb1/changes$

Added in 1 day 12 hours 16 minutes 35 seconds:
pluto,

I hope you didn't take my quitter comment as an insult. I was kidding. A next version/release can be a long ways away based on Porteus's history the past 5 yrs. And the persistence steps that work haven't changed that much since it they were 1st introduced. The /porteus .cfg file is the last change and as you have experienced need tweaking.

BTW In the changes= config that I posted I use an UUID code to reference my USB drive, that way a /sdc3 or /sda1 or /nvmem0n1p7 is not a problem when using the USB drive on different computers.

Ed
Ed

plutokang
White ninja
White ninja
Posts: 5
Joined: 30 Mar 2023, 11:40
Distribution: Porteus-CINNAMON-v5.0-x86_64

CINNAMON-v5.0-x86_64 no persistence

Post#8 by plutokang » 06 Apr 2023, 20:45

Hi Ed,

I tried some more attempts to realize persistence.
After Graphics mode is displayed > TAB > cheatcodes appear on the screen.

Input: changes=savefile.dat > Enter.
Porteus now recognizes savefile.dat, so everything is OK. This is an acceptable solution.
-----------------
/mnt/sdc1/multiboot/Porteus-Cinnamon-v5.0-x86_64/boot/syslinux/porteus.cfg
APPEND changes=/mnt/sdc1/savefile.dat does not work.
Also APPEND changes=savefile.dat does not work.
I tried other cfg files in ... /boot/syslinux with APPEND changes=...., no success.
-----------------
There is only one perfect solution that Porteus accepts savefile.dat and only in this one place:

LABEL GRAPHICAL
MENU LABEL Graphics mode
KERNEL /multiboot/Porteus-Cinnamon-v5.0-x86_64/boot/syslinux/vmlinuz
INITRD /multiboot/Porteus-Cinnamon-v5.0-x86_64/boot/syslinux/initrd.xz

APPEND from=/multiboot/Porteus-Cinnamon-v5.0-x86_64 changes=savefile.dat

TEXT HELP
Run Porteus the best way we can.
Try to autoconfigure graphics
card and use the maximum allowed
resolution. If booting from a
non-posix (FAT/NTFS) drive,
see the Saving Changes Help
below for how to save changes.
ENDTEXT

Greetings

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

CINNAMON-v5.0-x86_64 no persistence

Post#9 by Ed_P » 06 Apr 2023, 21:57

plutokang wrote:
06 Apr 2023, 20:45
There is only one perfect solution that Porteus accepts savefile.dat and only in this one place:

LABEL GRAPHICAL
MENU LABEL Graphics mode
KERNEL /multiboot/Porteus-Cinnamon-v5.0-x86_64/boot/syslinux/vmlinuz
INITRD /multiboot/Porteus-Cinnamon-v5.0-x86_64/boot/syslinux/initrd.xz

APPEND from=/multiboot/Porteus-Cinnamon-v5.0-x86_64 changes=savefile.dat
:thumbsup: :celebrate14: :Yahoo!: :celebrate3:

Congrats pluto.

So if the porteus files on the USB drive are not in the root of the drive you have to specify the name of the folder the porteus folder is in in the from= cheatcode. Good to know :showoff: pluto. I use the from= cheatcode all the time when I boot the ISOs but never for a USB install.

For others that come this way the boot menu lines that you are showing are in the USB's /multiboot/Porteus-Cinnamon-v5.0-x86_64/boot/syslinux/porteus.cfg file, right?
Ed

plutokang
White ninja
White ninja
Posts: 5
Joined: 30 Mar 2023, 11:40
Distribution: Porteus-CINNAMON-v5.0-x86_64

CINNAMON-v5.0-x86_64 no persistence

Post#10 by plutokang » 07 Apr 2023, 09:52

Yes, all like you said.
:Yahoo!:

Post Reply