I had a hard drive die today. I shut it down and pulled the drive from the computer, but it didn’t boot and I still couldn’t SSH into it to figure out what was wrong. Finally had to setup a monitor and keyboard to figure out Ubuntu was in emergency mode because the mount failed.
Is there a way to have Ubuntu 22.04 ignore this problem and boot? Or is there a way to enable SSH in emergency mode?
Try the
nofail
mount option infstab
.