[Solved]Does not store configuration and data
Moderator: M. Eerie
[Solved]Does not store configuration and data
Hello,
I want to boot from usb stick and keep my configuration and also the after installed programs.
I have a Fat32 partition on the HDD where the porteus file is stored.
The file is also created.
When I reboot everything is gone again.
What do I have to do to make it work?
Thanks for your help.
ralf
I want to boot from usb stick and keep my configuration and also the after installed programs.
I have a Fat32 partition on the HDD where the porteus file is stored.
The file is also created.
When I reboot everything is gone again.
What do I have to do to make it work?
Thanks for your help.
ralf
Last edited by rrbs on 02 Nov 2022, 21:04, edited 1 time in total.
- ncmprhnsbl
- DEV Team
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Does not store configuration and data
hi, have you added the path to your save file to either:
<HDD where the porteus file is stored>/config/cheatcodes : changes=/path/to/savefile.dat
or
<HDD where the porteus file is stored>/boot/syslinux/porteus.cfg on the APPEND line of the first boot entry
?
although, it seems like you're saying that you're booting from a usb stick but using porteus (folders of modules etc) from the HDD?
so.. the boot folder is on the usb? if that's right, it should be doable..
have good read of /boot/docs/cheatcodes.txt .. with the load= and extramod= codes you can load modules from anywhere..
<HDD where the porteus file is stored>/config/cheatcodes : changes=/path/to/savefile.dat
or
<HDD where the porteus file is stored>/boot/syslinux/porteus.cfg on the APPEND line of the first boot entry
?
although, it seems like you're saying that you're booting from a usb stick but using porteus (folders of modules etc) from the HDD?
so.. the boot folder is on the usb? if that's right, it should be doable..
have good read of /boot/docs/cheatcodes.txt .. with the load= and extramod= codes you can load modules from anywhere..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Does not store configuration and data
Thanks.
How can I install programs on nemesis that are still there after reboot?
How can I install programs on nemesis that are still there after reboot?
- ncmprhnsbl
- DEV Team
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Does not store configuration and data
the best way is make modules:
(commands run as root in a terminal)
1. set-pman (gets the pacman keys/database stuff ready for use and dumps it in a module for you)
2. pman -Ss <package-name> (searches for a package . .. can use pacman -Ss ..same thing) ( use -Si for more detail info)
3. pmod <package-name(s)> (downloads and creates a module or modules of desired package and required dependencies)(same as pman -Sw)
4. the resulting module(s) is in /tmp/, copy it to <location_of>/porteus/modules if you want them activated at boot or somewhere else on you HDD or usb to activate on demand.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Does not store configuration and data
When I try to copy a module from /tmp to /mnt/sr0/porteus/modules, I get an error.
/mnt/sr0/porteus/modules permission denied
How can I copy the built module?
pmod not found
Do I need to install it first?
(Nemesis-v22.8+1)
/mnt/sr0/porteus/modules permission denied
How can I copy the built module?
pmod not found
Do I need to install it first?
(Nemesis-v22.8+1)
- ncmprhnsbl
- DEV Team
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Does not store configuration and data
/mnt/sr0/ is a CD (which i presume you're booting from?), you can't write to that.. you need to copy it to a hard drive or usb stick..
pmod is just an alias for "pman -Sw" (defined in /etc/bash/porteus.bashrc)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Does not store configuration and data
Thanks for your help.
I will try it.
I will try it.
Does not store configuration and data
Now I have another problem.
- setup-pman
then:
pman -Sw firefox
A fatal error occurred.
/usr/local/bin/pman
LINE:438
No modules config file found.
what this? I have done setup-pman after all.
- setup-pman
then:
pman -Sw firefox
A fatal error occurred.
/usr/local/bin/pman
LINE:438
No modules config file found.
what this? I have done setup-pman after all.
- ncmprhnsbl
- DEV Team
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Does not store configuration and data
it's looking for /etc/porteus.d/modules, which is a config file that (should) exists in <your_install_media>/config directory .. where various options can be set..
<your_install_media> should contain these directories: boot, EFI, porteus, config ..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Does not store configuration and data
ah, ok.
I now have the modules in:
/mnt/sda4/porteus/modules
How can I activate and use this now?
I now have the modules in:
/mnt/sda4/porteus/modules
How can I activate and use this now?
- ncmprhnsbl
- DEV Team
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Does not store configuration and data
as Ed says... as well: simply (as root):
Code: Select all
activate /path/to/module.xzm
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8374
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Does not store configuration and data
I believe in a file manager double clicking the .xzm file invokes the activate function.
Ed
- ncmprhnsbl
- DEV Team
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Does not store configuration and data
well, in nemesis, i couldn't guarantee that, because for some unknown reason, it seems to default to deactivate..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8374
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA