Saturday, July 27, 2024

Re: avoid single-user mode boot



On Wed, Jul 24, 2024 at 2:01 PM <04-psyche.totter@icloud.com> wrote:
Hi all,

I have a machine that will be placed in a remote location, and have no physical access to. The connection will be made through ssh only.

I'd like to make it as resilient to failure as possible.

A big concern to me is for a disk failure to happen (say a power outage), and the machine to be rebooted in single user mode. At that point, the machine has no network access, and so I lose contact to it.

Is there any way to disable going to single user mode when fsck is not happy?

Is it reasonable to change the /etc/fstab to modify the fsck flag from 1 and 2 to 0, to bypass the fsck checks ?

Alternatively, is there a way to have ssh access in single user mode?

Thanks!
Jake

Can they give you an extra IP address??
If yes, take a look at this: 


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)

No comments:

Post a Comment