Clarity wrote: Sun May 29, 2022 11:51 pm
Comparisons of WeeDog with other subsystems that manage multiple Linux distros: Namely (those used in this forum); Ventoy & SG2D: My Reason is based upon
a the fact that Ventoy/SG2D supports the booting of multiple different distros. WeeDog supports the building of bootable different distros.
Ventoy has utilities AND an ISO to create its bootable. WeeDog has merely a Linux utility
BUT ... WeeDog, like Ventoy, "could" be a single ISO that creates the bootable distro a user selects from its list of distros.
Whilst I agree that weedogit could be provided and autorun via an iso variant (WDL_GO tiny weedog variant comes to mind), there is a fundamental difference with the like of SG2D and Ventoy. These latter two basically simply find and mount the selected iso and via grub2 trickery boot from that. They do not extract anything physically out of the iso so don't need to arrange storage for that.
The weedogit utility, on the otherhand, could also be crafted such that it found isos (or be told where they are), but the process of then creating a WeeDogged distro is basically to extract the main rootfilesystem components, and the kernel out of the iso and storing it in a frugal install configuration. That requires a suitably formatted and mounted partition and space for the extraction and knowledge of where the grub2 config files are. Currently, after running weedogit.sh, it is up to the user to use blkid to manually adjust the weedogit 'suggested' grub.conf, and up to the user to edit that appropriate grub.conf (or grub.d file) to match the particular system arrangement. Yes, weedogit, does in fact run blkid as a help to the user, but makes no attempt to select which partition UUID is the relevant one. So yes, weedogit.sh, at least, could be automated slightly more. Since it is run from the partition the frugal install is created in, it could auto-find the blkid for that partition, 'but' different systems arrange grub2 configuration differently and I think it would be difficult and potentially dangerous to try and get weedogit to do that last stage of configuring an unknown system's grub. Ventoy and SG2D have none of these problems - SG2D uses its own grub2 (though that is one of its limitations actually). WeeDog would almost have to have Artificial Intelligence to replace the current manual actions of the user that are required.
So, yes, a small WDL distro iso could be produced that autostarted weedogit utility, and weedogit utility, but there would be an awful lot of information required thereafter by weedogit utility to know where the frugal install was to be created, and more besides to know where grub.conf (or sometimes grub.d files - an added complication) were situated - and since normal user wouldn't probably know these answers, then weedogit would have to analyse the system and try and work out all such complexities itself. Really that would be asking too much of it, and truly dangerous since it could mess up not only partitions but also grub2 such that system could thereafter fail to boot at all! I don't want to write off the idea, but really weedogit is a frugal install creator that substitutes in the use of WeeDog's special generic initrd to boot that frugal install, it is not an iso booter... that's the difference. The utility itself could certainly be improved but not fully automated, I feel, in the way Ventoy or SG2D are. But fact is, I wouldn't claim weedogit utility is for a new user or even a non-technical user - some level of experience of making frugal installs manually is almost a pre-requisite; weedogit.sh simply removes a lot of the hard work (being really a scripted version of someone like myself doing it manually - in fact that's how the script was written: first I did the steps manually, and then, line by line copied what I did in a script, so simple really and no Artificial Intelligence involved... 