Thank you lucasvr providing all of these valuable and precious informations. Still I have a lot of questions but I would like now to share my success to boot GoboLinux with S6init and 66tools thanks to the recipes I have created for this purpose.
This does not mean that the job is done, it is just starting in fact and a lot of things still need to be done, like gobohide integration, environment variable integration into 66 which for the moment still are managed by the original gobo software, and more. At least the system boot and rather quickly and it is something very promising.
So how do you try S6/66 ? Simply follow the process described below.
For now we are starting from a fresh GoboLinux installation in a VMachine. At this point nothing changes. Apply the fixes as described on the Gobo wiki documentation and create a clone on which you will subsequently make the changes.
Clone the 66tools-recipes from my repository for example in /Data/Variable/tmp
git clone https://framagit.org/architekt/66tools-recipes.git
Retrieved the official Gobo recipe tree, copy the content of my repository to the recipe folder
cp -r 66tools-recipes/* /Data/Compile/Recipe
At the moment, we need to manually make some changes to the system.
Edit /System/settings/fstab and comment the lines as shown below.
#proc /proc proc defaults 0 0
#none /sys sysfs defaults 0 0
#none /sys/kernel/config configfs defaults 0 0
#none /dev/pts devpts defaults 0 0
#none /dev/shm tmpfs defaults 0 0
We need to create a sysctl.conf file necessary for the boot
echo "## empty sysctl.conf file" > /System/Settings/sysctl.conf
Now for the build to proceed without a hitch, it’s time to remove sysvinit
We start the compilation
There shouldn’t be any problem during the compilation and you should now be able to run
66-tree -n boot
66-enable -t boot -F boot@system
We can check the services has been well enabled with
That’s it! Well, you will not be able to reboot with the usual commands with this installation method, so logout and force the shutdown of the VMachine.
Boot and enjoy GoboLinux on S6/66
There is an issue which may cause a failure during the boot. I strongly suppose that this could be from the Forced Shutdown. This is not how it should be done at all and I fully assume that. However it could also come from elsewhere.
Obviously the correct solution is to create a LiveCD with built-in S6/66 but right now, I have no idea on how to proceed to accomplish this task. I’m going to study this.
Well, it seems that running the sync command line at the end, before shutting down fix the issue.