Noted. Appreciate your help.
I also saw those image names using strings command on that file. I'll be prepared that multiple attempts may be required to get it right.
Any insight on Q2?
Noted. Appreciate your help.
Not fully clear Q2, do you want to change the list of displayed sizes or change the preset default size only,a_freed_man wrote: Thu Mar 03, 2022 11:37 amNoted. Appreciate your help.
I also saw those image names using strings command on that file. I'll be prepared that multiple attempts may be required to get it right.
Any insight on Q2?
Mainly I would like to avoid 1st time users having to answer questions, so no it's not about changing the list of choices but rather setting the size of the root+home fs.fehlix wrote: Thu Mar 03, 2022 12:22 pm Not fully clear Q2, do you want to change the list of displayed sizes or change the preset default size only,
I guess both of those are within the live-scripts somewhere, not sure whether those are config-items.
I'm sure there will be some constrains checked, e.g when available RAM is small it may not allow big rootfs to create,
as dynamic-persist would load to RAM and would fail if rootfs is oversized.
Ah ok, so you want to get it automatically done without asking the user.a_freed_man wrote: Thu Mar 03, 2022 11:02 pmMainly I would like to avoid 1st time users having to answer questions, so no it's not about changing the list of choices but rather setting the size of the root+home fs.fehlix wrote: Thu Mar 03, 2022 12:22 pm Not fully clear Q2, do you want to change the list of displayed sizes or change the preset default size only,
I guess both of those are within the live-scripts somewhere, not sure whether those are config-items.
I'm sure there will be some constrains checked, e.g when available RAM is small it may not allow big rootfs to create,
as dynamic-persist would load to RAM and would fail if rootfs is oversized.
Since I set the default as p_static_root there is no concern for growing fs beyond RAM, well, minimal concern.
People can override the default currently, at least until I understand the boot code well enough to force p_static_root.
Code: Select all
p_static_root persist=auto
Code: Select all
persist=auto,root!,static
Thanks, good to know.a_freed_man wrote: Thu Mar 03, 2022 11:02 pm BTW, I got all 3 of the boot menu backgrounds updated thanks to your help. I used krita to write the files ...
Adjust iso-template before running the snapshot.a_freed_man wrote: Sun Apr 03, 2022 6:40 pm I am booted from a Live USB of dolphin-oracles systemd image, and this image has the customized boot background images I created.
I made some changes to various files in a user's home folder and then took a snapshot. When I use mx-live-usb-maker the image does NOT boot with the customized boot background, so their is apparently more than 1 place those are saved. I'm pretty sure I only put the updated backgrounds in the /lib/iso-template.tar.gz file. I thought that once I created an image that booted with the customized backgrounds they would be propagated to all subsequent images produced from that live image.
Q1 - Since the source live USB has those backgrounds, what must I copy and to where to make them persist for all subsequent images?
The "main" idea of remaster is to squeeze the persistente changes from rootfs and old linuxfs into a new linuxfs ,a_freed_man wrote: Sun Apr 03, 2022 6:40 pm I am still somewhat uncertain of the correct sequence of tools to use to iterate builds. I'm puzzled by the remaster-cc tool, and why it asks to rebuild the rootfs when the tool starts AND when it's finished.
Without rootfs it wont be able to boot persistent. But you get asked, b/c if you really don't want next boota_freed_man wrote: Sun Apr 03, 2022 6:40 pm Q2 - Isn't lunuxfs the read-only squashfs that remaster-cc rebuilds, and rootfs is where changes accumulate? Why then ask to rebuild rootfs on entry, wouldn't that obviate the need to remaster?
I'm not fully understand. I think at start they ask whether you want have changes from /home stored with linuxfs?a_freed_man wrote: Sun Apr 03, 2022 6:40 pm The double ask about rootfs on entry & exit also confuses me, why would one want to keep accumulating changes by NOT rebuilding rootfs after changes in it were added to linuxfs?
Hmme .. ok: The snapshot tool would create a new linuxfs based an the running system. It does not care whethera_freed_man wrote: Sun Apr 03, 2022 6:40 pm ---
This last iteration I did all my tweaking then I used the snapshot tool to produce an ISO which I used as input to live-usb-maker.
Q3 - Is it necessary or would it be better to always run remaster-cc after making any changes, then snapshot, then live-usb-maker? Or, after remaster is there any reason to run snapshot (aside from wanting a single ISO to encapsulate those specific changes) and instead just jump to live-usb-maker and select "clone live running system"?
Yes, I did save the version I updated.
Eliminating questions for less technically saavy users is a great benefit!fehlix wrote: Sun Apr 03, 2022 7:32 pm Now, remaster works also without any rootfs, and only squeezes currently running changes. In most
cases user might want do boot with the same persistence option they used and probably have saved.
So they don't get asked at boot up to create a new rootfs, needed for persistence.
Ok, now I see the logic in that, however I'm not sure I understand it given your reply in previous question about "remaster doesn't need rootfs anymore". That implies only the changes from the current session are remastered, whereas with the rootfs persistence they can accumulate.fehlix wrote: Sun Apr 03, 2022 7:32 pm Without rootfs it wont be able to boot persistent. But you get asked, b/c if you really don't want next boot
with persistent, you don't need a rootfs.
No, the reference to storage in home was separate from rootfs. I was puzzled, store what in /home? I thinkfehlix wrote: Sun Apr 03, 2022 7:32 pm i.e. - The double ask about rootfs on entry & exit...
I'm not fully understand. I think at start they ask whether you want have changes from /home stored with linuxfs?
That's in case you really want to boot from a "fully" personalized ISO/linuxfs, with all changes including home.
I discovered the reason the boot background didn't change was b/c the iso-template used was the one in /boot-dev/linux, not /lib.fehlix wrote: Sun Apr 03, 2022 7:32 pm Hmme .. ok: The snapshot tool would create a new linuxfs based an the running system. It does not care whether
the system is a live system or an installed one. It takes what is visible within the filesystem. On live that's an overlayed filesystem as combination of rootfs over linuxfs + a mounted /homefs (if exists).
So making a remaster before a snapshot, would not change what snapshot tools is seeing to take the snapshot.
Hope having not confused to much...
IF you mean with "startup", after booting the just remastered LiveUSB, than I guess this question about creating a new rootfs relates to the live boot option used. Any root-persistence related boot option would trigger to find rootfs and if not found would ask to create a new "empty" rootfs. After remasterering the old rootfs cannot be used any more for persistence, b/c the content of the old rootfs was already squashed into linuxfs.a_freed_man wrote: Mon Apr 04, 2022 7:47 pm But the "create a new rootfs" is always asked on startup. I thought it may mean, "discard the changes in current rootfs?" !
Poor choice of words on my part. I meant when I start the remaster program. I don't recall precisely when, definitely after authenticating root password, and probably right when I click the remaster button (lower left of group of 4 buttons) and definitely before it starts the remaster process.fehlix wrote: Mon Apr 04, 2022 8:56 pmIF you mean with "startup", after booting the just remastered LiveUSB, than I guess this question about creating a new rootfs relates to the live boot option used. Any root-persistence related boot option would trigger to find rootfs and if not found would ask to create a new "empty" rootfs. After remasterering the old rootfs cannot be used any more for persistence, b/c the content of the old rootfs was already squashed into linuxfs.a_freed_man wrote: Mon Apr 04, 2022 7:47 pm But the "create a new rootfs" is always asked on startup. I thought it may mean, "discard the changes in current rootfs?" !