Copy to RAM with updates
Moderator: M. Eerie
-
- White ninja
- Posts: 5
- Joined: 22 Sep 2016, 21:15
- Distribution: Arch/Gentoo/Nemesis
- Location: Brazil
Copy to RAM with updates
Hello!
I have installed Nemesis and updated it using setup-pman and pacman -Syu (because for some reason pman -Syu didn't really work after all the installation process)
I really like the modularity of packages, but that doesn't seem to work very well with arch packages because everything must be updated for new packages to work.
Everything works if I boot from the graphical entry (except very slow), and copy2ram only gives me the fresh system.
So, I wish to make the "fresh system" the updated system with the things I installed. How to do that?
I might be doing something wrong, so sugestions are very welcome!
Thanks!
I have installed Nemesis and updated it using setup-pman and pacman -Syu (because for some reason pman -Syu didn't really work after all the installation process)
I really like the modularity of packages, but that doesn't seem to work very well with arch packages because everything must be updated for new packages to work.
Everything works if I boot from the graphical entry (except very slow), and copy2ram only gives me the fresh system.
So, I wish to make the "fresh system" the updated system with the things I installed. How to do that?
I might be doing something wrong, so sugestions are very welcome!
Thanks!
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Copy to RAM with updates
Good that you got to a functional system. Nemesis is in development. Presently, it has stopped to permit the main developper brokenman to work on the slackware/porteus version of this forum.
Istinjazz is the right guy to get info presently. He is from manjaro and has done some testing on nemesis, and seems quite enthusiastic about nemesis. See:
Many threads are from him in the Nemesis section.
He might be the right guy to answer your question. And to discuss of some of the issues with nemesis, Just wait for the man or send a PM.
Istinjazz is the right guy to get info presently. He is from manjaro and has done some testing on nemesis, and seems quite enthusiastic about nemesis. See:
Many threads are from him in the Nemesis section.
He might be the right guy to answer your question. And to discuss of some of the issues with nemesis, Just wait for the man or send a PM.
Prendre son temps, profiter de celui qui passe.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Copy to RAM with updates
Or maybe you just want to transform the persistent changes into a module which could become with the other modules your fresh system. And from there build with pman?
In this case, I might be your man.
Especially, that I would appreciate your updated system.
Are you on linux file system or fat32?
In this case, I might be your man.
Especially, that I would appreciate your updated system.
Are you on linux file system or fat32?
Prendre son temps, profiter de celui qui passe.
-
- White ninja
- Posts: 5
- Joined: 22 Sep 2016, 21:15
- Distribution: Arch/Gentoo/Nemesis
- Location: Brazil
Re: Copy to RAM with updates
Vonverting changes to a module is good! It might take forever though :p
Let's proceed with that.
I'm using ext4.
Let's proceed with that.
I'm using ext4.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Copy to RAM with updates
Might be worth a try. It depends on the size of the file. Sorry that you did not used ext2 in the first place.
This is all I can offer now. Istinjazz might know better.
This is all I can offer now. Istinjazz might know better.
Prendre son temps, profiter de celui qui passe.
-
- White ninja
- Posts: 5
- Joined: 22 Sep 2016, 21:15
- Distribution: Arch/Gentoo/Nemesis
- Location: Brazil
Re: Copy to RAM with updates
Whats the problem with ext4?
How I do that? dir2xzm changes modules/update.xzm?
Experience of doing that?
- It doesn't take forever. It's reasonably fast.
- Things are persistent as they should.
- Some minor issues with duplicate database. I'll try to fix them and see what happens
How I do that? dir2xzm changes modules/update.xzm?
Experience of doing that?
- It doesn't take forever. It's reasonably fast.
- Things are persistent as they should.
- Some minor issues with duplicate database. I'll try to fix them and see what happens
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Copy to RAM with updates
Once satisfied or before the system breaks you can transform the /porteus/changes folder into a module with /usr/local/bin/dir2xzm
example:
cd /porteus/changes
dir2xzm yourchangefolder nameofmodule.xzm
example:
cd /porteus/changes
dir2xzm yourchangefolder nameofmodule.xzm
Prendre son temps, profiter de celui qui passe.
-
- White ninja
- Posts: 5
- Joined: 22 Sep 2016, 21:15
- Distribution: Arch/Gentoo/Nemesis
- Location: Brazil
Re: Copy to RAM with updates
Yep I did that
It worked!
Some remarks:
- I had to write a python script to remove the duplicates (they were a lot)
- Packages that are no longer needed as the time goes don`t get deleted and have to be manually removed (upower-pm-utils libdbus)
- After that system updates are a lot faster (10 packages or so instead of 300+)
This is a workaround. A better solution would be to update the "base" system as the user updates and not appending new things.
What about this?
It worked!
Some remarks:
- I had to write a python script to remove the duplicates (they were a lot)
- Packages that are no longer needed as the time goes don`t get deleted and have to be manually removed (upower-pm-utils libdbus)
- After that system updates are a lot faster (10 packages or so instead of 300+)
This is a workaround. A better solution would be to update the "base" system as the user updates and not appending new things.
What about this?
- Blaze
- DEV Team
- Posts: 3885
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Re: Copy to RAM with updates
Hi, Will.
Nemesis have a bug with dcadec.
For correcting updating packages of Nemesis you are need to run these commands:
Nemesis have a bug with dcadec.
For correcting updating packages of Nemesis you are need to run these commands:
Code: Select all
setup-pman
pacman -S dcadec
rm -rf /usr/lib/libdcadec.so.0
pacman -S dcadec
pacman -Syu
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Copy to RAM with updates
Posting your updated nemesis change folder as a xzm module on mediafire or the sort would be appreciated.
Prendre son temps, profiter de celui qui passe.
-
- White ninja
- Posts: 5
- Joined: 22 Sep 2016, 21:15
- Distribution: Arch/Gentoo/Nemesis
- Location: Brazil
Re: Copy to RAM with updates
I could upload it but I have custom software installed. The update.xzm is about 1gb. :p
If someone explain how to make that base system .xzm I can make an updated version of it. Or even a script to update it for new users so Nemesis can be more useful.
If someone explain how to make that base system .xzm I can make an updated version of it. Or even a script to update it for new users so Nemesis can be more useful.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Copy to RAM with updates
To decompress each unit of base do:
Packages are located at:
/mnt/sda5/1_nemesis/porteus/base/002-gui/var/lib/pacman/local/
To rebuild modules:
dir2xzm /path/dir /path/dir.xzm
or look at:
http://www.porteus.org/component/conten ... udies.html
Code: Select all
root@porteus:/mnt/sda5/1_nemesis/porteus/base# mkdir 002-gui
root@porteus:/mnt/sda5/1_nemesis/porteus/base# xzm2dir 002-gui.xzm 002-gui
Parallel unsquashfs: Using 4 processors
2304 inodes (2652 blocks) to write
[=====================================================================-] 2652/2652 100%
created 1984 files
created 796 directories
created 310 symlinks
created 0 devices
created 0 fifos
root@porteus:/mnt/sda5/1_nemesis/porteus/base#
/mnt/sda5/1_nemesis/porteus/base/002-gui/var/lib/pacman/local/
To rebuild modules:
dir2xzm /path/dir /path/dir.xzm
or look at:
http://www.porteus.org/component/conten ... udies.html
Prendre son temps, profiter de celui qui passe.