Forum › Forums › antiX-development › antiX Respins › How do I create an ISO snapshot for distribution with my setup tweaks?
- This topic has 9 replies, 5 voices, and was last updated Mar 19-7:48 pm by BobC.
-
AuthorPosts
-
March 17, 2020 at 5:39 am #33569Moderator
BobC
I made an ISO-Snapshot for distribution to others and then burned it to a USB with Live-USB-Maker. I have a friend with an old computer that wanted to try it and liked my setup.
There is nothing wrong with what the USB it created, as it boots and all the programs and such are there, including what I added, but I am trying to figure out how do I get it to include all the configuration tweaks that I made instead of looking like standard antiX with my added programs?
I have come to the conclusion that I need to change the base settings on which demo runs in live, and that added users would get when installed or later. Are these all in one area or in various places?
Does anyone have any tips as to the best way to handle this and be able to create it again easily for antiX 19.2 or antiX 20?
March 17, 2020 at 6:19 am #33571Forum Admin
dolphin_oracle
::if you are talking about desktop type settings, you can sync up the configuration files from your user to same location under /etc/skel.
just be aware that if anti pushes any updates to desktop-defaults-*** packages that they might override your changes. On MX its safe to remove the desktop-defaults-mx-xfce-desktop package but I’m not sure what’s germane on antiX.
March 17, 2020 at 6:26 am #33572MemberModdIt
::Hallo BobC, sounds like you want something like we are using. It is still fully AntiX branded as only a customised version for School kids. Is that a respin ?, anyway it works for us thats all we care about.
I create a clean system with all additions and customising then make a personal snapshot with a user account kept.
With my main setup I had no need to edit the excludes list.
To date this has proved an excellent way to keep a working base system and installation has up to now not failed me on other machines. With one notable problem my netbook where in the end I removed the broadcom crap wifi adapter to
get wifi back.With clean system I mean without my personal files in home. I did play with excludes to transfer from an in use system, that worked ok too.
You will have no installer button after remastering, I have never bothered to look why. easy to call installer from console. Just decided to Gimp the install instructions in to the desktop background image, users change that, mine anyway.
March 17, 2020 at 7:26 am #33574Memberolsztyn
::There is nothing wrong with what the USB it created, as it boots and all the programs and such are there, including what I added, but I am trying to figure out how do I get it to include all the configuration tweaks that I made instead of looking like standard antiX with my added programs?
This is something I attempted recently and after lots of testing determined the following:
– Live USB created from ISO snapshot (using LUM) preserves all the custom settings in the resulting Live USB as long as when booting such Live USB you do not specify Home persistence, just leave all as is.
– If during booting such Live USB any Home persistence is specified (such as for the purpose of changing previous custom settings or retaining data) antiX fails with an error on the step to copy existing Home data to newly created homefs.
This was reported in threads:
https://www.antixforum.com/forums/topic/live-usb-maker-error-creating-live-usb/https://www.antixforum.com/forums/topic/iso-snapshot-defect-or-limitation/
I do not know if this bug has been fixed yet as I got around this issue by falling back to the older version of Live USB Maker and to cloning Live USB instead of using ISO snapshot.
- This reply was modified 3 years, 1 month ago by olsztyn.
Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersMarch 17, 2020 at 11:57 am #33576ModeratorBobC
::Thanks all for the replies. I think the best solution for me will be the /etc/skel one. If I can get it to work, I will just need to be careful reimplementing over top of new releases. If that has troubles, I will try Moddit’s solution.
Oldszyn, I would suggest doing a test with a fresh, updated and upgraded system to determine if the problem still exists and go from there. I haven’t been using the persistence much, mostly working from installed systems here.
I might call it more of a “Twin” rather than a “Spin”. It’s kind of like putting stripes and stickers and a loud exhaust on your Corvette. It’s still pretty much a Corvette underneath…
March 18, 2020 at 4:38 pm #33602ModeratorBobC
::if you are talking about desktop type settings, you can sync up the configuration files from your user to same location under /etc/skel.
just be aware that if anti pushes any updates to desktop-defaults-*** packages that they might override your changes. On MX its safe to remove the desktop-defaults-mx-xfce-desktop package but I’m not sure what’s germane on antiX.
I put my .icewm changes in /etc/skel before I made the ISO-Snapshot, and made the snapshot for distribution, and then burned the USB, but when I booted to it and then installed it, all my configuration changes were lost. My programs installed did remain, the setups were lost.
The only thing left that I can think of would be to do all my changes without installing, and then remaster?
March 19, 2020 at 3:38 pm #33617Memberolsztyn
::all my configuration changes were lost. My programs installed did remain, the setups were lost.
Pardon my Linux ignorance or lack of understanding of issue… I thought it is the responsibility of ISO Snapshot utility to faithfully ‘snap’ a fully configured system, for the purpose of restoring it on new hardware. Therefore I would appreciate if someone enlightens me why we need to resort to manual porting /etc/skel if such ‘simple’ task is expected to be fulfilled through ISO Snapshot…
In all my apparent misunderstanding of the goal to be accomplished here I brought up: ISO Snapshot in my testing faithfully restored to new environment both all customized software and custom settings if no home persistence was not requested in the new environment. Preserving custom settings only failed when the new environment was booted with creating new homefs with error on copy step. Custom installed programs were carried over to new environment in either case.
So I would appreciate someone explains why need to resort to customizing /etc/skel if carrying over custom settings is already done in ISO Snapshot…Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersMarch 19, 2020 at 3:46 pm #33618Forum Admin
anticapitalista
::If user chooses Preserving accounts (Personal) all Personal (home) changes are incorporated into the snapshot iso.
If user chooses Distribution, no Personal (home) changes are incorporated into the snapshot iso.- This reply was modified 3 years, 1 month ago by anticapitalista. Reason: typos
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
March 19, 2020 at 4:38 pm #33619Memberolsztyn
::If user chooses Preserving accounts (Personal) all Personal (home) changes are incorporated into the snapshot iso.
If use chooses Distribution, no Personal (home) changes are incorporated into the snapshot iso.Thank you. I thought I understood this distinction and in order to preserve custom settings I used ‘Personal’.
So I think I infer from this discussion that the objective of porting /etc/skel is to carry settings of programs but omit any other personal settings, such as e.g. browser logins…
I may still be misunderstanding the scope but will determine through testing the scope what is exactly meant by carrying ‘personal’ beyond custom settings of programs. Data from Home folders can be deleted after all either beforehand or in the target meant for distribution…
Thanks and Regards…Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersMarch 19, 2020 at 7:48 pm #33628ModeratorBobC
::I was successful with my remastering method, working with the original antiX on an SSD pretending to be a flashdrive using lots of persistence space, updating, upgrading, installing the missing packages and copying in my mods with atpik in /home/demo, and some in /etc/skel, then remastering. I used “personal” and gave it users demo and root with the antiX default passwords for both. That way I can burn it again and bring it up on another machine.
I’m testing, and thus far I found a few bugs, but those are my bugs. Maybe once I get it all tweaked to my satisfaction…
Anyway, thanks for the help.
-
AuthorPosts
- You must be logged in to reply to this topic.