wiak wrote: Tue Jan 17, 2023 9:06 amClarity wrote: Tue Jan 17, 2023 7:41 amwiak wrote: Tue Jan 17, 2023 4:54 am... Would be nice to have a simple utility for installing grub2 similarly, something like part of frugalpup that is available in Fossapup (and the newer radky FP)...
Would @shinobar's GRUB2utility be what you'd want? or maybe add GRUB2 utils package.
Yes, I wondered about that one. Answer is I don't know. I have a feeling grub2 is quite large - but maybe that is a special slimmed down version. Grub2 certainly has a lot of capability (including inbuilt scripting/encryption support - hence my believing it may be a large install). Then again if frugalpup can do it, I suppose it isn't as large as I fear. Trouble is I know nothing much about it - I'm at the stage where I can't be bothered learning enough about it to implement any particular tool of my own. There are solutions already available it seems, so I guess I don't have to, but still - how to use with KLV conveniently is the issue.
Well, in an experimental quick test I have managed to successfully boot into a qemu qcow2 image, via grub2, that I had made a frugal install into to directory KLV on that qcow2 image filesystem. I will post how I did it in detail later, once I work that out - this kind of install is more than kind of new to me (though in the past I have used frugalpup to install grub2 to a usb stick, but without trying to understand any of what that actually entails). In this instance I didn't use any such Puppy or Dog-related utility. Instead, I simply installed package grub (being for grub2) on my KLV distro using xbps-install, which was booted via its iso as a guest VM via Qemu on my Zorin lite OS host. I then basically just used the grub-install command to write grub2 to the qcow2 image (device sda) that I had attached/mounted as sda1 to the temporarily booted KLV, which was formatted as a ext4 partition. Then I copied my grub.cfg stanza from elsewhere and configured it to boot from a frugal install I made of KLV-Airedale into a KLV directory on that qcow2 sda1 frugal install. It booted. No special utility required, though such a utility may be slimmer or more convenient - end result seems to be the same though.
Sorry, I'm a bit incoherent at the moment. Tired. Everything working so I suppose I should just now relax...