Try the nofail
mount option in fstab
.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
You can try booting into Rescue Mode (instead of getting into Emergency Mode):
https://ostechnix.com/how-to-boot-into-rescue-mode-or-emergency-mode-in-ubuntu-18-04/
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.
It's a config flag in /etc/fstab