When a (Archlinux) system that has its root on RAID and LVM is misconfigured and does not boot, what steps are needed to recover it?
closed as not a real question by womble♦, John Gardeniers, MadHatter, HopelessN00b, mdpc Nov 13 '12 at 17:56
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
First, get a linux live usb stick, I use the debian one and boot from it.
If your server is under a staircase or some other hard to sit location do the following three steps:
1 Become root, type
2 Add the line
Now I assume you are logged into your machine. Type
To find your raid arrays and mount them perform the following two steps:
Now to mount your LVM partitions do the following steps:
3 For each volume you can now make a directory in
Now we have all filesystems setup, it's time to chroot into our broken system. First change into your root directory like so
Now it's time for the main event, type