Created
February 2, 2020 21:20
-
-
Save mattwynne/4f6147d88f9f167dfe6cd51b85edf539 to your computer and use it in GitHub Desktop.
Rescure core server if it won't boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From a Live CD / USB | |
sudo apt-get update && sudo apt-get install mdadm && sudo mdadm --assemble --scan | |
mkdir /mnt | |
sudo mount /dev/md2 /mnt | |
sudo mount /dev/md0 /mnt/boot | |
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done | |
sudo chroot /mnt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment