Is there a way to save changes when you copy Porteus to RAM?
-
- Ronin
- Posts: 3
- Joined: 18 Jul 2015, 11:05
- Distribution: Porteus XFCE 64 Bit
- Location: Malta
Is there a way to save changes when you copy Porteus to RAM?
Hey,
I have put Porteus Linux on an sdcard and it's awesome. It's formatted as ext4 but when I boot by copying Porteus into RAM, it doesn't save changes.. Is there a way to save changes when booting in ram so you get both the better speed and a proper system without having to log into everything again?
I have put Porteus Linux on an sdcard and it's awesome. It's formatted as ext4 but when I boot by copying Porteus into RAM, it doesn't save changes.. Is there a way to save changes when booting in ram so you get both the better speed and a proper system without having to log into everything again?
-
- Samurai
- Posts: 134
- Joined: 30 Apr 2015, 12:00
- Distribution: XFCE Porteus Desktop 3.1 64bit
- Location: Moscow, Russia
Re: Is there a way to save changes when you copy Porteus to
as root user:
open /boot/syslinux/porteus.cfg file
find the following text:
LABEL copy2ram
MENU LABEL Copy To RAM
KERNEL vmlinuz
APPEND initrd=initrd.xz copy2ram
to the APPEND line add 'changes=porteus' and save the file
the line should look like this:
APPEND initrd=initrd.xz copy2ram changes=porteus
detailed information is available in the FAQ on the Porteus website
open /boot/syslinux/porteus.cfg file
find the following text:
LABEL copy2ram
MENU LABEL Copy To RAM
KERNEL vmlinuz
APPEND initrd=initrd.xz copy2ram
to the APPEND line add 'changes=porteus' and save the file
the line should look like this:
APPEND initrd=initrd.xz copy2ram changes=porteus
detailed information is available in the FAQ on the Porteus website
posted from Porteus
-
- Ronin
- Posts: 3
- Joined: 18 Jul 2015, 11:05
- Distribution: Porteus XFCE 64 Bit
- Location: Malta
Re: Is there a way to save changes when you copy Porteus to
Thanks! It was a real help ^^
-
- Ronin
- Posts: 3
- Joined: 18 Jul 2015, 11:05
- Distribution: Porteus XFCE 64 Bit
- Location: Malta
Re: Is there a way to save changes when you copy Porteus to
I have noticed that using that flag really slows down the system (my SDcard is 10MB/s or something like that (Class 10)) so I decided to copy the google chrome config folder and copy it every time I start the operating system since I only use Porteus for light browsing. Can you maybe add something that only saves changes when you restart/shutdown?
-
- Samurai
- Posts: 134
- Joined: 30 Apr 2015, 12:00
- Distribution: XFCE Porteus Desktop 3.1 64bit
- Location: Moscow, Russia
Re: Is there a way to save changes when you copy Porteus to
do all changes to the system, then add 'changes-ro' to the APPEND line and save the file and restart pc
posted from Porteus
- Ed_P
- Contributor
- Posts: 8555
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Is there a way to save changes when you copy Porteus to
Yes, use the changes=EXIT: cheatcode. Something likeKawaiiAurora wrote:Can you maybe add something that only saves changes when you restart/shutdown?
Code: Select all
changes=EXIT:/porteus3.0/changes/porteussave.dat
-
- Samurai
- Posts: 134
- Joined: 30 Apr 2015, 12:00
- Distribution: XFCE Porteus Desktop 3.1 64bit
- Location: Moscow, Russia
Re: Is there a way to save changes when you copy Porteus to
posted from Porteus
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Is there a way to save changes when you copy Porteus to
Normally run in RAM, Always Fresh and without changes. Trying out the best of the suggestions here, find changes to be a bit holey. For one thing, it doesn't restore all the activated modules. So to restore the setup had to do activations in rootcopy, to be precise: /porteus/rootcopy/etc/rc.d/rc.local. Doing this, some of the apps, active at time of restart/shutdown, got back some of their settings, as opposed to doing the activations once again when the system was up and running. Or am I missing something?
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
-
- Samurai
- Posts: 134
- Joined: 30 Apr 2015, 12:00
- Distribution: XFCE Porteus Desktop 3.1 64bit
- Location: Moscow, Russia
Re: Is there a way to save changes when you copy Porteus to
i use:
it suits me, maybe there is something better, i dont know, "changes=EXIT:" makes the pc shut down long so i use read only changes
Code: Select all
from=/os copy2ram changes=/os/porteus changes-ro
posted from Porteus