Save.dat container (SOLVED)

Post here if you are a new Porteus member and you're looking for some help.
User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Save.dat container

Post#61 by brokenman » 19 Dec 2013, 00:53

You havn't yet read, or perhaps not fully understood the cheatcodes.txt file. You are booting from an ISO file correct? The confusion here is that 'porteus/optional' folder that fanthom is talking about is contained WITHIN the iso file you are booting from. You have mistakenly created a superfluous folder of the same name on your hard drive that porteus will not know about. The cheatcode you need to read about is extramod=

Here is what cheatcodes.txt says about it:
extramod=/path/folder_with_modules
extramod=/path/folder_with_modules;/path2/folder_with_modules
'extramod=/mnt/sdb3/porteus-modules'
'extramod=/mnt/sdb3/porteus-modules;/mnt/sdc4/inkscape_modules'
'load=' or 'extramod=' cheatcodes.
'extramod=/mnt/sdb3/porteus/gimp rammod=001;002;gimp'
extramod=LABEL:YourLabelName/path/to_folder/with_modules
It looks to me like you have created a folder at /mnt/sda6/Porteus/Optional and are putting your modules there. Firstly i would create a folder just called: /mnt/sda6/mymodules then use the cheatcode

extramod=/mnt/sda6/mymodules
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: Save.dat container

Post#62 by Ed_P » 19 Dec 2013, 05:19

brokenman wrote:You havn't yet read, or perhaps not fully understood the cheatcodes.txt file.
No! What gave it away?
You are booting from an ISO file correct?
Yes.
The confusion here is that 'porteus/optional' folder that fanthom is talking about is contained WITHIN the iso file you are booting from.
Great. :(
You have mistakenly created a superfluous folder of the same name on your hard drive that porteus will not know about. The cheatcode you need to read about is extramod=

Here is what cheatcodes.txt says about it:
extramod=/path/folder_with_modules
extramod=/path/folder_with_modules;/path2/folder_with_modules
'extramod=/mnt/sdb3/porteus-modules'
'extramod=/mnt/sdb3/porteus-modules;/mnt/sdc4/inkscape_modules'
'load=' or 'extramod=' cheatcodes.
'extramod=/mnt/sdb3/porteus/gimp rammod=001;002;gimp'
extramod=LABEL:YourLabelName/path/to_folder/with_modules
Here is what the cheatcodes file in the RazorQT 2.1 64bit ISO says about it.

Code: Select all

extramod=/path/folder_with_modules
extramod=/path/folder_with_modules;/path2/folder_with_modules

   ... This cheatcode lets you load modules from one or more external
       folders that are located outside of the /porteus directory.
       Multiple folders can be specified, with full paths separated by
       a semicolon without any spaces.
       Examples:
       'extramod=/mnt/sdb3/porteus-modules'
       'extramod=/mnt/sdb3/porteus-modules;/mnt/sdc4/inkscape_modules'
Apparently each ISO has it's own set of cheatcodes??
It looks to me like you have created a folder at /mnt/sda6/Porteus/Optional and are putting your modules there. Firstly i would create a folder just called: /mnt/sda6/mymodules then use the cheatcode

extramod=/mnt/sda6/mymodules
Are you sure my cheatcode shouldn't be

extramod=f:/mymodules

Not a major problem, I will try both and report back.

And thank you for trying to help a newbie.
Ed

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

Re: Save.dat container

Post#63 by Ed_P » 19 Dec 2013, 06:17

Ok.

extramod=f:/mymodules

Doesn't work, surprise.

I moved my porteussave.xzm file to the /mnt/sda6/porteus folder and used

extramod=/mnt/sda6/porteus

And it didn't work either.

I am noticing many msgs on the terminal screen when I reboot. They appear to be error msgs is there a way to view this log/msgs/screen without rebooting? And be able to capture it?
Ed

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Save.dat container

Post#64 by fanthom » 19 Dec 2013, 07:49

@brokenman
You are booting from an ISO file correct? The confusion here is that 'porteus/optional' folder that fanthom is talking about is contained WITHIN the iso file you are booting from.
thanks - it would probably take me ages to figure this out.

@Ed_P
extramod=f:/mymodules
Doesn't work, surprise.
this is not Windows
moved my porteussave.xzm file to the /mnt/sda6/porteus folder and used
extramod=/mnt/sda6/porteus
And it didn't work either.
it's better to give this folder some unique name like porteus-xzm but it should work regardless as you are providing full path (/mnt/sda6). please show me output of following commands:

Code: Select all

cat /proc/cmdline
ls /mnt/sda6/porteus
ls /mnt/live/memory/images
thanks
Please add [Solved] to your thread title if the solution was found.

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

Re: Save.dat container

Post#65 by Ed_P » 19 Dec 2013, 21:05

fanthom wrote:
moved my porteussave.xzm file to the /mnt/sda6/porteus folder and used
extramod=/mnt/sda6/porteus
And it didn't work either.
it's better to give this folder some unique name like porteus-xzm but it should work regardless as you are providing full path (/mnt/sda6). please show me output of following commands:

Code: Select all

cat /proc/cmdline
ls /mnt/sda6/porteus
ls /mnt/live/memory/images
thanks
My latest attempt hung the pc and I had to power off to reboot. What I did was;
start Porteus using the change= cheatcode to pick up my porteussave.dat changes,
used Porteus Settings Center to create a save session file named porteussession.dat on my NTFS partition,
renamed my porteus folder to porteussessions,
copied my porteussession.dat file to the porteussessions folder and renamed it porteussession.dat.xzm,
changed my extramod= cheatcode to point to /mnt/sda6/porteussessions

I may try using my porteussave.dat file instead next time.

--------

Update

Using porteussave.dat.xzm helped, in that the system isn't hung but it's the same as Fresh mode.

Code: Select all

guest@porteus:~$ cat /proc/cmdline
quiet from=/ISOs/Porteus-RazorQT-v2.1-x86_64.iso extramod==/mnt/sda6/porteussessions
guest@porteus:~$ ls /mnt/sda6/porteussessions
porteussave.dat.xzm*
guest@porteus:~$ ls /mnt/live/memory/images
000-kernel.xzm/  001-core.xzm/  002-xorg.xzm/  003-razor.xzm/  04-firefox.xzm/
guest@porteus:~$ 

-----

Update

This works though. :Yahoo!:

Code: Select all

guest@porteus:~$ cat /proc/cmdline
quiet from=/ISOs/Porteus-RazorQT-v2.1-x86_64.iso extramod=/mnt/sda6/porteussessions
guest@porteus:~$ ls /mnt/sda6/porteussessions
porteussave.dat.xzm*
guest@porteus:~$ ls /mnt/live/memory/images
000-kernel.xzm/  001-core.xzm/  002-xorg.xzm/  003-razor.xzm/  04-firefox.xzm/  porteussave.dat.xzm/
guest@porteus:~$ 
Anyone see the error before?

Thank you @fanthom and @brokenman. :beer:
Ed

tome
Contributor
Contributor
Posts: 678
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Save.dat container

Post#66 by tome » 20 Dec 2013, 05:19

your error:
extramod== vs extramod=
You have mind and feelings. Be wise and clever.

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

Re: Save.dat container

Post#67 by Ed_P » 20 Dec 2013, 05:24

tome wrote:your error:
extramod== vs extramod=
Yup. You have good eyes @tome. :beer:
Ed

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

Re: Save.dat container

Post#68 by Ed_P » 21 Dec 2013, 19:50

Can an Admin add "[Solved :-) ]" to the title of this topic? I can't, since I didn't start it.
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Save.dat container

Post#69 by brokenman » 22 Dec 2013, 12:50

Excellent. In future please start your own instead of hijacking. Then you can add solved when it is done. Since the OP didn't persevere to solve her problem, i don't think i will add solved.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: Save.dat container

Post#70 by Ed_P » 22 Dec 2013, 15:31

brokenman wrote:In future please start your own instead of hijacking.
You mean like this one? http://forum.porteus.org/viewtopic.php?f=81&t=2672 :beer:
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Save.dat container

Post#71 by brokenman » 22 Dec 2013, 16:54

Yes. Are you trying to imply something by pointing there?
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: Save.dat container

Post#72 by Ed_P » 22 Dec 2013, 19:36

Well, I thought if you read the whole posting I linked to it was obvious.
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Save.dat container

Post#73 by brokenman » 22 Dec 2013, 21:37

Perhaps i am naive, or stupid ... or both, but it is not obvious to me. Perhaps it is easier if i simply don't reply to your posts.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: Save.dat container

Post#74 by Ed_P » 22 Dec 2013, 23:47

Good grief. You asked me to change the topic's title in post #2 of that thread. The other day I did as you asked. That's why I wrote Merry Christmas at the bottom of post #1.
Ed

budchekov
White ninja
White ninja
Posts: 9
Joined: 27 Nov 2013, 04:07
Distribution: Xubuntu 12.10
Location: Los Angeles

Re: Save.dat container (SOLVED)

Post#75 by budchekov » 27 Dec 2013, 01:20

Just marked this solved, I left this thread after it was hijacked, all is working fine, idiotic in front of my face error, I persevered because this is one fine very fast little Distro, currently using the beta, thanks brokenman, apologies if I came across as being a rather touchy dou***.
Happy new Year ...and could someone lock it.

Locked