Hello,
I am new to this, and loving it!
I have two questions:
1) I am using the following cheatcodes and had hoped / expected to be able to remove the USB once successflly booted.
changes=/porteus changes-ro copy2ram noauto
However, what I am finding is that once removed, the booted system becomes unstable and crashes.
I only have the base modules plus the Chrome Browser module.
Are these cheat codes conflicting with each other?
2) Are modules readonly all the time?
If I boot without the changes-ro cheatcode, I undertand that my settings etc will be persistent. Do any of these get saved in a module? Or are the changes saved in the changes folder then merged back to the live filesystem on boot?
Thank you in advance for any advice.
Regards,
Richard.
Cheatcodes and removing USB
- ncmprhnsbl
- DEV Team
- Posts: 3933
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Cheatcodes and removing USB
in theory what you're doing should work, but apparently not something to do with way /changes is mounted, even with changes-ro.. i'm guessing..
a way around this is to make a module of your changes folder:
and not use the changes= cheatcode (or changes-ro).
there's save-session utility too, which has an option to save to module, if you want to update(replace) an existing changes module..
and yes, modules are always mounted readonly. (of course, if extracted, they can be modified however you want)
a way around this is to make a module of your changes folder:
Code: Select all
(as root)
#dir2xzm /path/to/changes /tmp/changes.xzm
mv /tmp/changes.xzm /path/to/porteus/modules
there's save-session utility too, which has an option to save to module, if you want to update(replace) an existing changes module..
and yes, modules are always mounted readonly. (of course, if extracted, they can be modified however you want)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8360
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Cheatcodes and removing USB
Hello RMorris. Welcome to Porteus.
Running without the changes= cheatcode makes the run read only, no need for the changes-ro cheatcode.
In addition to ncmp's suggestions here some others to save changes:
1. Creating a script to manually make a module of the changes important to you.
2. Create a save.dat file using the changes= cheatcode and making the changes you want to keep to the system, shutting down the system, copying the save.dat file to the modules folder and renaming it as .xzm, reboot without the changes= cheatcode.
Personally I think ncmp's save-session suggestion is the easiest. Menu > Admin > Porteus Setting Centre > top menu Down Arrow.
Running without the changes= cheatcode makes the run read only, no need for the changes-ro cheatcode.
In addition to ncmp's suggestions here some others to save changes:
1. Creating a script to manually make a module of the changes important to you.
2. Create a save.dat file using the changes= cheatcode and making the changes you want to keep to the system, shutting down the system, copying the save.dat file to the modules folder and renaming it as .xzm, reboot without the changes= cheatcode.
Personally I think ncmp's save-session suggestion is the easiest. Menu > Admin > Porteus Setting Centre > top menu Down Arrow.
Ed
Cheatcodes and removing USB
Thank you Ed_P & ncmprhnsbl for your replies - much appreciated.
It makes sense now and I think I will use both your suggestions to create a module once I have my desktop/settings the way I want them.
I am sure I will be back to the forum with more questions as I explore the power of this very clever distribution.
Thank you once again,
Richard.
It makes sense now and I think I will use both your suggestions to create a module once I have my desktop/settings the way I want them.
I am sure I will be back to the forum with more questions as I explore the power of this very clever distribution.
Thank you once again,
Richard.