Save settings and apps after shut down or reboot
Save settings and apps after shut down or reboot
Hello there,
I am a newbie in Linux and especial in portables. I found this great distro Porteus and am very very happy with this. Its unbelievable simple to install, use, and super quick!
But the first problem I have, how I can save my settings and all changes to my USB stick?
Was make everything according to this manual http://www.porteus.org/component/conten ... guide.html
- booting is great and runs perfectly
- everything works perfectly in the system - installation, wifi, keyboard...
- But how I can save changes like installed apps or settings (wifi password, keyboard settings ?)
- I trying to save manager, create set everything according to the instructions in the APPEND line with the right path and name of file.
- I dont found answer on my problem in forum history
Can you pls someone help what i doing wrong ? I was very happy if i can use this very nice distro!
Thanks in advance
Van Auss
I am a newbie in Linux and especial in portables. I found this great distro Porteus and am very very happy with this. Its unbelievable simple to install, use, and super quick!
But the first problem I have, how I can save my settings and all changes to my USB stick?
Was make everything according to this manual http://www.porteus.org/component/conten ... guide.html
- booting is great and runs perfectly
- everything works perfectly in the system - installation, wifi, keyboard...
- But how I can save changes like installed apps or settings (wifi password, keyboard settings ?)
- I trying to save manager, create set everything according to the instructions in the APPEND line with the right path and name of file.
- I dont found answer on my problem in forum history
Can you pls someone help what i doing wrong ? I was very happy if i can use this very nice distro!
Thanks in advance
Van Auss
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Save settings and apps after shut down or reboot
Hello Van Auss. Welcome.
To save changes create a porteussave.dat file (Menu > Administration > Porteus save file manager), put it in your /changes folder, then add it to your boot menu with the changes= cheatcode.
Use the file to save setting changes and app settings, like browser bookmarks, but not files like movies and music downloads. For those big files save them directly to the USB stick.
BTW There is a file in the root of the ISO titled USB_INSTALLATION.txt that is a good read also.
Just noticed you said you tried changing the APPEND line. Please post your line. Also an LS of your USB drive.
To save changes create a porteussave.dat file (Menu > Administration > Porteus save file manager), put it in your /changes folder, then add it to your boot menu with the changes= cheatcode.
Code: Select all
APPEND changes=/changes/porteussave.dat
BTW There is a file in the root of the ISO titled USB_INSTALLATION.txt that is a good read also.
Just noticed you said you tried changing the APPEND line. Please post your line. Also an LS of your USB drive.
Code: Select all
guest@porteus:~$ ls -g /mnt/sdb1/
total 272
-rwxrwxrwx 1 root 2271 Mar 20 15:51 Dell2Dell.txt*
drwxrwxrwx 4 root 16384 Nov 21 2018 EFI/
drwxrwxrwx 2 root 16384 Apr 19 15:43 modules/
drwxrwxrwx 2 root 16384 Nov 21 2018 optional/
drwxrwxrwx 2 root 16384 Nov 21 2018 System\ Volume\ Information/
-rwxrwxrwx 1 root 1512 Apr 29 2018 USB_INSTALLATION.txt*
drwxrwxrwx 3 root 16384 Feb 2 07:59 Xfers/
drwxrwxrwx 5 root 16384 Nov 20 2018 boot/
drwxrwxrwx 2 root 16384 Apr 19 15:37 changes/
drwxrwxrwx 6 root 16384 Apr 29 2018 porteus/
guest@porteus:~$
Ed
Save settings and apps after shut down or reboot
Hi Ed,
thank you for quick answer. Of course i tried all from installation.txt
Meanwhile treid make it complete new - format USB to ext4, install 5.1.5-porteus and now i try reboot. I read in some topics i dont need to use cheatcode in case of ext4. I try to reboot my system and save only keyboard settings and wifi password, but not my installed firefox (my first attemp). What i need to use cheatcode now ? What i do wrong or missed ?
After new installation look like :
guest@porteus:~$ ls -g /mnt/sdb1/
total 16
drwx------ 2 root 16384 Mar 29 2018 lost+found/
guest@porteus:~$
many thanks in advance
thank you for quick answer. Of course i tried all from installation.txt
Meanwhile treid make it complete new - format USB to ext4, install 5.1.5-porteus and now i try reboot. I read in some topics i dont need to use cheatcode in case of ext4. I try to reboot my system and save only keyboard settings and wifi password, but not my installed firefox (my first attemp). What i need to use cheatcode now ? What i do wrong or missed ?
After new installation look like :
guest@porteus:~$ ls -g /mnt/sdb1/
total 16
drwx------ 2 root 16384 Mar 29 2018 lost+found/
guest@porteus:~$
many thanks in advance
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Save settings and apps after shut down or reboot
You are right with ext4 you don't need the changes= cheatcode. I've never tried the Kiosk 5.1.5 system so I don't know how things are added to it.
With Porteus though apps like firefox aren't installed. They are downloaded as modules and saved in the /modules folder which is added to the APPEND line with the extramod= cheatcode.
BTW When you are booted to the USB drive the drive is sda1, so ls -g /mnt/sda1/ was what was needed.
With Porteus though apps like firefox aren't installed. They are downloaded as modules and saved in the /modules folder which is added to the APPEND line with the extramod= cheatcode.
Code: Select all
APPEND extramod=/modules
Ed
Save settings and apps after shut down or reboot
Code: Select all
guest@porteus:~$ ls -g /mnt/sda1/
total 58524
drwxr-xr-x 2 users 4096 May 2 15:18 Desktop/
drwxr-xr-x 2 users 4096 May 2 15:18 Documents/
drwxr-xr-x 2 users 4096 May 2 15:18 Downloads/
drwxr-xr-x 2 users 4096 May 2 15:18 Music/
drwxr-xr-x 2 users 4096 May 2 15:18 Pictures/
drwxr-xr-x 2 users 4096 May 2 15:18 Public/
drwxr-xr-x 2 users 4096 May 2 15:18 Videos/
-rw-r--r-- 1 root 59875328 Mar 26 13:12 firefox-74.0-x86_64-enUS.xzm
drwx------ 2 root 16384 Jul 5 2019 lost+found/
drwxr-xr-x 9 root 4096 May 2 10:05 timeshift/
guest@porteus:~$
Thanks in advance
- ncmprhnsbl
- DEV Team
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Save settings and apps after shut down or reboot
none of this is making any sense
however, the ls outputs are making even less sense..
vanAuss, can you post the contents of /var/log/porteus-livedbg ? (from the running porteus that is)
nope.. any modules in the <usb>/porteus/modules folder are loaded automatically, no extramod= cheatcode is needed.
never in my experience... sda* is usually the internal hard drive and sdb1 is generally correct to be the external usb booted from..
however, the ls outputs are making even less sense..
vanAuss, can you post the contents of /var/log/porteus-livedbg ? (from the running porteus that is)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Save settings and apps after shut down or reboot
Thanks for clarifying that. I always think of it as for system modules rather than things we users add. 00x modules to fix bugs and add printers etc. Browsers and games and alike are kept separate. But than again I only have a couple of USB drives, in my world I boot ISO files and everything is governed by cheatcodes.ncmprhnsbl wrote: ↑02 May 2020, 21:51none of this is making any sense
nope.. any modules in the <usb>/porteus/modules folder are loaded automatically, no extramod= cheatcode is needed.
Ed
Save settings and apps after shut down or reboot
Thank you for carry novice like me, except someone from dev team!ncmprhnsbl wrote: ↑02 May 2020, 21:51none of this is making any sensenope.. any modules in the <usb>/porteus/modules folder are loaded automatically, no extramod= cheatcode is needed.never in my experience... sda* is usually the internal hard drive and sdb1 is generally correct to be the external usb booted from..
however, the ls outputs are making even less sense..
vanAuss, can you post the contents of /var/log/porteus-livedbg ? (from the running porteus that is)
Is it what you need ?
Code: Select all
root@porteus:/var/log# cat porteus-livedbg
# Recognized devices:
/dev/sda1: UUID="f89b6d8b-2f70-424c-b259-fdf4424892bc" TYPE="ext4"
/dev/sdb1: UUID="1a542036-eb04-4642-8222-dbcaea81b667" TYPE="ext4"
/dev/sdc1: UUID="028edfa0-282e-48c4-8516-3c56e03b8f6d" TYPE="ext4"
/dev/sdd1: LABEL="PORTEUS" UUID="315f9274-b520-d601-301b-9274b520d601" TYPE="ext4"
# Booting device:
/mnt/sdd1
# Porteus data found in:
/mnt/sdd1/porteus
# Changes are stored in:
/porteus
# Non standard /rootcopy dir:
none
# Modules activated during boot time:
/mnt/sdd1/porteus/base/000-kernel.xzm
/mnt/sdd1/porteus/base/001-core.xzm
/mnt/sdd1/porteus/base/002-xorg.xzm
/mnt/sdd1/porteus/base/003-xfce.xzm
root@porteus:/var/log#
- ncmprhnsbl
- DEV Team
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Save settings and apps after shut down or reboot
perfect .. so your booting device where porteus is frugally installed is sdd1
not sure about this? the kernel version?
anyway, your sdd1 install should look similar to this:
Code: Select all
$ tree -L 2 sdb1
sdb1
├── EFI
│ └── boot
├── USB_INSTALLATION.txt
├── boot
│ ├── Porteus-installer-for-Linux.com
│ ├── Porteus-installer-for-Windows.exe
│ ├── docs
│ └── syslinux <<<this is where your porteus.cfg bootloader config file is, to add cheats to the APPEND line
├── lost+found [error opening dir]
└── porteus
├── base <<<< where the base system modules reside (best left alone until you know what you're doing ;)
├── make_iso.sh
├── modules <<<<this is where you put modules(*.xzm) if you want them active from boot time
├── optional <<<<if you put modules here, they can be activated at boot with cheatcode: load=blah;blah2;etc
├── porteus-v5.0-x86_64.cfg <<< this also takes cheatcodes, however there are some that won't work
└── rootcopy <<<< a sort of mirror filesystem(that you create yourself) that is overlayed on the filesystem at boot, but is only modified manually
|___changes <<<< this folder should be present if the default changes=/porteus cheatcode is present on the APPEND line
also, with the 'extramod' cheatcode you load modules from any attached drive.. eg. if you used extramod=/mnt/sda1 ,your firefox module that's there would be loaded at boot.. not to mention that you navigate your filemanager to where ever you have some modules and activate(and deactivate) them with mouseclicks at any time after boot..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Save settings and apps after shut down or reboot
Thank you very much for all. Now is great explained for me!