That's exactly what my firstrib00.plug is now doing.wiak wrote:Maybe better would be to simply embed 01firstrib_rootfs inside the initramfs build followed by switch_root to it
Download it (less than 6MB), gzip -d ... decompress it, chmod +x it if necessary; Edit the top section of the file to set your ssid and password and also the password to use for root and user userid's; Then run it with the 'build' parameter
Code: Select all
./firstrib00.plug build
I'm using grub4dos menu.lst entry of
Code: Select all
title VOID4
root (hd0,0)
kernel /VOID4/vmlinuz-5.2.14_1 bootfrom=/ changes=RAM inram_sz=100% copy2ram
initrd /VOID4/initramfs05
If booted from usb, then adding usbwait=12 kernel boot parameter is recommended.
My firstrib plug is all encompassing, all of the scripts build files etc are all contained within itself. Other than needing quite a bit of tidying up that works very well.
Currently the save.sh (and merges.sh) wont work, because it can't store the 02changes.sfs alongside the 01firstrib_rootfs.sfs ... because that's inside the initramfs. Thinking of changing the build scripts so that in addition to bootfrom= another changes= parameter might be included from/to where changes are read/stored. However it would be better if the main (your) scripts were modified to include that rather than having different sets of build scripts. Basically if changes= parameter exists then that device/folder needs to be mounted/accessible and NNxxx.sfs's located there also being layered/loaded in addition to any NNxxx.sfs's in bootfrom= folder location. Or perhaps union joining changes= folder with bootfrom= folder ??