Porteus-Cinnamon 5.0 in Vmware Fusion

Post here if you are a new Porteus member and you're looking for some help.
franc
White ninja
White ninja
Posts: 6
Joined: 25 May 2023, 08:28
Distribution: Porteus-Cinnamon

Porteus-Cinnamon 5.0 in Vmware Fusion

Post#1 by franc » 25 May 2023, 08:44

Hallo
I have the ISO Porteus-CINNAMON-v5.0-x86_64.iso (359 MB) in Vmware Fusion 8.5.10 (Pro) on my old MacBook Pro (Mid 2009) with OS 10.15.7 and start it as Live Boot.
Now I wanted to save settings, I created a partition with ext4 (that is a virtual disk, coming from Vmware) and it is called sda1.
I create a new safe container, save it to /mnt/sda1/safe.dat
The instruction of Porteus SaveFile Manager tells me now to save that path to the APPEND in the config:
Your savefile has been created at
/mnt/sda1/save.dat
We will now open the porteus config file.
Please edit the APPEND line with: changes=/mnt/sda1/save.dat.
and that file opens, it is in /mnt/sr0/boot/syslinux/porteus.cfg as read only. Yes clear, I run a live system from an iso file, how could I write that?!

I must have been missing something here in the instructions, can somebody help me?
Am I totally wrong to try to save the state of a live system?

EDIT: it must have something to do with the cheatcode (https://github.com/Sitwon/Porteus/blob/ ... tcodes.txt) ...

I thought I could use the vmware vhd somehow. I would install it there if possible.

Thank for hint!
frank

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

Porteus-Cinnamon 5.0 in Vmware Fusion

Post#2 by Ed_P » 25 May 2023, 13:10

Hello franc. :)
franc wrote:
25 May 2023, 08:44
Now I wanted to save settings, I created a partition with ext4 (that is a virtual disk, coming from Vmware) and it is called sda1.
I create a new safe container, save it to /mnt/sda1/safe.dat
I boot ISOs all the time but I don't VMware and I have no Mac experience so my help may not be as specific as you want.

To save changes you need either a save.dat file or a ext4 partition. You don't need both. I use the save.dat approach for saving my changes and I specify that and it's location in my grub2 boot parms.

Code: Select all

     set linux_folder=/porteus5.0
     set iso="/ISOs/Porteus-CINNAMON-v5.0-x86_64-230430.iso"
     set bootparms="volume=10 reboot=cold extramod=$linux_folder/Modules  changes=EXIT:$linux_folder/changes/50save.dat
          
     linux (loop)/boot/syslinux/vmlinuz      from=$iso $bootparms
You must have boot parms in your VMware for starting Porteus. Do something similar for them.

Another option is to add the save.dat code to your porteus.cfg file and rebuild the ISO file but may be a bit more work.

I hope this helps you.
Ed

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

Porteus-Cinnamon 5.0 in Vmware Fusion

Post#3 by donald » 25 May 2023, 13:27

Hi franc
Install porteus onto the vhd.

franc
White ninja
White ninja
Posts: 6
Joined: 25 May 2023, 08:28
Distribution: Porteus-Cinnamon

Porteus-Cinnamon 5.0 in Vmware Fusion

Post#4 by franc » 25 May 2023, 14:39

Yes, I have done that then.
I first created a partition with ext4 then I installed Porteus on it.

OK then, I found it, at least nearly:
After creating the save.dat in /mnt/sda1/safe.dat with xfs (not ext4!) I could mount my cheat code:

Code: Select all

changes=/mnt/sda1/save.dat
with pressing TAB on the start screen (where I can choose Graphics mode, Always Fresh, Copy to RAM etc.)

The last question remaining is: how or where can I write this permanently, in Vmware Workstation / Fusion, so I dont need to press TAB on boot and enter that text?
Possible?

franc
White ninja
White ninja
Posts: 6
Joined: 25 May 2023, 08:28
Distribution: Porteus-Cinnamon

Porteus-Cinnamon 5.0 in Vmware Fusion

Post#5 by franc » 25 May 2023, 14:46

Ed_P wrote:
25 May 2023, 13:10
...
To save changes you need either a save.dat file or a ext4 partition. You don't need both...
I installed it, but it does not save the state, when rebooting. Only with boot > TAB > changes=/mnt/sda1/save.dat

How can I save on the partition without that cheat code when I already installed it?

franc
White ninja
White ninja
Posts: 6
Joined: 25 May 2023, 08:28
Distribution: Porteus-Cinnamon

Porteus-Cinnamon 5.0 in Vmware Fusion

Post#6 by franc » 25 May 2023, 15:13

Oh, sorry. It was as easy as this: I had to remove the iso from the vm settings and it booted to the installed system, saves as normal.
So it is working :)
Thank for help! It helps a lot to know that it should work!
frank

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

Porteus-Cinnamon 5.0 in Vmware Fusion

Post#7 by Ed_P » 25 May 2023, 17:06

:good: Thanks for the update franc. :)
Ed

Post Reply