r/linuxfromscratch • • Jan 27 '25

runit LFS?

im wanting to make an LFS system but i dont want either systemd or SysVinit. i would like to use runit. how do i do so? i can get to almost the end of chapter 8 then i have to compile and install sysvinit. i want to use runit so how?

4 Upvotes

6 comments sorted by

View all comments

Show parent comment

3

u/Elyas2 Jan 27 '25

then could i remove sysvinit? or is it still being used. if it is then how can i remove it and make runit the only init on my system?

edit: forgot to say. thanks for the whole tutorial. now just gotta know how to remove sysvinit

3

u/Zeckmathederg Jan 28 '25

This tutorial is most likely AI generated. The poster has went to bat for ChatGPT under an earlier post, subject matter was about texinfo and DejaGNU. ChatGPT can definitely hallucinate so take it with a grain of salt, and you may not end up with a bootable system. There was a hint written up in 2004 for LFS w/ runit: https://linuxfromscratch.org/hints/downloads/files/build-with-runit.txt

Of course, it's over 20 years old by this point but could still potentially be viable.

As for removing sysvinit, that'd probably be recommended. If you do, make sure you remove sysvinit in chroot or remove it once you booted with runit.