Page 1 of 1

How to update Porteus 5.01RC to 5.02RC?

Posted: 10 Oct 2020, 18:20
by miroslaw
Hello guys!

I've used Porteus 5.01 Cinamon for 6 months. Currently I use 5.01RC and I want to update my system to new relase 5.02RC, but I don't know how :(
Could somebody tell me how to update to new relase and save my customized settings (ex. run from RAM as default, don't mount disc on startup, mouse settings ect.)

thank you in advance!

How to update Porteus 5.01RC to 5.02RC?

Posted: 11 Oct 2020, 02:18
by ncmprhnsbl
hi, welcome to the forum :)
presuming that you've installed to a usb or similar drive..
first, backup somewhere(the files on your RC1 install) and then copy(the files from RC2 ISO(after mounting it)) these files:

Code: Select all

boot/syslinux/vmlinuz
boot/syslinux/initrd.xz
porteus/base/000-kernel.xzm
porteus/base/001-core.xzm
porteus/base/002-xorg.xzm
porteus/base/002-xtra.xzm (new in RC2)
porteus/base/003-cinnamon.xzm
no guarantees that you changes will be 100% compatible, there's only one way to find out ;)

How to update Porteus 5.01RC to 5.02RC?

Posted: 11 Oct 2020, 19:09
by miroslaw
Hi, I did this way, but now I have fresh clean system and during start system shows info as on picture:
Image

could you help me with this issue?

How to update Porteus 5.01RC to 5.02RC?

Posted: 11 Oct 2020, 21:16
by Ed_P
Go to the Porteus Menu > Admin > Porteus Save File Manager and create a save.dat file on your device. Mine is approximately 400MB. Once created edit your Porteus start codes and add the changes= cheatcode to them.

Or if you prefer add changes=EXIT: to them , the advantage of the EXIT option is your changes aren't save to disk until you shutdown which makes the system run faster on flash drives. Another advantage is if you screw up a change or try something you don't like when shutting down you have to the option to not save your changes.

If you are booting using grub you add the changes= cheatcode to the /boot/syslinux/vmlinuz command line. If you are booting from an install you add the changes= cheatcode to the /boot/syslinux/porteus.cfg APPEND line.

Some examples:

Code: Select all

LABEL GRAPHICAL
MENU LABEL Graphics mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/initrd.xz
APPEND changes=EXIT:UUID:8486-DDC5/changes/porteussave.dat extramod=UUID:8486-DDC5/Modules
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT

Code: Select all

menuentry "Porteus - installed" --class slackware   --class icon-porteus  {

     search -f /boot/syslinux/vmlinuz --set=root

     echo "USB root is:          "$root
     echo "Porteus folders:      /"

     set porteus_parms="extramod=/Modules;/Modsavedat changes=EXIT:/porteus/porteussave.dat volume=33 reboot=cold"

     echo "Porteus parms are:    "$porteus_parms
     echo

     linux /boot/syslinux/vmlinuz $porteus_parms
     initrd /boot/syslinux/initrd.xz
     echo "Booting Porteus"
}

How to update Porteus 5.01RC to 5.02RC?

Posted: 12 Oct 2020, 12:40
by ncmprhnsbl
miroslaw wrote:
11 Oct 2020, 19:09
could you help me with this issue?
so.. if you were using a changes folder before, i would assume that your drive is formatted posix(ext*)? if not, i've no idea how that was working...
if it is posix and you're getting that message, something's wrong...

How to update Porteus 5.01RC to 5.02RC?

Posted: 12 Oct 2020, 16:21
by miroslaw
hello,

yes my drive is formated ext* and i used changes folder. I'll check ed_p's solution and let you know. thanks

EDIT:
When i change in porteus.cfg there is no notification as on my screen, but system run still without my custiomizations (ex. wallpaper, theme) :(

Code: Select all


LABEL GRAPHICAL
MENU LABEL Graphics mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/initrd.xz
APPEND changes=/porteus copy2ram
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT

It's strange, beceuse i get back to files from 5.0rc1 (clean iso) /boot and /porteus and thats also don't work
hmm

How to update Porteus 5.01RC to 5.02RC?

Posted: 13 Oct 2020, 13:37
by gj_gruber
Hi team

for Porteus 5.0rc2 Mate Desktop + 000-kernel.xzm and mvlinux update, the CAJA output :

:~# caja
Could not register the application: Timeout was reached

How to update Porteus 5.01RC to 5.02RC?

Posted: 14 Oct 2020, 15:56
by Ed_P
miroslaw wrote:
12 Oct 2020, 16:21
yes my drive is formated ext* and i used changes folder. I'll check ed_p's solution and let you know. thanks
That's not what your image says.
Image

miroslaw wrote:
12 Oct 2020, 16:21
When i change in porteus.cfg there is no notification as on my screen, but system run still without my custiomizations (ex. wallpaper, theme) :(
Where is the file you are changing? /mnt/sdb1/boot/syslinux/?

How to update Porteus 5.01RC to 5.02RC?

Posted: 14 Oct 2020, 17:22
by miroslaw
hi Ed_p,
Here: mnt/sdca2/boot/syslinux
My system don't want to load my customization after change boot/syslinux/vmlinuz and boot/syslinux/initrd.xz files, but i don't save previous files..
I think that must be the way to get my Porteus 5.01rc back. I have coppy of folder /Porteus and Porteussave.dat file.
have you any other ideas? :D

Thank You! :worship:

How to update Porteus 5.01RC to 5.02RC?

Posted: 14 Oct 2020, 21:42
by Ed_P
There is another cfg file on your system and the boot files are finding it. Are you sure the boot files are being run from /mnt/sdca2? How are you booting sdca2, via EFI, BIOS, a boot manager?

On the other hand some good news, if you have a Porteussave.dat file from 5.0rc1, copy it to the sdca2 drive's module folder and rename it Porteussave.dat.xzm. I've used that approach to save my changes for years.

How to update Porteus 5.01RC to 5.02RC?

Posted: 15 Oct 2020, 12:15
by miroslaw
Yes I'm sure. because when i change sth in mnt/sdca2/boot/syslinux/porteus.cfg it change durring start as well.
I'm booting via Bios and i'm using pendrive with 2 partitions (FAT - for files visable for windows/linux and ext* -for Porteus).

I moved Porteussave.dat.xzm to modules, but it don't start. (Firefox from this folder starts fine.. ) hmmmmmmm

How to update Porteus 5.01RC to 5.02RC?

Posted: 15 Oct 2020, 16:14
by Ed_P
miroslaw wrote:
15 Oct 2020, 12:15
Yes I'm sure. because when i change sth in mnt/sdca2/boot/syslinux/porteus.cfg it change durring start as well.
:%) Confused. "sth"? And "it change durring start", I thought your cfg changes were not showing during start. :%)
I moved Porteussave.dat.xzm to modules, but it don't start. (Firefox from this folder starts fine.. ) hmmmmmmm
It's possible your porteussave.dat file is empty if your /changes are on the ext partition. The file is for systems run
on FAT partitions.

What folders do you have on each partition?

How to update Porteus 5.01RC to 5.02RC?

Posted: 22 Oct 2020, 20:25
by miroslaw
Hi, I was tired and i've formated my pendrive to fat32 installed new system customize and made porteussave.dat.
Now I'm happy Porteus user again. Many thanks for help me to know how Porteus works :beer:

How to update Porteus 5.01RC to 5.02RC?

Posted: 23 Oct 2020, 05:48
by Ed_P
:Yahoo!: Thanks for the update miroslaw. :good: