There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Any way to make Ubuntu ignore failed drive mount?

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?

twelve12 ,

It’s a config flag in /etc/fstab

pnutzh4x0r ,
@pnutzh4x0r@lemmy.ndlug.org avatar

You can try booting into Rescue Mode (instead of getting into Emergency Mode):

ostechnix.com/how-to-boot-into-rescue-mode-or-eme…

That said, once in Emergency Mode, it may be possible to mount the disk with the root partition and then continue the boot sequence as noted in the article above (simply exit the emergency shell).

Hopefully that will get the machine booted and you can SSH. Otherwise, you can at least examine the machine in Emergency Mode and perhaps change the /etc/fstab file on the root partition to ignore the partitions from the failed hard drive.

EinfachUnersetzlich ,

Try the nofail mount option in fstab.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines