Can systemctl daemon-reload be executed from rescue mode on Debian?
-1
votes
1
answer
264
views
Is there a way to run systemctl daemon-reload in rescue mode. (Debian) If so, how?
I was trying to change the mount point of one of my drives, so I edited my fstab file to the desired location. Then, I tried to run systemctl daemon-reload, but it wouldn't. I cant remember the error it gave me but I figured if I restarted my computer it would fix its self...
BIG PROBLEM
After I restarted, I wasn't able to get past the boot screen. The filesystem check would fail on that drive, so I would be stuck on a repeating screen.
I went into rescue mode to figure out what the problem is, and from what I understand, I simply need to run daemon-reload, but since the only way I can use my system is through rescue mode, I can't run the command.
From my understanding it won't run in rescue mode because 1. I am asking it to restart its self and it can't do that, or 2. systemd is not running in rescue mode.
2 is improbable to me because why wouldn't it be running, but I get the following error that makes me think it isn't running.
> Running in chroot, ignoring command 'daemon-reload'
Then with sudo I get a better
> unable to allocate pty: no such device
I'm assuming the pty does not exist in rescue mode, hence 2.
Is my understanding of the problem accurate? Does anyone have any suggestions on what I can try to make daemon-reload run?
Asked by Alemayhu Semenh
(3 rep)
Mar 9, 2025, 02:59 PM
Last activity: Mar 9, 2025, 10:46 PM
Last activity: Mar 9, 2025, 10:46 PM