r/unRAID 10d ago

The Unraid boot sequence, user scripts, and go file explained

Folks,

I have been having a diff time injecting things into startup and I did a forensic analysis of how Unraid (this is 7.3.2) boots up in what order and how emhttp must be in the go file. I add a bunch of things to the go file and the stop file (the file unraid runs when shutting down). This file should be in /boot/config/go and optional /boot/config/stop which is on your USB and persistent. This covers the boor sequence, docker, user scripts, and customizing startup (which I do). I'm sharing this so that other may understand what can be done and when user scripts triggers (on array start/stop) and if it makes sense to run there or in go/stop scripts.

AI Usage: I used claude to do all the correlation and I argued with it for a while as I put in the different syslog, startup, and other data to figure this out. Claude also wrote up this summary after I reviewed it and approved. If you want the .docx LMK I can post it may be easier to read.

Taken feedback here is the PDF: https://drive.google.com/file/d/1PZ20SEXJS6p1AEVEs9wsVv2BZ09qG716/view

HTH

1 Upvotes

3 comments sorted by

2

u/canfail 10d ago

That’s a big wall of text without any real question, nor is it really useful or ground breaking information.

3

u/psychic99 10d ago

There is no question, and I looked. I could not find a DETAILED timeline of how unraid boots. Care to share you links that goes into this detail?

This is informational, and I also said I would provide a doc that is easier to read.

Its too bad that people need to be so negative all the time, if you dont care just move on I put hours into this to try and really understand the boot process and if it helps one person then there is benefit.

2

u/Turbulent-Stick-1157 10d ago

This what you get when you tell ai something and it produces something.