I have a somewhat complicated setup on my computer (a Chromebook) where in a kernel without an initial RAM disk is used to reboot into another kernel with an initial RAM disk using kexec. I have a systemd unit (?) file that successfully runs /etc/rc.local (as in it will be called), which is what I use to call kexec, but I need it to start after entries in fstab have been mounted. The first-stage kernel runs without any use of the display (I haven't figured out how to get it to do use the display), so I don't know if /etc/rc.local is being called before or after fstab entries have been mounted.
I copied the rc-local.service file from another place and it looks like this:
[Unit] Description=/etc/rc.local Compatibility ConditionPathExists=/etc/rc.local [Service] Type=forking ExecStart=/etc/rc.local TimeoutSec=0 StandardOutput=tty RemainAfterExit=yes SysVStartPriority=99 [Install] WantedBy=multi-user.target I hadn't noticed the SysVStartPriority until now and assume that value it's set to would make it run last, but when I swapped out my kexec kernel for the normal one (which boots straight with a display), I noticed that the logs or the console output said that that parameter was deprecated. So, I need to specify a After= parameter to control when rc.local runs. What is the systemd unit/service name that mounts fstab entries?