I have this working, but just barely. I personally don't like it nearly as much as busybox, but it is an interesting experiment, and you will probably learn some new things if you try it.
I am not going to write a detailed how-to for this one, mostly because as I said I barely have it working myself, so I have no confidence in my ability to show you how to use it correctly. I will just give you an outline of how you might proceed if you want to try this. This assumes you first have busybox init working, so if you haven't tried that yet, go try it and come back later.
1. Copy your busybox init script (you will be modifying it for sinit)
Code: Select all
# cp /sbin/rc /sbin/sinitrc
3. Copy config.def.h to config.h and modify the file. Make sure the first line of code says
Code: Select all
static char *const rcinitcmd[] = { "/sbin/sinitrc", "init", NULL };
5. Get the "respawn" bash script from here: https://github.com/rebootl/minirc-playg ... in/respawn
6. Put the script in /sbin, or somewhere else in root's PATH
7. Open the modified "sminirc" script from here: https://github.com/rebootl/minirc-playg ... in/sminirc
8. Look at how the respawn function is used. Copy and add at least the first two tty lines to your sinitrc script.
9. Look at how the "poweroff" and "reboot" services are scripted in sminirc. Add these to your sinitrc script if you like them.
10. Either create a new GRUB entry for sinit, and add "init=/usr/local/bin/sinit" to the end of the kernel line, or symlink /usr/local/bin/sinit to /sbin/init.
11. As the exherbo install instructions say "reboot, sacrifice a goat and pray."
I think these are all the steps you will need to get it working as well as I have. You may still have problems, and I may have missed a step or two. Good luck. Please post your results.