NEW RELEASE INCLUDING FirstRibIT fxxxit PLUGFILE SUPPORT
See new release announcement/details here: viewtopic.php?p=125466#p125466
Note that you may need at least a dummy empty plugin to be present during build because I think I made minor error in the detect plugin code logic. Will fix for next release if so.
Pleased to announce the release of "firstribit" the replacement for old weedogit convert most any live distro (and more) to full FirstRIb frugal install format. Big difference between firstribit and weedogit is that you now need to manually download the iso of choice into the installation directory along with the firstribit.sh utility, but a result of that difference is that the utility is much more reliable, half the weedogit code length, more convenient to use and expand to convert other distros, and also to maintain.
This FirstRib utility converts downloaded live isos (such as those for Linux Mint, Zorin, MX Linux, Manjaro, EndeavourOS, Garuda, and even BookwormPup64 and TinyCoreLinux64) into an FR initrd frugal boot distro. Hence the name FirstRibIT. Only these above-mentioned FR-converted distros have been tested as working by myself so no guarantee about any others, but if you find some that have issues please let me know - otherwise they may never be "fixed" since I don't have further time to test more myself. You can generally use any desktop iso version able to be downloaded; for example XFCE or Cinnamon version of Linux Mint, so the new firstribit utility actually caters for far more distros than old weedogit. Note also that the menu choices are not sequential in number, since I removed some older choices during code refactoring since different per-distro desktop variants are catered for more generally now anyway.
Note that the FR_tinycorelinux implementation is a special case and the FR result for that one is just basic, and very experimental, and needs lots more work by some aspiring developer... you can download the current required 64bit iso of tinycorelinux64 from https://ftp.nluug.nl/os/Linux/distr/tin ... urrent.iso
Not only does FirstRibIT allow a frugal install of say Linux Mint, but all the usual FirstRib utilities like save2flash will work and FR version of save2flash/snapmergepuppy is included as an uncompressed 12KL_gtkdialogGTK3filemnt64/ layer addon. Being uncompressed it is easy for users to modify that addon to suit themselves, add new items and so on - that's an advantage of using FirstRib boot methodology, along with its 99 layer sfs and/or uncompressed directory capability.
Of course, there may be several or many teething problems for you to sort out. However, all of the above have been roughly tested as working - takes time for the utility to complete the installation, but all good things take time...
DOWNLOAD and Installation instructions:
1. Make an empty directory for your distro frugal install. For example: mkdir /KL_Mint
2. Fetch the latest version of the firstribit utility by opening a terminal at that directory and entering the command:
Code: Select all
wget -c https://gitlab.com/firstrib/firstrib/-/raw/master/latest/build_system/firstribit-latest.sh -O firstribit.sh && chmod +x firstribit.sh
3. Then simply execute the utility, choose the distro (by entering appropriate menu item number) you wish to convert to a FR frugal install, and follow the simple onscreen instructions provided. That is:
Code: Select all
./firstribit
4. Since the conversion takes a while, go make a coffee, and when the installation is complete take note of the possible (and accurate) grub config stanzas provided. Simply copy the one you wish to use into your grub config (I suggest the last, which uses UUID), and update that if necessary ready to boot. You can later find the same grub config info after installation in file grub_config.txt or, per usual with FirstRib-based distros, can re-generate it by executing script wd_grubconfig
5. Defaults are: User firstrib with password firstrib; and sometimes User root with password root; FR mode wd_changes=RAM2, which means you need to run the terminal command "save2flash" in order to save on demand (persistence) between boots. If you remove wd_changes=RAM2 argument from grub config then direct writes to save persistence will always occur (but most prefer RAM2 mode).
NOTE: at the moment a few distros don't have a sudo user "firstrib" installed (I have to investigate why I didn't do that for some distros in earler weedogit). I believe the command "save2flash" doesn't work with such distros (but haven't checked all the details thus far). However seems that save on demand (w_changes=RAM2 mode) may still work if you instead use command "sudo snapmergepuppy").
For those of you interested in trying to FirstRib BookwormPup, which means no pupmodes but the FirstRib distro likes of w_changes=RAM2 (the default) for save on demand persistence, note that the shutdown procedure currently provided (in uncompressed addon layer 25KL_forkpup_type1) is simplistic and rough (albeit also very accesssible for easy user modification/additions), and some Puppy-related utilities that expect Pupmodes and so on will not work. However, should be possible for you to create code workarounds and polish things up; good fun hobby experiment anyway and, as I said, the FR initrd gives you 99 layers of sfs and/or normal uncompressed directory layers to play with! Currently, the shutdown process for FR_BookwormPup64 is pretty simply and rough (compared to normal BookwormPup); it uses the simple /usr/local/bin/wd_exit script, which you are encouraged to improve...
Also, with FR_Bookwormpup64, in earlier tests:
@rockedge has since made a firstribit build of NoblePup viewtopic.php?p=124685#p124685
and found that the following fixed the above apt problem with that FR'd NoblePup:
Code: Select all
addgroup ssl-cert
Note: The sfs root filesystems extracted from the live isos are often in highly compressed form and thus somewhat slow to boot. Okay for testing, but if you plan to use longer I'd advise converting these sfs files to use much faster decompression algorithm (zstd recommended) or less compression. You can find a utility for doing exactly that in 12KL_gtkdialogGTK3filemnt64/usr/local/bin. It is a FirstRib utility called "wd_sfsconv.sh".
Whilst I didn't actually have time to do this latest firstribit development really, feedback and test reports are nevertheless welcome and greatly effect the likelihood of future development/improvements (todo eventually...).
By the way, for those of you who are familiar with some FirstRib/KL facilities: yes, you can create "multi-instances" of any of the install results and thus, for example, have hundreds or thousands of independent Linux Mint frugal installs for only an additional initial storage space of a thousand or two bytes extra per instance...
An expanded version of firstribit will follow that allows editing of the main root-filesystem, via a simple plugin file saying what to add or remove, followed by its recompression. My main purpose for that planned extra utility is because I want to use that to REMOVE underlying components to hopefully relatively easily create, for example, the plug-file reproducable likes of a Puppy-sized FR_Mint... That, I feel and believe, is the beauty of the simple, modular like-lego, FirstRib/KL distro building methodology. I hope, however, you find this particular firstribit utility interesting and/or useful whether you otherwise use KL/FR distros or not; it illustrates the generic nature of the FR initrd and the "relative" ease of complex distro building provided via the FirstRib approach, invisible though it is to the likes of any Distrowatch-type audience ...
Nevertheless, in my some would say 'biased opinion', KL/FR (with the likes of firstribit, KL_full2frugal, and multi-instance) is running out of space in its single main front page section, which results in sub-section posts quickly disappearing from view, and thus, I believe, limits overall KL/FR participation and usefulness in terms of encouraging new forum membership and development activity, which I feel is what really matters rather than any particular distro or project itself. Anyway, not my call; new "firstribit" sub-section added for now on Puppy Linux forum.
EDIT: I forgot to account for non-iso based distros such as Fedora cmdline. Already fixed in my dev version so will update on gitlab tomorrow. Haven't tried some tricky ones like austrumi or Regatta or 4mLinux or Regatta so do report... since I'm likely needing to fix these ones too. EDIT2: Fedora RAWHIDE cmdline turns out to need bit more work - don't have time right now - maybe next month... many of the rest are fine.
Simple fxxxit plugfile example is attached. This simple plugin example just prints an 'ALL GOOD TO GO!!!' message at the end of the build if (optionally used).